TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

5 pointsby andeee23over 4 years ago

1 comment

andeee23over 4 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.<p>C felt too cumbersome and I personally don&#x27;t like C++, so that&#x27;s where napi-nim came in, since I wanted to use Nim.<p>The native purge-css extension is still in early stages, but napi-nim is already quite usable.