Deno 1.9 previews native HTTP/2 server
Upgrade to secure JavaScript/TypeScript runtime incorporates fast Rust-based HTTP implementation and faster binding infrastructure.
The latest version of the Deno JavaScript/TypeScript runtime features native HTTP/2 web server capabilities.
Deno 1.9 was introduced April 13. For this release, the developers enlisted hyper, a fast HTTP implementation based on the Rust language, to build a new native HTTP/2 server API in Deno. The prior TypeScript-based HTTP server, std/http, offered good tail latency despite using a scripted HTTP server, but it was HTTP 1.1-only, with no easy path toward HTTP 2, according to Deno 1.9 release notes.
The Deno developers say the new binding has improved hello-world throughput by 48 percent when compared to the std/http HTTP server. They hope to stabilise the API soon; for now, it is offered under an