115

IT'S HERE!

18

From the meeting minutes:

First up today, the discriminated unions working group presented the proposal they've been working on for a while to the broader LDM. This was a broad overview session, rather than a deep dive into nitty-gritty questions; there are still plenty of little details that will need to be filled in, but we're cautiously optimistic about this proposal and moving forward with it. There was some concern about some of the ternary behavior, but we can dig more into that as we bring this proposal back for detailed follow ups in the future.

86
6
3
10
15
8
10
27
19

The yearly Stephen Toub blog post we were waiting for is finally here

31
Announcing .NET 8 RC1 - .NET Blog (devblogs.microsoft.com)
[-] Spyros@programming.dev 4 points 1 year ago

I have started using Avalonia, and even though I am still learning, I am very satisfied with it. There are growing pains obviously, but as you said, I have no confidence in Microsoft UI frameworks.

[-] Spyros@programming.dev 5 points 1 year ago

It's a great text editor, yes. An IDE though, it is not. It gets close with various addons, but it's still not the same experience.

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

MonoDevelop died for this.

(Disclaimer: I haven't used MonoDevelop to know its quality, I'm just tempted by the idea of a free cross-platform .NET IDE. Microsoft took MonoDevelop, forked it into VS for Mac, left the former stagnate, and now is killing its closed-source descendant.)

[-] Spyros@programming.dev 3 points 1 year ago

Oh boy, now I need to find a new excuse to procrastinate on the project I want to start using Avalonia.

[-] Spyros@programming.dev 6 points 1 year ago

Well, for starters, WinUI 3 is Windows only (correct me if I'm wrong), while Avalonia supports Windows, MacOS, Linux, Android, iOS and WebAssembly.

The cross-platform solution that Microsoft advocates for is MAUI, which doesn't support Linux. And it uses native controls, meaning you may encounter platform-specific bugs, while Avalonia renders the controls the same way everywhere using Skia (same approach with Flutter).

[-] Spyros@programming.dev 3 points 1 year ago

Related: check out this thread (at /c/dotnet) for opinions on Avalonia: https://programming.dev/post/38851

[-] Spyros@programming.dev 5 points 1 year ago

My bad, the link I sent was not about NativeAOT, just bundling all the dependencies together (also, it's 4 years old). After a quick search, here's a recent SO question that mentions that you can build .exe files

As for the filesize... please recheck the post under which we are commenting. :D

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

Does it effectively output a single binary?

Yes, that's one of the points of NativeAOT, a self-contained single binary, exactly as Go does it.

Does it create some kind of clusterf*k and awkward packaging formats like other MS solutions such as UWP?

No, you can create .exe files.

Will it actually be deployable to a random fresh install of Debian 12 or Windows 10?

Yes, NativeAOT supports Windows, Linux and MacOS, x64 and Arm64.

What about compatibility with older systems?

Not sure about that, I suppose it depends on the targets each .NET version support. For example, .NET 8 will drop RHEL 7 and only RHEL 8 and later.

And to play devil's advocate: this won't work for all existing .NET applications. If you use reflection (which is AOT unfriendly), chances are that you will have to rework a ton of stuff in order to get to a point where NativeAOT works. There's a middle solution though, called ReadyToRun, which has some advantages compared to running fully with the JIT compiler.

[-] Spyros@programming.dev 4 points 1 year ago

HARD REDIRECT: New submissions are not allowed in this community, ask the users to post at /c/dotnet

[-] Spyros@programming.dev 15 points 1 year ago

LEAVE AS IT IS: Two separate communities, no merging

[-] Spyros@programming.dev 3 points 1 year ago

Right now obviously the content feed and the users contributing are low enough so they could be merged effectively.

In case the Fediverse and this instance grow rapidly though, I think that 2 communities would be more beneficial: having a more active community about C#, with questions about the language, its syntax, each new feature introduced etc, while the .NET community would undoubtly see less content and focus more on the underlying framework, the toolchain, language-agnostic discussions... In my experience, this is how it worked on the subreddits of the same names.

Do you want to have a banner added on the sidebar, redirecting to /c/dotnet until we grow larger? Does Lemmy have a polling functionality (to ask the user opinions)? I couldn't find anything.

[-] Spyros@programming.dev 4 points 2 years ago

Even though it is not specifically about C#, .NET is the underlying framework.

view more: next ›

Spyros

joined 2 years ago
MODERATOR OF