- Best practices for initializing objects? - Nim forum
An aspect of Nim that’s giving me trouble is ensuring that objects get initialized properly I’ve gotten used to constructors in C++ Swift TypeScript, which enforce that any instance of object type T has been properly initialized Whereas in Nim, as in Go and Objective-C, objects get initialized as all zeros nil and initialization is by convention, using procs like init (var T) I’m
- Nim forum
Forum użytkowników języka programowania Nim, miejsce do zadawania pytań, dzielenia się wiedzą i dyskusji na temat Nim
- Nim forum
Nim forum Nim forum
- Is Nim Dead? - Nim forum
Nim is dead Long live Nim Thank you for making this thread This reply is my punishment for taking the bait and clicking on it
- Announce: LimDB, a fast, persistent table with LMDB under the hood
Hello everyone, I would like to announce LimDB, a table-like interface to LMDB that allows you to persist data to disk using memory-mapped files and full database semantics uniquely easily It is based on the really great nim-lmdb wrapper Thanks, Federico! And of course, Howard, Andreas and contributors It works like so: # save nim import limdb let db = initDatabase("myDirectory") db["foo
|