TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

5 点作者 andeee23超过 4 年前

1 comment

andeee23超过 4 年前
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.