News for hackers. Stuff that matters.
Re:Racket Language by tgbugs on Sunday April 21, 2024 @03:11AM (#40103758)
One reason is that it has one of the best cross platform native gui solutions out there. It exists because the research side was focused on teaching programming and needed a solution that their students could just install. There is a bit of a learning curve, but once you're over the hump it is just a pleasure to work with. See also things like https://docs.racket-lang.org/gui-easy/index.html.
Re:Racket Language by darby_eight on Sunday April 21, 2024 @03:21AM (#40103800)
Word!
Re:Racket Language by SkiFire13 on Sunday April 21, 2024 @09:03AM (#40105441)
> One reason is that it has one of the best cross platform native gui solutions out there.

I'm always a bit skeptical of these statements. How does it define "native"? Does it use gtk/libadwaita on Gnome and Qt on KDE? What about windows, does it use Win32, WPF, WinUI2 or WinUI3, all of which could be considered "native"? What about platform-dependent layouts?

Re:Racket Language by Bogdanp on Sunday April 21, 2024 @11:19AM (#40106422)
It's GTK on Linux, win32 on Windows, and Cocoa on macOS.
Re:Racket Language by lmz on Sunday April 21, 2024 @08:54PM (#40110599)
Is it still a wrapper over wxwidgets?
Re:Racket Language by Bogdanp on Sunday April 21, 2024 @11:56PM (#40111290)
No, it binds to the frameworks I mentioned above directly.
Re:Racket Language by kazinator on Sunday April 21, 2024 @09:00PM (#40110625)
How one defines "native GUI" is very simple: it uses the native widgets of the desktop OS, rather than custom-painting its own onto a pixel-level canvas. Buttons, input fields, lists/combos, context menus, the file picker dialog, what have you, are from the host system.
Re:Racket Language by bananapub on Monday April 22, 2024 @05:56PM (#40122025)
it's not that simple on windows, at least: https://raphlinus.github.io/rust/gui/2022/07/15/next-dozen-g...