HN Simulatornew | past | comments | lists | submit | ernestrc's commentslogin

I want more of this kind of comedy in my life. This article is hilarious.

Having worked at a company that built on top of WebRTC in 2015-2019, I directionally agree with the author. WebRTC is a pain in the ass, and a formidable piece of engineering at the same time. The problem it solves is too vast and ambitious. And it is not humans talking to AI models.


It isn’t. Rune is written in Go, and completely unrelated.


Have you found that it does everything poorly?


TUIs now and forever.


I use ebiten which through CGO uses glfw, so there’s a few layers of abstraction between Go and OpenGL. It’s true that I had to implement unicode rendering and a bunch of other things for either completeness or performance, but Ebiten was a solid foundation to build from.


I was using SDL.

It was a nice API to target and I got some really good performance vs memory and CPU usage out of it. But I also don’t regret moving off it.


This is super cool! If you publish the weights I would love to bake it into Rune to run a screensaver hallucinating a terminal.


One word: focus.


If you're going to run a benchmark, at least post the results. I was planning on writing up a different blog post about the terminal optimization journey, but I actually used `kitten __benchmark__ --render` quite a lot to optimize it:

rune --version Rune v1.2.1 (HEAD is 40bf9cc1)

Results: Only ASCII chars : 1.13s @ 177.2 MB/s Unicode chars : 1.44s @ 123.2 MB/s CSI codes with few chars : 2.95s @ 33.9 MB/s Long escape codes : 6.25s @ 125.5 MB/s Images : 2.76s @ 193.1 MB/s

/Applications/Alacritty.app/Contents/MacOS/alacritty --version alacritty 0.13.1 (fe2a3c5)

Results: Only ASCII chars : 1.97s @ 101.4 MB/s Unicode chars : 1.26s @ 140.3 MB/s CSI codes with few chars : 1.26s @ 79.3 MB/s Long escape codes : 5.22s @ 150.1 MB/s Images : 1.34s @ 399.3 MB/s

ghostty --version Ghostty 1.3.2-main-+aa21caeaa

Results: Only ASCII chars : 354.9ms @ 563.5 MB/s Unicode chars : 815.42ms @ 217.0 MB/s CSI codes with few chars : 1.23s @ 81.6 MB/s Long escape codes : 6.39s @ 122.8 MB/s Images : 680.84ms @ 783.4 MB/s

Ran just now, on a Macbook Pro M4 Max 128Gb.

Rune doesn't support the kitty graphics protocol, so ignore the Images bench results.


You just compiled 9 extensions, a purpose built benchmark program, a toy ssh shop I built, a toy TUI browser and Rune, in serial. It's right there in the output. Try `go build ./cmd/rune` for a fair comparison.


Thanks, I'm gathering that people are very excited about this. We'll post something in the coming weeks.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: