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

Views :
Update time : 2025-06-21 20:35:11

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 从零写一个3D物理引擎难度多大?
2025-06-19 19:25:11
从零写一个3D物理引擎难度多大?...
Blog Post With Youtube Video 黑客为什么可以做到无需知道源码的情况下找出系统漏洞?
2025-06-19 18:30:11
黑客为什么可以做到无需知道源码的情况下找出系统漏洞?...
Blog Post With Youtube Video 有没有免费的云服务器?
2025-06-19 18:15:11
有没有免费的云服务器?...
Blog Post With Youtube Video 谷歌云服务宕机导致 OpenAI、Shopify 等服务中断,此次宕机的具体技术原因是什么?
2025-06-19 18:40:10
谷歌云服务宕机导致 OpenAI、Shopify 等服务中断,此次宕机的具体技术原因是什么?...

Leave Your Message