french english

RSS 1.0 
 
 Login 
 Password 
 Créer un compte 
 
22-09-09 / 00:23 : Apple : article sur les Blocks de Grand Central (cjed)
Apple propose un article à propos de la programmation à base de Blocks de Grand Central Dispatch :

Block objects (informally, “blocks”) are an extension to C, as well as Objective-C and C++, that make it easy for programmers to define self-contained units of work. Blocks are similar to — but far more powerful than — traditional function pointers. The key differences are:
- Blocks can be defined inline, as “anonymous functions.”
- Blocks capture read-only copies of local variables, similar to “closures” in other languages
This is kind of functionality is common in dynamically-typed interpreted languages, but has never before been widely available to C programmers.


Les dispatch queues et dispatch semaphores sont abordés.
Commentaires
Poster un commentaire 
  
    
  image de securisation du formulaire


  
      (sera ajouté après validation)