On Wednesday, 7 August 2013 at 15:21:56 UTC, Gary Willoughby wrote:
What's the D way of allocating memory? Do you guys just use malloc() and free()? Or are there functions in phobos that should be used? I just need a buffer of variable length allocating every now and then.

Want it to be managed by GC: use `new`
Want to do manual management: use `malloc`

Reply via email to