4,406 karma · joined Nov 11, 2015 (11y ago) · 1,267 submissions
comment 16h ago · link · parent
Do the same demo with proper font atlases and proper blending and you won't be seeing that same level of performance.
comment 2d ago · link · parent
comment 2d ago · link · parent
All that to say, your example of blitting a single color is very, very far away from the practical reality of rendering a GUI.
comment 2d ago · link · parent
Shader compilation basically doesn't matter. The number of shaders needed for a GUI toolkit is tiny, and none are particularly complex. In my experience it doesn't appreciably add to the startup time.
I do agree there should still be CPU rendering for when the GPU doesn't work. It's a particularly useful feature for old or virtualised hardware.
comment 3d ago · link · parent
Apps can ship engines that can run arbitrary code, it just needs to be so slow that it can't compete with WebKit.
comment 1w ago · link · parent
The hot patching is unusable. It takes 11s to compile the patch after a simple change: (Some("hi") -> None), and then relax gets a compiler error when refreshing the page.
The project where it miscompiles only has a few very basic dependencies; a clean compile takes 1.3s, incremental just 0.25s and tests take ~0.1s. Relax takes a whole 1.4s to run the tests (unsuccessfully).
comment 2w ago · link · parent
This just isn't true? Every desktop application I use uses a retained mode UI and most of them resize smoothly. Most of the ones that don't are electron.
I genuinely don't understand how you can make this claim right after agreeing with me that the only difference is the caching. You can't seriously be claiming that by just adding a layout cache you lose 30x performance?
comment 2w ago · link · parent
There's all sorts of caching you can do with immediate mode; like you said, caching the layout in a large list. The end result is the same as retained mode, with all the same complexities. Might as well skip reinventing the thing.
> try updating the entire list...
If you're comparing like-for-like, whether you're doing layout for the entire UI in immediate mode or retained mode shouldn't make a big difference. You're doing the same calculations after all.
> but i can make strong claims about the benefits of not needing to duplicate your state inside of your ui framework
I've found it's often not necessary to duplicate state in the UI framework; you can frequently make UI controls the owner of the state.
comment 2w ago · link · parent
comment 3w ago · link · parent
comment 4w ago · link · parent
If everyone followed this model instead of open source, then Corridor Key itself would have to cover dozens of software licenses for all it's dependencies.
comment 1mo ago · link · parent
comment 1mo ago · link · parent
Additionally Shadow Warrior used some newer rendering techniques, so it's possible they don't scale well to higher resolutions.
Sources: * https://framebuffer.io/project/quake * https://browser.geekbench.com/geekbench2/327940 * https://browser.geekbench.com/geekbench2/529270
comment 1mo ago · link · parent
Lets make a real comparison: The NEDC combined rating for the 2025 e-POWER is 5.4l/100km (FWD). The 2018 diesel version you linked uses 5.6l/100km, and the petrol 2018 version uses 6.2l/100km.
For a truly fair comparison you could have looked at the non-e-power versions from 2025, which come in at 7.4l/100km.
comment 2mo ago · link · parent
Unfortunately tracking individual plugin memory usage is not possible without invasive (and slow) tracing. If the plugins are causing big memory usage in the main process it can be hard to nail down due to that state being shared between all plugins.
comment 2mo ago · link · parent
Do you have a specific memory issue where it keeps using more over time?