Description

manual memory management for the D programming language

Package Information

Version0.0.7 (2015-Apr-08)
Homepagehttps://github.com/Dgame/m3
Repositoryhttps://github.com/Dgame/m3
Licensezlib
AuthorsRandy Schütt
Registered byRandy Schütt
Dependenciesnone

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

m3

###manual memory management for the D programming language

m3 is an attempt to use the most important parts of the language without a GC

Currently you can

  • use a shared and a unique pointer which manage the lifetimes
  • use a dynamic array (similar to D's builtin dynamic arrays or std::vector from C++)
  • use a double linked list
  • use a stack
  • use a HashMap (similar to D's builtin associative arrays or std::map from C++)
  • allocate arrays
  • append existing arrays
  • allocate and assign structs and basic types
  • allocate classes on stack and heap
  • convert basic types from and to strings
  • format strings
  • read from files and write to files
  • convert your data to UTF16 and UTF32

Available versions

0.0.7 0.0.6 0.0.5 0.0.4 0.0.3 0.0.2 0.0.1 ~master