3 ms·
Look, it is very difficult to hold a conversation with someone who responds with "you're just a fanboy, it's 5!" to "2 + 2 equals 4". On the off chance you are
by neonsunset 2y ago
Look, it is very difficult to hold a conversation with someone who responds with "you're just a fanboy, it's 5!" to "2 + 2 equals 4".
On the off chance you are making an intentionally inflammatory reply - you could also ask normally.
Let me try one last time (and now I vaguely remember having similar conversation here before).
On Ubuntu:
sudo apt install dotnet9
On RHEL (8 or 9):
sudo dnf install dotnet-sdk-9.0
On Alpine:
sudo apk add dotnet9-sdk
Then, you can get a simple cross-platform application template like this:
dotnet new install Avalonia.Templates && \
dotnet new avalonia.app -o AvaloniaExample && \
cd AvaloniaExample && \
dotnet publish -o build -p:PublishAot=true && \
./build/AvaloniaExample
The above can target: Linux, macOS, Windows, WASM and with some caveats Android and iOS (although I would not recommend using Avalonia for mobile devices over e.g. Flutter).
The build folder will contain the native application itself and the Skia dynamically linked dependency alongside it (and possibly some symbols you can delete). This is very similar to the way Qt applications are shipped.
This is just one GUI framework. There are other: Uno Platform, Gir.Core (GTK4 + GObject libraries), SDL2 via Silk.NET, Eto. I'm sure there's more.
What is bewildering is you could argue about "first-class" or "subpar", etc. But "does not work at all" is just ridiculous and indefensible. What kind of thought process leads to this conclusion?
In any case, I doubt you're going to read this since your replies seem to indicate interest in tilting at any windmill with ".NET" label on it instead, but at least my conscience is clear that I tried to explain this to the best of my ability.
- LtWorf 2y agoAll these words and you lost the original part where the APIs are windows oriented?
- exceptione 2y agoMan.. All of these words did proof you were wrong. > The difference with cargo or go or pip is that all of these are found in every linux distribution, while .net is in none. This statement is false. It is also in arch. If it is not in debian and ubuntu, that is their fault. (But it would not surprise me, any user will soon run into the fact that even for non-obscure software there are no up-to-date packages in the main repo. The default escape hatch is to add extra repo sources, but my advice is to skip those distro's altogether anyways, unless you have very specific needs.) But then again, if you think package management is a serious topic and then dismiss .net for the python mess, come on. > the APIs are windows oriented? The design of this particular API might be off. I guess this dates from the pivot to cross-platform. Usually, tuning for .net performance is better on Linux. I think nobody in MS believes in Windows as a platform really, it is a sinking ship.
- LtWorf 2y ago> It is also in arch. If it is not in debian and ubuntu, that is their fault. Of course. Microsoft is a tiny poor company. It couldn't possibly afford to hire a consultant to do this kind of job. > But then again, if you think package management is a serious topic and then dismiss .net for the python mess, come on. What mess? apt solves the mess, there's no mess if you stay away from pypi (which I advice you do). > I think nobody in MS believes in Windows as a platform really, it is a sinking ship. I'm rather sure governments will still use it in 20 or 30 years.