Second State
  • What is Second State?
  • Server-side WebAssembly
    • Why?
      • WebAssembly vs native code
    • Getting started
      • VS Codespaces
      • The ssvmup tool
    • Rust functions in Node.js
    • Access system resources
      • WASI
      • The storage interface
      • The inference interface
    • Examples and use cases
      • Encryption and decryption
      • Machine learning
      • Artificial intelligence
    • SSVM Performance
  • Function as a Service
    • Getting started
      • Context
      • Send result to another service
    • Input and output
      • JSON argument
      • Binary argument
      • Multiple arguments
      • Argument from a URL
      • JSON return value
      • Binary return value
      • Redirect return value
    • Stateful execution
  • Related technologies
    • Deno, Rust and WebAssembly
    • A Rusty hello world
    • Rust and WebAssembly
    • WebAssembly in the browser
    • Access JavaScript from Rust
    • How to Learn Rust Without Installing Any Software
    • How to Publish a no-code website in 10 minutes
Powered by GitBook
On this page

Was this helpful?

  1. Related technologies

Deno, Rust and WebAssembly

How to extend Deno with Rust and WebAssembly functions

PreviousStateful executionNextA Rusty hello world

Last updated 4 years ago

Was this helpful?

This page is outdated. Please visit here to

is a JavaScript / Typescript runtime written in Rust. It is based on Google V8 engine (same as Node.js) and created by -- the creator and original developer of Node.js.

Q: Is Deno going to replace Node.js?

A: It could. If it does, it will be one of the coming-to-age events for the Rust language for server-side applications. The same way Twitter made the Ruby language a legitimate choice for web apps almost 15 years ago.

Q: One of the great selling point of Deno is that it is written in Rust. Can I use Rust to enhance and extend Deno for my apps?

A: Yes. You can.

👉

👉 (similar to Node.js NAPI)

Q: Are server-side WebAssembly runtimes, such as the , going to be available for Deno?

A: Yes, we are working on it!

Q: Can you run Deno in a serverless environment?

A: Yes.

  • AWS Lambda:

  • Azure Function:

Q: Is there a Deno-based serverless environment to run high performance Rust functions as services?

A: We are working on that!

how to extend Deno with Rust and WebAssembly functions.
Deno
Ryan Dahl
Use WebAssembly to run Rust functions in Deno
Use the Deno feat native extension
Second State VM
https://github.com/hayd/deno-lambda/tree/master/example
https://deno.land/x/azure_functions/