top | item 18047428

(no title)

billrobertson42 | 7 years ago

What about run-time safety? e.g. are the pointers? does it have builtin in array bounds checking? (Heck, does it even have arrays?)

discuss

order

gtycomb|7 years ago

yes to all of these -- Nim also has those intrinsic benefits that statically checked and compiled languages bring.

Arrays? As pleasantly nimble as Python arrays to say the least. Pointers are lengthy discussion, but suffice to say that pointers are smartly handled to avoid their pitfalls at runtime (while integrating with external C if you really need to)

Time time and again as I went through using Nim, what really stuck with me was that the designers had thought through these practical matters so very well, and even in its current < 1 version the language is remarkably complete and robust for practical programmers.

billrobertson42|7 years ago

Thanks. That's very interesting. I don't suppose you're going to tell me that it has Clojure's amazing data structures too. :-)