Architectures and Technologies that Support Deno

Learn about the architecture of Deno and the underlying technologies that support it.

Architecture-wise, Deno considered various topics, such as security. Deno put much thought into establishing a clean and performant way of communicating with the underlying OS without leaking details to the JavaScript side. To enable that, Deno uses message passing to communicate from inside the V8 to the Deno backend. The backend is the component written in Rust that interacts with the event loop and, therefore, with the OS.

Deno has been made possible by four pieces of technology:

  • V8
  • TypeScript
  • Tokio (event loop)
  • Rust

The connection of all four parts makes it possible to provide developers with a great experience and development speed while keeping the code safe and sandboxed. Let’s briefly go over these technologies.

V8

V8 is a JavaScript engine developed by Google. It’s written in C++ and runs across all major operating systems. It’s also the engine behind Chrome, Node.js, and others.

Press + to interact

TypeScript

TypeScript is a superset of JavaScript developed by Microsoft that adds optional static typing to the language and transpilesA transpiler is a source-to-source compiler. It translates the code from one language to another, and the abstraction remains the same. ...

Get hands-on with 1400+ tech skills courses.