5 ms·
https://news.ycombinator.com/item?id=9640384 https://news.ycombinator.com/item?id=9640384
by cb321 6y ago
https://news.ycombinator.com/item?id=9640384 https://news.ycombinator.com/item?id=9640384
- cb321 6y agoAlso INim at the Nim-2020 conference for a REPL: https://www.youtube.com/watch?v=Qa_9vut4TzQ&list=PLxLdEZg8DRwTIEzUpfaIcBqhsj09mLWHx&index=4 https://www.youtube.com/watch?v=Qa_9vut4TzQ&list=PLxLdEZg8DR... In short, I think at least for the linked to table you mentioned, Nim does check all the boxes.
- samuell 6y agoThanks! This is interesting, although I'd be worried about how stable this is for the long term. Would be happy to have my worries annihilated of course :)
- cb321 6y agoIt depends how good/low level a programmer you are, but it's really not that hard to spin up your own impl. I did an (incomplete) Python multiprocessing like dealio in like 100 lines of code (https://github.com/c-blake/cligen/blob/master/cligen/procpool.nim https://github.com/c-blake/cligen/blob/master/cligen/procpoo...) just to make my `only.nim` run faster because libmagic/file are so CPU intensive. So, one way to annihilate your worries is to just roll your own.