Andreas Rumpf
Andreas Rumpf
I agree the code generator is all to happy to copy stack objects around but at what point are you gonna accept that `array[131072, int]` would be fine with a...
The "Check for dangerous locations" is required by polymorphic accessors which Nim 2.0 does not have. But it's a good idea to add them too so that Nim 2.0 can...
Still an issue.
The stdlib should use more zeroDefault then, why would it need yet another trait.
Huh? But you can then use this to loophole gc safety...
Loophole: ```nim var myglobal = new(int) proc access(): ptr ref int = addr myglobal proc use() {.thread.} = var a = access() a[] = new(int) # uses unprotected RC ops,...
So what is it that you suggest? Is it based on the expression structure or based on the involved types? If it's about the types then this tends to be...
> Is it necessary to revert everything back? IMHO, yes, as now the diff contains many random changes and worse, the original formatting seems better too.
Atlas uses this approach successfully (and it doesn't offer a fallback at all). It's reasonably easy to make it sound, document the available defines and the fact that you have...
The Python script doesn't look like it's doing anything that Nim couldn't do just as easily.