this post was submitted on 27 Aug 2024
728 points (97.9% liked)

Technology

59322 readers
5334 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 45 points 2 months ago (3 children)

What’s the twist? There must be some reason.

.NET runs natively on Linux since quite some time. Honestly, I don't get what Mono is even good for these days. Maybe reverse engineering old .NET versions.

[–] [email protected] 24 points 2 months ago (1 children)

.net core is the future but Mono is still important for running legacy .net framework applications like ones that use WinForms or WPF. That's pretty much it. Anything new should go straight to .net core.

[–] [email protected] 8 points 2 months ago (1 children)

Hm, WinForms and WPF with Wine you mean? Otherwise makes not much sense. Was WPF ever run in this combination!

[–] [email protected] 3 points 2 months ago (1 children)

Ah yeah. Mono didn't support WPF, but Mono did support running WinForms apps natively on Linux without using Wine.

[–] [email protected] 2 points 2 months ago

The problem with WinForms is that at least serious 3rd party libraries do a lot of direct API calls I guess, hence Wine.

[–] [email protected] 15 points 2 months ago (2 children)

.NET runs natively on Linux

Only .NET Core sadly

When I moved my personal laptop to Linux I needed WINE to run some source-available .NET apps that were written targeting the Windows-only .NET Framework

[–] [email protected] 7 points 2 months ago

All the new stuff is now on .NET Core/5.0 and up at least.

[–] [email protected] 1 points 2 months ago

Hasn't been called ".NET Core" since 3.1

Although it's essentially the subsequent version of core, .NET 5 is the successor to both .NET Core 3.1 and .NET Framework 4.

Since then, it's just been called .NET 5/6/7/8/...

[–] [email protected] 12 points 2 months ago* (last edited 2 months ago) (1 children)

IIRC Mono was mostly used for WASM as it was optimized for smaller builds than the full fat CoreCLR (talking about .NET non-Framework Mono)

[–] [email protected] 1 points 2 months ago (1 children)

WASM? Are you talking about WebAssembly?