News for hackers. Stuff that matters.
Re:Moxie: Incremental Declarative UI in Rust by hellofunk on Monday December 02, 2019 @04:13PM (#21687011)
The rendering is on the GPU but the description of the UI is created and executed on the CPU, and then the results are sent to the GPU, is that right? In other words, it works a little like a video game.
Re:Moxie: Incremental Declarative UI in Rust by FraKtus on Monday December 02, 2019 @05:14PM (#21687629)
Yes, you describe your UI from the CPU code and it gets accumulated into a draw list. Differents backends (OpenGL, Direct X, Metal ...) sends them to the GPU for display. It's close to what a game is doing.