This Website is Served from Nine Neovim Buffers on My Old ThinkPad

126 points by gnyeki


glacambre

I did the exact same thing for firenvim, writing the bare minimum a websocket server needs in order for a webextension to connect to it.

It’s funny, 15 years ago I’d probably have dismissed the ability of implementing an HTTP server directly inside of a text editor as useless bloat and nowadays I can’t do without.

hoistbypetard

That is gloriously cursed. Thank you for putting that together and sharing it!

abbe

Pretty cool, reminds me of elnode :)

olliej

This is why god has abandoned us :O :D

strugee

The aiohttp app preloaded content into memory, but AFAIUI the Nginx benchmark didn’t? Couldn’t this be another possible reason for the performance difference?

You could probably avoid mucking around with Nginx configs pretty easily by just putting the files on a tmpfs. You’d still pay Linux kernel VFS overhead but… that seems fine for the vibe of this benchmark? :D

Riolku

Why does the whole article compare against aiohttp? Is nginx not largely C?