Settings

Theme

Show HN: Speed up Node.js with Nim native extensions

github.com

5 points by andeee23 5 years ago · 1 comment

Reader

andeee23OP 5 years ago

Made this to scratch my own itch. I had a giant web project on which purgecss would take 10 minutes to remove all unused css. I thought rewriting the main functionality in a multi-threaded native extension would make it much faster.

C felt too cumbersome and I personally don't like C++, so that's where napi-nim came in, since I wanted to use Nim.

The native purge-css extension is still in early stages, but napi-nim is already quite usable.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection