top | item 25832268

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

5 points| andeee23 | 5 years ago |github.com

1 comment

order

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