Re:Building a bare-metal bootable game for Raspberry Pi in C#
by mihular on Monday December 11, 2023 @12:05PM
(#38602324)
MAUI is rebranded Forms and while MS is pushing it, it's by far the only way to build an Android UI. You can build it natively, sort of like since the beginning. While still supported, Xamarin transitioned quite nicely into .NET where can take all of the advantages. And you get a good reply about WasmGC in the other post.
Also .NET is ahead when it comes to cross platform UI compared to Kotlin - there are libraries such as Avalonia, Uno and others. And so on and so forth.
[ Parent
| on HN ]
Re:Building a bare-metal bootable game for Raspberry Pi in C#
by naavis on Monday December 11, 2023 @01:59PM
(#38603910)
How have I missed Uno! I was familiar with Avalonia, but first time hearing about Uno. I'd love to see more UI frameworks for .NET that also work on Linux.
Re:Building a bare-metal bootable game for Raspberry Pi in C#
by WillPostForFood on Monday December 11, 2023 @02:23PM
(#38604239)
it's by far the only way to build an Android UI
far from the only way! (as you explain).
Re:Building a bare-metal bootable game for Raspberry Pi in C#
by mihular on Tuesday December 12, 2023 @01:16PM
(#38616075)
Duh, yes, typo, thanks.
Re:Building a bare-metal bootable game for Raspberry Pi in C#
by jmaker on Wednesday December 13, 2023 @11:19AM
(#38629583)
In my experience Uno and Avalonia UI are quite experimental still. And I totally dislike their looks. I spoke to Mike on the topic of theming, hope they introduce something more modern. To be fair, Avalonia UI is only becoming multiplatform.
Uno has been very unstable, not production ready in my books.
As for Kotlin, it’s just a language running on a JVM or any other supported target. The interop with Java is stellar. You can use Swing or JavaFX, which now goes by OpenFX, for the desktop. Vaadin and Hilla target V8. There’s also Kotlin/js. There’s really a lot. Compose is much like SwiftUI, composable, similar to React in a way.