Just random exploration of what looks like a great language that fits the niche for compiled utilities nicely where Go is too big and Rust is too annoying.
@@encapsulatio the same way you would with python. Nim syntax is pretty much the same as Py, both are dynamically & strongly typed. The only issue from my Experience is that Nim is still lacks a lot since it's new.
About the discussion at 21:50, there's actually a rust compiler written in C++ specifically to fix this problem (mrustc). By re-compiling the rust compiler using it you can check that rustc doesn't have any "trusting trust" attacks in it. Assuming, of course, that your C++ compiler isn't intentionally miscompiling mrustc ;). Thanks for posting this stream! Nim is really exciting, and its ARC/ORC system is really cool.
One thing people get ALL THE TIME not about whitespace significant languages: They are not Python. Python does whitespace significance DIFFERENTLY than FSharp, Haskell and Elm. Python is the by far most .... tricky about this. Nim is much more forgiving, meaning its not as .. picky about your indentation.
The C code generated is not easily tweaked and then loses the synchronicity with the Nim source. The way to do it is to write some units in C and others in Nim.