But Game Boy Advance games don't really fit that description. GBA games don't accept untrusted input, and nothing bad happens if they're "compromised". (Like, when people discovered arbitrary code execution in Super Mario World, no one was worried about the security implications.) So languages like C or Zig that let you cowboy values directly into specific memory locations can be a better choice.
I'm excited about Zig in particular because the mission statement seems to be "C but nicer" -- you get the same basic programming model, but with things like instance methods, generic types, better macros, arbitrary-bit-integer types and a "crash when hitting undefined behavior" compile mode.
It can make debugging your program a lot harder :)
You have a very narrow definition of untrusted input.
Swift fills that slot, but only on Apple platforms. Linux hardly has portable support even for file access and Windows will get supported some day, and most 3rd party libraries assume Apple anyway.
D has a great community, but still found lacking in some areas.
.NET AOT compiled with the learnings taken from System C# (7.x - 9) is the closest for my daily coding activities.
Ideally Delphi like with automatic memory management.
Or maybe having a Rust IDE with visual representation of lifetimes would already be productive enough.
(I tried to install some Haskell GUI libraries, but that's very difficult on Windows. I eventually got haskell-gi to install, but as far as I could tell, it had no support for status icons.)
Qt does a pretty good job for C++ and Python, but it is not native if that is what you're looking for.
JavaFX would be a good approach if you are into JVM languages, but you might need to do some JNI wrappers to call stuff like system tray, as just like Qt it does its own rendering.
Some corporations, go the route of having common code for the business logic, and then create an abstraction layer for stuff like system tray, UI widgets and stuff. Although is does require additional development cost.
So you call something like show_tray_message "New Email" and have an implementation for each OS that you care about.
If you are using Haskell, have you tried Haskell Platform?
I've tried Haskell Platform. I had a lot of path problems in trying to install gtk2hs - it wasn't always obvious where things were (nor that Stack came with its own mingw, so I got my own, and that caused more problems... eventually I wiped everything Haskell-related and started from scratch with Platform), and there's also a known problem with gtk2hs where you have to edit some cabal files to make installation work on Windows, so I would've had to do local installs. I think I got gtk2hs to install at one point, and even to compile their sample hello-world program, but trying to actually run it gave a litany of obscure errors. WxHaskell has an installer batch file, but it just spewed errors at me. I spent about a week trying to install various GUI libraries, and the only one I tried that I managed to get working was gi-gtk... which doesn't have system tray support.
I'm hoping to avoid C++ and Java, but if I have to bite that bullet, I will.
I don't do much desktop programming, but I think that the system tray has had support in Java for many years now:
https://docs.oracle.com/javase/tutorial/uiswing/misc/systemt...
Doesn't Nim check those boxes? Didn't try it personally but I was instantly reminded of Nim when I read your comment.
I would say why I really like Zig is because the minimalism of C is still there in the syntax and it makes a whole lot of very smart choices to keep this simplicity while being so much more expressive than C.
If you really need some Rust pro's I would say it is great as the language that finally brings more of ML and functional ideas into high performance programming. Most languages nowadays have fp things but Rust has it very deep into its core. Other than that it is great to see proof systems reaching the mainstream and the security guarantees its ownership system gives is great.
One example:
So I guess it is not a "low level"/"systems".