‘Secure by default’ runtime for JavaScript and Typescript runtime reaches important milestone Credit: TotoKita / Getty Deno, a JavaScript/TypeScript runtime promising stronger security and a superior developer experience to Node.js, reached its 1.0 release status on May 13, 2020. Created by Ryan Dahl, who also created Node.js, Deno was designed to address a number of Node’s shortcomings, particularly security. (Deno is an anagram of Node.) The project became public about two years ago. Unlike Node, Deno does not use the NPM package manager; instead, it loads modules by referencing URLs or file paths. The philosophy behind Deno is to serve as a productive, secure scripting environment for the modern programmer. It can be a replacement for utility scripts that may have been written in Python or Bash. Instructions for installing Deno can be found at deno.land. Highlights of Deno include: Deno is runtime for executing JavaScript and TypeScript outside the browser in a single executable (denocode). Deno is secure by default, with no file, network, or environment access unless explicitly enabled. Deno dies on uncaught errors. All async actions in Deno return a promise. Deno scripts can be bundled into a single JavaScript file. Deno has a built-in dependency inspector (deno infocode) and a code formatter. Deno provides a set of audited standard modules. Deno was designed as a series of Rust crates to allow integration at different layers. In explaining the reasons for Deno, Dahl and co-contributors Bartuk Iwanczuk and Bert Belder wrote in a blog post that while JavaScript is the natural choice for dynamic language tooling, Node was designed in 2009 when JavaScript was a much different language. As a result, building applications on Node can be an arduous endeavor. “We feel that the landscape of JavaScript and the surrounding software infrastructure has changed enough that it was worthwhile to simplify,” the Deno creators wrote. “We seek a fun and productive scripting environment that can be used for a wide range of tasks.” Related content feature 14 great preprocessors for developers who love to code Sometimes it seems like the rules of programming are designed to make coding a chore. Here are 14 ways preprocessors can help make software development fun again. By Peter Wayner Nov 18, 2024 10 mins Development Tools Software Development feature Designing the APIs that accidentally power businesses Well-designed APIs, even those often-neglected internal APIs, make developers more productive and businesses more agile. By Jean Yang Nov 18, 2024 6 mins APIs Software Development news Spin 3.0 supports polyglot development using Wasm components Fermyon’s open source framework for building server-side WebAssembly apps allows developers to compose apps from components created with different languages. By Paul Krill Nov 18, 2024 2 mins Microservices Serverless Computing Development Libraries and Frameworks news Go language evolving for future hardware, AI workloads The Go team is working to adapt Go to large multicore systems, the latest hardware instructions, and the needs of developers of large-scale AI systems. By Paul Krill Nov 15, 2024 3 mins Google Go Generative AI Programming Languages Resources Videos