Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

Changes between Version 1 and Version 2 of RuntimeInterface

Show
Ignore:
Author:
ChristianK (IP: 85.178.151.175)
Timestamp:
10/26/08 18:48:28 (16 years ago)
Comment:

add note about _d_newclass

Legend:

Unmodified
Added
Removed
Modified
  • RuntimeInterface

    v1 v2  
    22Any D implementation has a rather large runtime implementation, the one in LDC is mostly based on DMD, but with some portability changes. 
    33 
     4== Functions for arrays == 
    45Of particular interest is some of the functions handling arrays. They take and return '''void[]''' types, but the length on the array is not in bytes, but number of elements. 
    56 
    1314 * _adSort 
    1415 
    15 TODO 
     16== _d_newclass == 
     17Use _d_allocclass instead. It does not initialize the memory to ClassInfo.init. LDC tries to put initializations inline whereever possible to give LLVM better optimization opportunities. 
    1618 
Copyright © 2008, LDC Development Team.