# Deno, Rust and WebAssembly

## This page is outdated. Please visit here to [how to extend Deno with Rust and WebAssembly functions.](https://www.secondstate.io/articles/deno-rust-and-webassembly/)

[Deno](https://deno.land/) is a JavaScript / Typescript runtime written in Rust. It is based on Google V8 engine (same as Node.js) and created by [Ryan Dahl](https://en.wikipedia.org/wiki/Ryan_Dahl) -- the creator and original developer of Node.js.

**Q: Is Deno going to replace Node.js?**&#x20;

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. &#x20;

**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?**&#x20;

A: Yes. You can.

👉 [Use WebAssembly to run Rust functions in Deno](https://dev.to/lampewebdev/writing-webassembly-in-rust-and-runing-it-in-deno-144j)

👉 [Use the Deno feat native extension](https://github.com/denoland/deno/pull/3372) (similar to Node.js NAPI)

**Q: Are server-side WebAssembly runtimes, such as the** [**Second State VM**](https://cloud.secondstate.io/server-side-webassembly/getting-started)**, 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: <https://github.com/hayd/deno-lambda/tree/master/example>
* Azure Function: <https://deno.land/x/azure_functions/>

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

A: We are working on that!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cloud.secondstate.io/related-technologies/deno-rust-and-webassembly.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
