Automatic Reference Counting
http://dbpedia.org/resource/Automatic_Reference_Counting an entity of type: Software
En Objective-C y programación Swift, Contabilidad de Referencia Automática (ARC por sus siglos en inglés) es una mejora de manejo de memoria donde la carga de mantener el conteo de referencia de un objeto es transferido del programador al compilador. En Objective-C tradicional, el programador enviaría retain y release a los objetos para retenerlos o liberarlos de la memoria respectivamente, esto también es conocido como deallocación. Debajo de ARC, el compilador hace esto automáticamente mediante examen del código fuente y añade los mensajes de retain y release en el código compilado.
rdf:langString
Automatic Reference Counting (ARC) is a memory management feature of the Clang compiler providing automatic reference counting for the Objective-C and Swift programming languages. At compile time, it inserts into the object code messages retain and release which increase and decrease the reference count at run time, marking for deallocation those objects when the number of references to them reaches zero.
rdf:langString
Nella programmazione Objective-C, Automatic Reference Counting (ARC) è un miglioramento del sistema di gestione della memoria, dove il problema di tenere traccia del reference count di un oggetto viene spostato dal programmatore al compilatore. Nella programmazione Objective-C tradizionale, il programmatore avrebbe dovuto mandare dei messaggi di retain e release agli oggetti per deallocare o prevenire la deallocazione. Con ARC, il compilatore lo fa automaticamente esaminando il codice sorgente e aggiungendo i messaggi di retain e release nel codice compilato.
rdf:langString
rdf:langString
Contabilidad de referencia automática
rdf:langString
Automatic Reference Counting
rdf:langString
Automatic Reference Counting
xsd:integer
36246458
xsd:integer
1120212726
rdf:langString
Note
rdf:langString
Automatic Reference Counting (ARC) is a memory management feature of the Clang compiler providing automatic reference counting for the Objective-C and Swift programming languages. At compile time, it inserts into the object code messages retain and release which increase and decrease the reference count at run time, marking for deallocation those objects when the number of references to them reaches zero. ARC differs from tracing garbage collection in that there is no background process that deallocates the objects asynchronously at runtime. Unlike tracing garbage collection, ARC does not handle reference cycles automatically. This means that as long as there are "strong" references to an object, it will not be deallocated. Strong cross-references can accordingly create deadlocks and memory leaks. It is up to the developer to break cycles by using weak references. Apple Inc. deploys ARC in their operating systems, such as macOS (OS X) and iOS. Limited support (ARCLite) has been available since Mac OS X Snow Leopard and iOS 4, with complete support following in Mac OS X Lion and iOS 5. Garbage collection was declared deprecated in OS X Mountain Lion, in favor of ARC, and removed from the Objective-C runtime library in macOS Sierra.
rdf:langString
En Objective-C y programación Swift, Contabilidad de Referencia Automática (ARC por sus siglos en inglés) es una mejora de manejo de memoria donde la carga de mantener el conteo de referencia de un objeto es transferido del programador al compilador. En Objective-C tradicional, el programador enviaría retain y release a los objetos para retenerlos o liberarlos de la memoria respectivamente, esto también es conocido como deallocación. Debajo de ARC, el compilador hace esto automáticamente mediante examen del código fuente y añade los mensajes de retain y release en el código compilado.
rdf:langString
Nella programmazione Objective-C, Automatic Reference Counting (ARC) è un miglioramento del sistema di gestione della memoria, dove il problema di tenere traccia del reference count di un oggetto viene spostato dal programmatore al compilatore. Nella programmazione Objective-C tradizionale, il programmatore avrebbe dovuto mandare dei messaggi di retain e release agli oggetti per deallocare o prevenire la deallocazione. Con ARC, il compilatore lo fa automaticamente esaminando il codice sorgente e aggiungendo i messaggi di retain e release nel codice compilato. ARC non è uguale al garbage collector, visto che non ci sono thread in background che agiscono per deallocare gli oggetti che non sono più puntati in altre parti del codice. Al contrario del garbage collector, ARC non gestisce automaticamente reference counting i riferimenti nei clicli; è compito del programmatore fermare i cicli utilizzando weak references ARC è stato introdotto da Apple Inc. nel 2011 per lo sviluppo di applicazioni su OS X Lion e iOS 5. David Chisnall ainformIT ha detto di vedere ARC come "the first significant improvement to Objective-C since the 1980s" (il primo miglioramento significativo per l'Objective-C dagli anni '80). ARC è supportato in Xcode 4.2 o superiori, OS X Snow Leopard o superiori, e iOS 4.0 o superiori, anche se da OS X Lion e iOS 5 viene raccomandato di utilizzarlo, weak references inclusi.
xsd:nonNegativeInteger
14119