Better HN
topnewbestaskshowjobs
Log inSign up

gfasdgsfd

15 karma · joined Dec 29, 2014 (11y ago) · 7 submissions

Submissions

comment 11y ago · link · parent

> And no, the standard library does not rely on GC like in D.

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

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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

comment 11y ago · link · parent

Most discussions about major things occur in IRC in #nim on freenode.

comment 11y ago · link · parent

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...

comment 11y ago · link · parent

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.