> eg: so the following will allocate 10 times (in D: 0 times):

Put it in a `main` proc. Allocates 0 times then. ;-)

> in my idea of an ideal string type, null termination would only occur for 
> string literals (not on slices). I'll write more on this later, it requires a 
> full design writeup to make sure there are no holes.

The null termination is useful for every path related proc as paths will be 
passed to the OS. Yes, Nim is not D. We make our own mistakes here, we don't 
copy D's.

Reply via email to