HNHacker News
TopNewBestAskShowJobs

gfasdgsfd

15 karma · joined December 29, 2014

submissionscomments
gfasdgsfd··on Author of “Unix in Rust” Abandons Rust in Favour of Nim
> And no, the standard library does not rely on GC like in D.

This isn't correct, it relies heavily on GC.

gfasdgsfd··on Author of “Unix in Rust” Abandons Rust in Favour of Nim
You're right, a more hands-on approach is needed. We've discussed it a bit, and no opposition has been raised to using +q more often.
gfasdgsfd··on A Quick Comparison of Nim vs. Rust
I'd guess that pulling that try-catch out of the loop would make things go much faster. Nim doesn't use 0-overhead exceptions, so setjmp needs to be called each time the try-catch is entered.

You should also use the re module, PEGs is not nearly as optimized as PCRE.

gfasdgsfd··on What is special about Nim?
I'm personally not too happy about this, but there are restrictions on the use of underscores:

- You cannot have two underscores in a row

- You cannot have a leading underscore

gfasdgsfd··on Nim (formerly Nimrod) 0.10.2 released
Most discussions about major things occur in IRC in #nim on freenode.
gfasdgsfd··on Nim (formerly Nimrod) 0.10.2 released
It looks like mingw provides a non-installer version of the binaries, although it is (unintentionally) well hidden in the web. http://sourceforge.net/projects/mingw-w64/files/Toolchains%2...
gfasdgsfd··on Nim (formerly Nimrod) 0.10.2 released
I'd like to clarify that http://nimbuild.nim-lang.org/tut1.html is for the devel branch. You probably want to use http://nim-lang.org/tut1.html if you're going to use the newly released version.