|
|
|
|
|
by Isomorpheus
2192 days ago
|
|
Thanks for the honest reply. Nim interests me but this nil business seems questionable to me. Just found this comment from the language creator, https://github.com/nim-lang/Nim/issues/6638#issuecomment-487... "We need the nil state to disarm pointers but that only means these can be nil and so would require a nil check before deref. Doesn't seem to be too hard nor too cumbersome." Seems a bit dismissive to me |
|
The new battleplan is to integrate the Z3 theorem prover into Nim as DrNim:
- https://nim-lang.org/docs/drnim.html
The first use-case will be proving array bounds at compile-time and elide them. Future use-cases include not nil tracking.