据说Rust和WASM可以让J***ascript变得更强,有值得推荐的项目吗?

Views :
Update time : 2025-06-22 13:55:14

Cloudflare 开源的 html-rewriter,用 Rust WASM 流式解析 HTML 并处理,提供 J***aScript wr***er。

***s://github***/cloudflare/html-rewriter-wasm 性能有多好呢,我自己实测下来,Digital Ocean 1c0.5g 的垃圾配置,处理下面这个链接,修改所有的 a 标签链接从相对路径到绝对路径,jsdom 只有个位数的 qps,html-rewriter 可以达到 200+。

***s://developers.cloudflare***/workers/runtime-apis/html-rewriter/。

据说Rust和WASM可以让J***ascript变得更强,有值得推荐的项目吗?
Related News
Read More >>
Blog Post With Youtube Video 为什么LibreOffice的Windows版在国内火不起来?
2025-06-25 05:45:10
为什么LibreOffice的Windows版在国内火不起来?...
Blog Post With Youtube Video 为什么总有人要说"再见,docker!",那玩nas的为什么还离不开docker,比如绿联,飞牛?
2025-06-25 05:50:09
为什么总有人要说"再见,docker!",那玩nas的为什么还离不开docker,比如绿联,飞牛?...
Blog Post With Youtube Video 为什么 macOS 上国产软件不流氓?
2025-06-25 04:50:09
为什么 macOS 上国产软件不流氓?...
Blog Post With Youtube Video 怎么看待B站舞蹈区和某些风格比较暴露的up?
2025-06-25 05:40:09
怎么看待B站舞蹈区和某些风格比较暴露的up?...

Leave Your Message