On 24/12/2017 1:25 AM, Stijn wrote:
On Sunday, 24 December 2017 at 01:21:53 UTC, rikki cattermole wrote:
On 24/12/2017 1:20 AM, Stijn wrote:
[...]
new uses GC.
It has nothing to do with structs.
Oh I see, simply removing 'new' solves the problem. I've a C#
background, so I hadn't thought of doing that. Thanks!
Yeah new = memory allocation.
Although maybe you ought to start out with regular D.
-betterC is really there for those who want D but can't have druntime.
They should already know D pretty well.