Want to read a whole file as utf-8
"Nordlöw" via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Feb 3 12:46:30 PST 2015
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 @nogc
>
> I'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.
More information about the Digitalmars-d-learn
mailing list