Thursday, July 9, 2020
Show HN: SSVM – Speed up your Node.js apps with Rust and WebAssembly https://ift.tt/3gEU4Iu
Show HN: SSVM – Speed up your Node.js apps with Rust and WebAssembly Raw performance (the lack of) is always a contentious point for JavaScript, especially in our post-Moore era of computing. Node.js gets around this issue through extensive of use of native libraries and modules written in C, including the V8 JS engine itself. But as application developers, how do YOU create high performance functions? Write in C and run as a NAPI module? Write in Rust and run as a V8 wasm? Well, there is another (better and faster) way now! The SSVM is a fully featured WebAssembly VM that is optimized for server-side applications. https://ift.tt/38HMOsM You can write functions in Rust, compile to WebAssembly and run in SSVM, and access it as if they are JS functions in Node.js. Easy as pie. Give it a try (https://ift.tt/2O9fxgu)! By rewriting computationally intensive functions from JavaScript to Rust, developers could achieve 10x to 100x times performance (https://ift.tt/2BJxdwM) gain in terms of startup and/or execution speed. BTW, Why not just use v8? For starters, SSVM runs much faster than V8 (https://ift.tt/2W1Knfm) and it also supports more server-friendly extensions than just WASI. Any issued and feedback are welcome. Checkout the GitHub link: https://ift.tt/2Z8BBOK July 9, 2020 at 06:18PM
Subscribe to:
Post Comments (Atom)
Show HN: Rewriting Scratch 3.0 from scratch in Lua (browser-free native runtime) https://ift.tt/5Af6h7W
Show HN: Rewriting Scratch 3.0 from scratch in Lua (browser-free native runtime) Built a native Scratch 3.0 runtime in Lua that runs .sb3 pr...
-
Show HN: An AI logo generator that can also generate SVG logos Hey everyone, I've spent the past 2 weeks building an AI logo generator, ...
-
Show HN: I Made an AI Social Media Manager to Automate Content Creation Hey HN, I am a Solopreneur, and I love building apps to automate bor...
-
RoboPianist, a piano playing robot simulation in the browser https://ift.tt/zywcBo6 March 30, 2023 at 10:52PM
No comments:
Post a Comment