311
Anon discovers .NET (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] audiomodder 10 points 1 year ago

Compiled Java is still cross-platform. It’s been a few years for me, but when I last worked in C# it was a giant PITA to work on it in Linux or MacOS. I hope it’s gotten better.

[-] vithigar@lemmy.ca 7 points 1 year ago

.NET (not .NET Framework) is cross platform and can be compiled into native binaries on a variety of platforms. There is however the wrinkle of not all the libraries within .NET being supported on all platforms. Most notably, everything involving a graphical UI is Windows only.

The most well known cross platform .NET project you probably have heard about is Jellyfin.

[-] 0ops@lemm.ee 2 points 1 year ago

TIL, I love jellifin

[-] JustAnotherRando@lemmy.world 2 points 1 year ago

Modern .NET (i.e. .NET Core and later) is cross platform. In fact, .NET APIs now are routinely run in containers not based on Windows.

[-] kogasa@programming.dev 2 points 1 year ago* (last edited 1 year ago)

It's a lot better with some notable exceptions. First, .NET Core is multiplatform by design, so it is by default quite portable. The .NET Core CLI is extremely powerful and means a CLI workflow is totally feasible (and also simplifies CI pipelines). The new "multiplatform" application framework, MAUI, runs on Windows, Mac, iOS, and Android, but not Linux/GTK/QT etc. You can maybe attribute this to the design philosophy of abstracting native controls, of which "Linux" itself has none, but either way it's useless on Linux. Third party frameworks like Avalonia do work very well on Linux.

this post was submitted on 09 Jun 2024
311 points (100.0% liked)

> Greentext

8011 readers
1 users here now

founded 3 years ago
MODERATORS