Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Changes between Version 1 and Version 2 of StdLib2/Intro

Show
Ignore:
Author:
JarrettBillingsley (IP: 67.171.66.50)
Timestamp:
06/11/09 15:10:36 (15 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • StdLib2/Intro

    v1 v2  
    22 
    33The MiniD standard library is meant to be a set of functionality that will be useful to most or all programs written in MiniD.  Some of the standard library is essential for using some of MiniD's features.  The [wiki:StdLib2/BaseLib base library] (and its sub-modules, the [wiki:StdLib2/ModuleLib modules library] and the [wiki:StdLib2/ThreadLib thread library]) is guaranteed to always exist and provides access to some features of the language that would not be otherwise accessible.  In addition, arrays, tables, and namespaces have '''`opApply`''' defined for them by their respective libraries (the [wiki:StdLib2/ArrayLib array] and [wiki:StdLib2/HashLib hash] libraries) so that you can use `foreach` loops on them. 
    4  
    5 {{{ 
    6 #!html 
    7 <div style="border: grey 2px dashed; background: #DDFFDD; padding-left: 10px;"> 
    8 <h2 style="padding-left: 20px">Changes from MiniD 1</h2> 
    9 }}} 
    10 Some of the functionality in the base library has been moved into the module and thread libraries.  They are still guaranteed to be loaded, however. 
    11  
    12 The table library has become the hash library and its scope has been extended to include namespaces.  Some functions that used to be in the base library have migrated into here instead. 
    13  
    14 The IO library has been separated into an "unsafe" portion (that which deals with the file system) and a "safe" portion (the stream classes themselves).  The unsafe functionality remains in "io", and the safe functionality has been moved into "stream". 
    15  
    16 Similarly, the safe time-related functionality that used to be in the OS library has been moved into the safe "time" library. 
    17 {{{ 
    18 #!html 
    19 </div> 
    20 }}}