Like @aphistic, I am also trying to use Rust through wasm-bindgen. Currently, I build with an automated script that run wasm-packet -t nodejs
and then use sed
to replace the Buffer
-dependent methods with their counterparts when targeting browser
. This works, and if anyone wants this solution just message me and I'll publish it, but I would love to have the performance benefits of Buffer
.
Athestus
@Athestus
1
Posts
681
Profile views
0
Followers
0
Following
Posts made by Athestus
-
RE: Allow access to node's Buffer class