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

Views :
Update time : 2025-06-22 08:15: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 为什么一部分 Go 布道师的博客不更新了?
2025-06-18 12:00:13
为什么一部分 Go 布道师的博客不更新了?...
Blog Post With Youtube Video 什么是去了江西才知道的?
2025-06-18 11:05:14
什么是去了江西才知道的?...
Blog Post With Youtube Video 夸克网盘有可能超越百度网盘吗?
2025-06-18 11:10:13
夸克网盘有可能超越百度网盘吗?...
Blog Post With Youtube Video 你的低成本爱好是什么?
2025-06-18 11:35:14
你的低成本爱好是什么?...

Leave Your Message