• News:
    • From 0.17
      • binary modules at last supports UNIONs in objects
      • TDEF feature is now supported


  • Warning:
    Reading binary modules is about 2-10 times faster then ascii modules, but it may cause some problems, so if some appear, use only ascii modules. Is probably, that I will rewrite module format in future (to be much faster), so don't delete your old ascii modules (better: backup them :).

  • Compiling:
    If You define OPT MODULE in a #?.d file, it will be compiled as a module into #?.b file. Second (better) way is to compile #?.m file (don't forget the '.m' extension). It does the same. Eg.:
      1.> dc mymod.m
    

    this will compile file called mymod.m to mymod.b as a binary module.

  • Limitations:
    Binary modules can currently contain only:
    MODULE definitions,
    CONSTants,
    OBJECT definitions,
    #define definitions,
    EDEF definitions,
    LINK OPTions and
    HEAD OPTion

    This means that no code is allowed in binary modules. One of the reasons was that D will be hardware independent, so use ascii modules, which can contain everything.

  • Binary module format:
    See: Binary module format description.