On Thursday, 7 December 2017 at 21:38:57 UTC, Daniel Kozak wrote:
Yes using FILE* directly could be the way. But using file.rawRead is still possible. But it is better to use static array with length one.

This can reflect absence of middle level resources like basic optimization techniques for D - it's too complex for tour and too obvious for experts. For interoperability with FILE* one must be really familiar with slices: remember in C arrays just work. And when one hears about memory allocation optimization in D one thinks about ranges, which is a bit involved already.

Reply via email to