Skip to main content

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 05:48PM

Comments

Popular posts from this blog

Show HN: AI Generated Short Video https://ift.tt/3iS1sRE

Show HN: AI Generated Short Video Hey everyone, I have always wanted to content. I enjoy creating videos and watching other's creations! Being a programmer, I decided to create an AI pipeline which can create textual scripts and churn out thousands of videos / blogs on a daily basis given any topic. This is my first video and I would appreciate any comments and suggestions regarding it but I am particularly interested in hearing about tips and tricks / content format which can be followed to make the such video more fun and intuitive to watch. Also looking for advice if this can be monetised maybe saas or ads or something completely different. I would also want to know if anyone of you would be interested in such an AI tool. The Video: https://www.youtube.com/watch?v=1J_DOIPGKsw Specifically, what I wanted to ask: What are the specific things you liked and what you didn't. Would there have been a better format for me to have made this video to deliver the message more effective