by pornel · 4y ago · 0 comments
It an entirely custom toolkit, so don't expect it to have a native look and feel, but it's a GPU-first design with multiple back-ends. It can be used in native OpenGL apps too. It's an immediate-mode UI, so it's very easy to build and update even complex windows. Great choice if you want to prototype a game.
While few people (like myself) do this directly, lots of people use it indirectly through extensions like Adblock, Stylus, etc.
For example, I find the fonts hard to read due to the colour choices; then I zoom in and it's better, but now this "Widget gallery" no longer fits on my screen and there is no scrollbar.
Basically 10 years wasting time to come full circle.
https://leaningtech.com/cheerpj
https://leaningtech.com/cheerpx-for-flash/
All of the three major ones are now back, but it is ok, WASM is great!
It's just a choice this framework made. I bet there are actually some real advantages to it, but also disadvantages. I very very much like the customizability of the web, so I'd be very surprised if the advantages would outweigh the problems.
In short, I don't think it's really the same as Flash.
For now. Flash was also fine in the early days.
I suspect that if Amazon have considered this, they certainly didn't see it as a disadvantage!
This is the context. They use egui to display debugger information - performance does not matter for the debugger information.
Major pita is keyboard handling when selecting, cutting, pasting text in edit controls and markup editor
There's demo apps that you can just grab and edit to your liking, and the docs explain what you need to build the WASM app and run it.
In any case, the fashion (for the last ~10 years) is to consider immediate mode the modern approach, and retained mode an awkward practice of the 90s. So you can call "immediate mode" a lot, but you can't call it "outdated" when most consider it the new black...
And they inspired plenty of GUIs outside the web to go "immediate" mode themselves.