News for hackers. Stuff that matters.
Re:Lite: A lightweight text editor written in Lua by auraham on Tuesday October 11, 2022 @11:38PM (#33172506)
I would like to know more details about how the UI is build. So far I have found this [1]. A tutorial-like post will be welcome, though.

[1] https://rxi.github.io/lite_an_implementation_overview.html

Re:Lite: A lightweight text editor written in Lua by aethy on Tuesday October 11, 2022 @11:46PM (#33172571)
The UI is done using an immediate rendering model.

It is entirely composed of two rendering operations, drawing solid color rects, or rendering text from a true type font.

You can read a bit about the underlying technology here: https://rxi.github.io/cached_software_rendering.html

It's quite brilliant.