Deno vs Node.js

Deno is a new runtime for Javascript and Typescript created with the aid of Ryan Dahl – the original creator of Node.Js

Nikhil M

1 min read

From the archive: this article was published in May 2020 and is kept for reference. Tools, versions and figures may have changed since.

What is Deno

Deno is a secure Typescript runtime built on V8, the Google runtime engine for JavaScript.

It was built with:

  • Rust (Deno’s core was written in Rust, Node’s in C++)
  • Tokio (the event loop written in Rust)
  • TypeScript
  • V8 (Google’s JavaScript runtime used in Chrome and Node, among others)

Feature Highlights

  • Secure by default. No file, network, or environment access (unless explicitly enabled).
  • Supports TypeScript out of the box.
  • Ships a single executable (deno).
  • Has built-in utilities like a dependency inspector (deno info) and a code formatter (deno fmt).
  • Has a set of reviewed (audited) standard modules that are guaranteed to work with Deno.
  • Scripts can be bundled into a single javascript file.

Continue reading

This article originally appeared on lightrains.com

Leave a comment

To make a comment, please send an e-mail using the button below. Your e-mail address won't be shared and will be deleted from our records after the comment is published. If you don't want your real name to be credited alongside your comment, please specify the name you would like to use. If you would like your name to link to a specific URL, please share that as well. Thank you.

Comment via email

Share this article

Topic

More on Product Engineering

Building and shipping web products: React, Next.js, Node.js, APIs, performance and deployment.

Written by

Nikhil M

Managing Director

Entrepreneur / Privacy Freak / Humanist / Blockchain / AI / Digital Security / Online Privacy

Keep reading

Ready to build your next AI product?

Get a free consultation and project quote for AI, software or product development, tailored to your goals.

  • No-obligation consultation
  • Clear scope and timeline
  • Transparent pricing
Get your free project quote