logoalt Hacker News

pikeryesterday at 9:57 PM1 replyview on HN

Yes, one argument that I didn't make in the post but that does favor immediate mode is that you can somewhat straightforwardly convert from an immediate mode GUI to retained mode by just introducing your own abstractions. In some sense this makes you more disciplined about the FPS which could be a net win over all.

[Note that Tritium at least is translated into a number of a different languages. That part isn't that hard.]


Replies

socalgal2today at 2:16 AM

hard is this: https://faultlore.com/blah/text-hates-you/

and this: https://lord.io/text-editing-hates-you-too/

those are both things most ImGUIs ignore. And, even if you pick some library that somehow handles the first you're left with all of the issue mentioned above.

To be clear, if I was writing a devtool (and I am actually) i'd reach for an ImGUI (and I did). But I'd be unlikely to use one for user facing tool.