-
The Storage Interface in SSVM
The SSVM storage interface provides a Rust API that allows programs to persist arbitrary data into a key value store. The data store is configured and started by the SSVM and hence is transparent to the Rust application. Rust developers can view this as an abstract storage space for application data. The storage interface provides much higher performance and data throughput than using WASI calls to access database on the file system or via network.…
-
🔐 Encryption and decryption
One of the frequently performed computing tasks is public key encryption and decryption. Rust and C++ code vastly outperforms JavaScript code in these tasks. In this tutorial, let's use pure Rust implementation of the RSA algorithm as an example to show how to perform public key encryption and decryption in a Node.js web service. In the getting started with Rust functions in Node.js, we showed you how to compile high performance Rust functions into WebAssembly, and call them from Node.…
RustWebAssemblyNode.jshow-touse-casecryptographyrust-function-in-nodejs
-
🚀 Getting started with Rust functions in Node.js
There are great use cases for WebAssembly on the server-side, especially for AI, blockchain, and big data applications. In this tutorial, I will show you how to incorporate WebAssembly functions, written in Rust, into Node.js applications on the server. This approach combines Rust's performance, WebAssembly's security and portability, and JavaScript's ease-of-use. A typical application works like this. The host application is a Node.js web application written in JavaScript. It makes WebAssembly function calls.…
RustWebAssemblyNode.jsgetting-startedrust-function-in-nodejs
-
🛠 Set up Rust & WebAssembly in Node.js
There are great use cases for WebAssembly on the server-side, especially for AI, blockchain, and big data applications. You can write functions in Rust, compile into WebAssembly, and call the managed code in Node.js applications on the server. This approach combines Rust's performance, WebAssembly's security and portability, and JavaScript's ease-of-use. Docker setup The easiest way to set up your dev environment is to use Docker. First, clone the starter template project.…
RustWebAssemblyNode.jsgetting-startedrust-function-in-nodejs
-
🤖 Image recognition in Node.js
Deep learning is one of the most important advances in computer science in the last decade. Using trained deep neural networks, artificial intelligence (AI) inference algorithms can perform a variety of very useful tasks, such as image, speech, and facial recognition, natural language processing, image and video search, at unprecedented accuracy. While inference can be done on the edge device, such as mobile phones or IoT sensors, it is suggested that cloud-based inference is much faster and energy efficient in our always-connected world.…
RustWebAssemblyNode.jsTensorflowhow-touse-caseai-as-a-serviceimage-recognitionrust-function-in-nodejs
-
WebAssembly vs native code
WebAssembly aims to drastically improve your application performance, safety, and developer productivity. It replaces native code with a managed container and finely grained security model. Why do we program in native code in 2020? In the past several years, CPU speed has pretty much stopped improving. At the same time, AI, big data, and blockchain have all create huge demands for more computing power. So far, the solution has been more and more native code in our software.…
WebAssemblyquestion-answerserverlessfunction-as-a-serviceai-as-a-service
-
开发者活动:用 Rust 写 Serverless 函数
了解如何在 Rust 中创建用于媒体处理、机器学习和 AI 的高性能 serverless 函数。完成这个挑战,即可获得丰厚奖品!终极大奖 最新款的 Mac mini 等你来拿。 #1 用 Rust 写一个 serverless function 首…
WebAssemblyRustFaaSServerlessserverlessfunction-as-a-serviceai-as-a-service
-
🚀 WebAssembly is the perfect runtime for server-side (or serverless) applications
In a recent paper on Science, MIT professor Leiserson et al. noted that, as Moore's Law stalled, “practically all industries will face challenges to their productivity”. But, while semiconductor miniaturization hits the quantum limit, the good news is that “there’s plenty of room at the top”. The drivers for growth will be from more efficient software, new algorithms, and specialized hardware. The paper demonstrated that machine learning tasks can run 60,000x times faster when we replace Python with native code and specialized hardware.…
WebAssemblyquestion-answerserverlessfunction-as-a-serviceai-as-a-service
-
How to Learn Rust Without Installing Any Software
In this article, we'll learn how to use GitHub Actions to learn Rust from your web browser. We'll code, build, test, run, and release all from a web page. No software needed! Learn with GitHub. Rust is one of the hottest programming languages today. Alpha geeks love it. It is Stackoverflow's most beloved programming language for the past 4 years in a row. One of the most unique and beloved features of Rust is its aggressive compiler that helps you ensure correctness and safety before the program even runs.…
-
How to Publish a No-code Website in 10 minutes
In this article, I'll introduce a no-code, no-software and no-cost solution to publishing sophisticated web sites managed by non-technical people. The full codebase is on GitHub here. Sir Issac Newton discovered the law of gravity when practicing “social distancing” during the Plague. What will YOU do? One silver lining of quarantine is that all this free time brings out the entrepreneur spirit and creativity in us. However, especially because of the quarantine, now more than ever, any new idea or project must have a web site.…