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

Views :
Update time : 2025-06-22 09:10:16

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 如何看待rust编写的zed编辑器?
2025-06-25 15:20:17
如何看待rust编写的zed编辑器?...
Blog Post With Youtube Video 程序员为什么讨厌PHP编程语言?
2025-06-25 14:30:18
程序员为什么讨厌PHP编程语言?...
Blog Post With Youtube Video 你卡过最厉害的bug是什么?
2025-06-25 15:35:18
你卡过最厉害的bug是什么?...
Blog Post With Youtube Video 有一个乌克兰的朋友问我,中国人凭什么能享受和平,我该怎么说?
2025-06-25 13:55:18
有一个乌克兰的朋友问我,中国人凭什么能享受和平,我该怎么说?...

Leave Your Message