Paul Krill
Editor at Large

Will JavaScript containers overtake Linux containers?

news
May 5, 20222 mins

Node.js and Deno creator Ryan Dahl believes the majority of web services might be simplified by using JavaScript containers, rather than Linux containers.

runner hurdle jumping racing challenge challenges for 2020 by paul bradbury getty 130409478
Credit: Paul Bradbury / Getty Images

Developers of the Deno JavaScript and TypeScript runtime are exploring the possibility of JavaScript containers—and the JavaScript sandbox itself—as a higher-level alternative to Linux containers.

In a blog post this week, Ryan Dahl, who spearheaded development of both the Deno and Node.js JavaScript runtimes, cited JavaScript as the “universal scripting language.”

JavaScript’s universality is prompting the emergence of a new container-like abstraction, he said. Linux containers are not going way, but thinking in terms of JavaScript containers could simplify many web services. Dahl also noted that Docker popularized the use of Linux containers, with operating system-level virtualization for distributing server software. Each container image is a dependency-free, ready-to-run software package. But browser JavaScript offers a similar hermetic environment at a higher level of abstraction, he said. 

Dahl said he expects JavaScript container technology to unfold over the next couple of years. Deno is exploring the idea, notably in its Deno Deploy product, and currently hiring engineers to pursue it.

Scripting languages can help solve many server problems and allow business logic to be written cheaper and faster, said Dahl. Not only is JavaScript the most future-proof of scripting languages, but the JavaScript sandbox is emerging as a higher-level container for server software. Unlike Linux containers, the JavaScript sandbox could invoke the WebAssembly binary instruction format.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author