Re:Go channels, goroutines and GC available in Nim
by pcwalton on Monday June 01, 2015 @10:41PM
(#9643517)
It is undefined behavior in Nim due to compiling to C. https://news.ycombinator.com/item?id=9050999
[ Parent
| on HN ]
Re:Go channels, goroutines and GC available in Nim
by Pharohbot on Tuesday June 02, 2015 @06:34AM
(#9644970)
As stated before in this thread, there _will_ be nil Checks in the future which will result in NilErrors or you can just annotate it with `not nil` right now and it will never be nil. You can also use -fsanitize flags with the clang backend to trap the null dereferences.