On Tuesday, 3 February 2015 at 18:53:28 UTC, Foo wrote:
How can I do that without any GC allocation? Nothing in std.file seems to be marked with @nogcI'm asking since it seems very complicated to do that with C++, maybe D is a better choice, then we would probably move our whole project from C++ to D.
My module https://github.com/nordlow/justd/blob/master/mmfile_ex.d together with https://github.com/nordlow/justd/blob/master/bylines.d is about as low-level as you can get in D.