Get the latest tech news

Deno Under TinyKVM in Varnish


Previously, I said that TinyKVM runs regular Linux ELFs and I use this to test my programs on the terminal like a regular program before I load them in Varnish.

One of the TinyKVM example programs embeds a GBC emulator I wrote in 2017, which is presented as a webpage lightly strewn with some inline CSS wizardry by my friend Kyle. Ideally such UI code would be run with per-request isolation to avoid the possibility of leaking data between requests — all too easy if a variable declaration is placed at the wrong level — but current options are prohibitively slow. The current proof of concept implementation achieves per-request isolation with ~0.4ms of additional latency when rendering a complex page with React taken from a real site.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of varnish

varnish

Photo of TinyKVM

TinyKVM

Related news:

News photo

TinyKVM: Fast sandbox that runs on top of Varnish

News photo

Game of the Week: Taking the varnish off Mario