Ratzilla
orhun.dev
orhun.dev
This is a demo that was just showcased live by the author as part of their talk at FOSDEM'25: https://fosdem.org/2025/schedule/event/fosdem-2025-5496-brin...
The talk was centered on Ratatui (a TUI library in Rust, https://ratatui.rs/) now targeting terminals and web browsers with a shared approach. Video recording of the talk should appear online soon.
How is this still so hard? Tk basically had this figured out 25 years ago.
(Still looks kind of cool though)
Ratatui's creator had an excellent talk about this at FOSEM which basically was structured into these two chapters.
https://fosdem.org/2025/schedule/event/fosdem-2025-5496-brin...
I'm planning to focus more on responsiveness and adding more web-only widgets for the next releases. Of course there are a lot of other things to fix & improve :)
Let me know if you have any specific feedback or ideas!
Anyway, HN fulfills that need. HN is widely-read that it's likely SOMEONE knows what the hell something is, and if often willing to give a summary. So if you're befuddled, just read the comments.
There are more suggestions that make sense but I haven’t tried that include using multiple threads, calling setInterval/setTimeout in a separate thread for CPU work from the rAF() call (which is GPU and should not update if there is nothing to update) but this wasn’t immediately helpful to me so I went with the elapsed time test and explicit frameRate. There are some potential sync issues over time but they are discussed in the SO thread and additionally on the mozilla developer site, where they also discuss syncing to an audio clock at 60 Hz.