Definition of

Trash

Waste

Garbage is waste or waste.

Garbage is that which causes dirt . The concept came to our language from the Vulgar Latin versūra (an idea linked to the act of sweeping ), in turn derived from the Latin word verrĕre.

For example: "Stop collecting trash and start cleaning this pigsty!" , "This type of productive activity generates a lot of garbage," "The ideal would be for this work not to cause garbage, but that is impossible."

Different meanings of garbage

The notion also refers to waste and residue : "Please go and take out the garbage, which the collector will pass in a few minutes," "I have already cleaned my room: I have filled three garbage bags," "It is important to know how to Garbage can be recycled to give it a new use .

The place where these items are thrown is even called garbage: «Horror in Villa San Carlos: they found a dead baby in the trash» , «Last night I threw a bunch of old documents in the trash» , «Go see if, by mistake, "You put the photo in the trash bin."

Dump

The final disposal of garbage represents an environmental challenge.

symbolic use of the notion

Garbage, on the other hand, has several symbolic uses. This is how you say to someone or something that provokes contempt or that causes disgust : "You're rubbish!" You can't do this to me" , "This movie is rubbish, I don't understand how it won so many awards" , "I'm not going to make deals with Roberto: that man is rubbish who scammed my father" .

When the term accompanies a noun , it becomes an adjective that indicates its little or no quality or importance : "The company offered me a rubbish contract but I had to accept it since I need the money," "The only thing I received today is mail." trash" .

Garbage collector in computing

In the field of programming, we speak of a garbage collector to refer to a mechanism that is part of memory management . It is implemented in certain languages, both interpreted and semi-interpreted, and one of its purposes is to speed up access to main memory.

Broadly speaking, we can say that the garbage collector is responsible for compacting the memory that is being used at a given time, moving all objects to the beginning of it to avoid having unused spaces between them. In this way, it ensures that the entire available area is on one side, facilitating its use.

This concept was created in 1958 by John McCarthy , a prominent computer scientist who made great contributions to the field of artificial intelligence. His work focused on the language family called Lisp , in whose development he also participated, for which he wanted to avoid memory management having to be done manually.

The concept of memory may seem too abstract for many people, but it is something basic for the execution of any program, as much as a table on which we rest our notebooks and books when doing research work. The operating system must make a certain amount of memory available to the program, so that it can manage it with the aim of:

  • Reserve spaces to store different types of data.
  • Free up those spaces that are no longer necessary.
  • Compact the memory so that the free spaces are grouped together, as explained above.
  • Keep track of the use of each space.

Normally, programmers have different functions to tell the program to perform these tasks at specific times during their execution . Needless to say, the result they obtain in each case depends on both the quality of said code and the use they give it.