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
Show HN: Infstream – We’re trying to fix video monetization for creators TL;DR: https://ift.tt/2VFChrA Hi HN – we’re Ben & Callum from Infstream. We’ve always been heavy users of YouTube, for entertainment, education and sharing. Towards the end of last year, we saw more and more horror stories of YouTubers losing their livelihood to the ad algorithm. We decided to build a content-first video platform, which aims to reduce issues by removing advertisers from the equation. Instead, we charge for the content you watch – bold, I know. Instead of paying in advertising and data, users on Infstream build their own streaming package, a channel at a time. Anyone can start a channel (US & UK now, Europe soon) and earn directly from their subscribers. Subscribers pay $1 per month per channel, of which the channel receives $0.75. This all begins from the first subscriber, there are no minimums to start monetization. Channels have total control, and can publish on a daily, weekly or monthl...
Comments
Post a Comment