Re: ChatGPT & Euphoria
- Posted by petelomax 1 week ago
- 320 views
Having a GUI made in and for Euphoria would probably be a better option.
I don't think that is practical. Way slow, for one thing.
Erm, unless you are talking about the sort of complex 2D/3D drawing on a single canvas you'd typically find in a game, that's simply not so. Over the past year or so I've taken it on myself to (successfully) implement scrollbars, buttons, [graphs, same code as of old,] lists, tables, tabs, textfields, and trees in pure hll Phix code, all on top of a plain canvas which (often) draws things pixel-by-pixel (esp on WinAPI, since the now-ancient GDI is rubbish at anti-aliasing), and pretty much the very last thing you'd notice is performance issues. While not exactly trivial, the code has (so far) turned out far more elegant than expected. I'm planning on (slowly) continuing that effort for checkboxes, datepicks, dropdowns, frames, labels, progressbars, radios, sliders, spincontrols, and splitters, so it's not likely to get shipped any time soon.
It is a bit Windows 10/11 look-and-feel biased, but the buttons at least can perfectly replicate GTK2 and GTK3 as well, which proved more slightly fiddly than actually difficult.
I'm also currently in a bit of a quandary whether to completely abandon WinAPI/GTK/HTML layout management and do my own, or try and progress such things in parallel.