Second State VM - High performance secure & portable Rust functions in Node.js

SSVM is a high-performance WebAssembly runtime for server-side apps. It is safer and 10x faster than Docker. It supports OS access (WASI), AOT compiler, stateful apps, seamless integration with Node.js, and access to hardware (AI chips).

Add a comment

Replies

Best
Howdy! The Second State VM (SSVM) is WebAssembly optimized for the server-side! Why? That is because we want to create faster and lighter software, while preserving memory safety, security, and code portability. The SSVM is an application-level runtime (as opposed to Docker, which is at the OS level). It integrates into existing platforms, such as Node.js, as a lightweight module. Create a Rust function and run it inside Node.js, and you will get a Raspberry Pi kit for free. :) Let me know your thoughts!
This looks great 👍
Cool performance gain. Will try this out.
Why wasm on the server?
20 years ago server apps were written in C/C++. Then we have managed runtimes from Perl to Java to Ruby to JS/Node. But the downside of "heavy" runtimes is that they are slow -- that is problematic as hardware has largely stopped improving. WebAssembly is fast, lightweight, but also provides memory safety and code portability. So, here we are! Try it.
This is interesting.
WebAssembly on the server? Hmm that’s sound intriguing.
Yes! 20 years ago server apps were written in C/C++. Then we have managed runtimes from Perl to Java to Ruby to JS/Node. But the downside of "heavy" runtimes is that they are slow -- that is problematic as hardware has largely stopped improving. WebAssembly is fast, lightweight, but also provides memory safety and code portability. So, here we are! Try it.
Is this WebAssembly VM similar time the Java VM or the Docker VM?
It is similar to Java VM in the sense that you compile applications to bytecode that runs in the VM -- there is no bloated operating system for each application. However, unlike Java VM, it has no GC and supports multiple languages. In that sense, it is a "native" runtime like Docker.
Everyone is talking about Rust these days! I will try this on my next backend project.
This is very interesting. Could a decentralized web services be built on top of your containers? This assumes compute is coming from inside data centers and on the edge...
I thought WebAssembly is for browsers. But this is cool.
Yeah, Java and JavaScript also started as VMs inside browsers. There is a well establish path for technologies to migrate from front end to back end. :)
12
Next
Last