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

Views :
Update time : 2025-06-22 11:55:17

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 你为什么从腾讯离职?
2025-06-22 17:45:16
你为什么从腾讯离职?...
Blog Post With Youtube Video vscode 是盈利的吗?微软为什么要持续投入开发***?
2025-06-22 17:15:18
vscode 是盈利的吗?微软为什么要持续投入开发***?...
Blog Post With Youtube Video 在mac OS上,到底是safari好用还是edge好用?
2025-06-22 17:40:16
在mac OS上,到底是safari好用还是edge好用?...
Blog Post With Youtube Video Visual Studio Code 可以翻盘成功主要是因为什么?
2025-06-22 17:30:15
Visual Studio Code 可以翻盘成功主要是因为什么?...

Leave Your Message