csharp
C Sharp Spyros 2 months ago 94%
A proposal for type unions (aka discriminated unions) in C# github.com

From [the meeting minutes](https://github.com/dotnet/csharplang/blob/main/meetings/2024/LDM-2024-07-24.md): >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.

17
0
dotnet .NET .NET Conf 2023 - Presentations
Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    10 months ago 100%

    Some talks from yesterday have not yet been uploaded as separate videos, but they will probably be added in the playlist soon.

    2
  • dotnet
    .NET Spyros 1 year ago 95%
    Performance Improvements in .NET 8 - .NET Blog devblogs.microsoft.com

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

    19
    3
    dotnet .NET Demystifying Retrieval Augmented Generation with .NET - .NET Blog
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    1 year ago 100%

    Not the Stephen Toub blog post I was waiting for, but I have no complaints.

    (Stephen Toub writes the yearly "Performance improvements in .NET x" post, always before the GA release in November)

    1
  • programming Programming Visual Studio for Mac Retirement Announcement - Visual Studio Blog
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    1 year ago 100%

    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.

    4
  • dotnet .NET Visual Studio for Mac Retirement Announcement - Visual Studio Blog
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    1 year ago 83%

    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.

    4
  • dotnet .NET Visual Studio for Mac Retirement Announcement - Visual Studio Blog
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    1 year ago 100%

    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.)

    10
  • dotnet
    .NET Spyros 1 year ago 100%
    Avalonia XPF pricing is now publicly available: starting from €4,999 per app, per platform, perpetual license https://avaloniaui.net/xpf

    This is not to be confused with the Avalonia UI framework which remains free and open source. XPF is a new project by the same team that allows existing WPF apps to be cross-platform (so enterprises can take their existing Windows-only apps and run them on MacOS, Linux and maybe WebAssembly). It's in early stages so I don't know how well it works.

    8
    1
    linux
    Linux Spyros 1 year ago 100%
    GIMP - GIMP 2.99.16 Released: Wilber Week 2023 edition! www.gimp.org

    Tangentially related to the Linux ecosystem, since it's a major software that's used by many of the platform's users

    25
    1
    dotnet .NET Avalonia v11
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    1 year ago 100%

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

    3
  • dotnet .NET Avalonia v11
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    1 year ago 100%

    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).

    6
  • dotnet .NET *Permanently Deleted*
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    1 year ago 100%

    Please be civil towards other users. Language on the internet can be misrepresented resulting in hostility in an otherwise technical discussion. This goes to everyone involved, I'm just replying in this specific comment.

    1
  • csharp C Sharp POLL: Do you want this community (/c/csharp) to redirect to /c/dotnet for the time being, until we grow larger?
    Jump
    privacy Privacy The Best Privacy Tools, Services, and Ad-Free Recommendations - Privacy Guides
    Jump
    linux Linux On the road to Plasma 6
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    1 year ago 100%

    Correct me if I 'm wrong, but I think it's still the same situation since January 2020: the long-term-supported (LTS) Qt releases are available to commercial licensees only and KDE supports collections of patches for them. Which is a hassle for sure. But nothing has changed because a fork of Qt (worst case scenario) would demand massive manpower from KDE.

    And the KDE Free Qt Foundation exists, so the Qt Company can't close down the framework.

    The Foundation has license agreements with The Qt Company, Digia and Nokia. The agreements ensure that the Qt will continue to be available as Free Software. Should The Qt Company discontinue the development of the Qt Free Edition under the required licenses, then the Foundation has the right to release Qt under a BSD-style license or under other open source licenses. The agreements stay valid in case of a buy-out, a merger or bankruptcy.

    1
  • latex
    LaTeX Spyros 1 year ago 100%
    Which LaTeX editor do you use?

    I started with TeXworks (+ XeTeX, which both happen to have been created by Jonathan Kew) and I found no reason to change since then. The only slight drawback is that autocomplete support exists but is rudimentary, however it doesn't bother me that much. Which editor do you prefer?

    1
    12
    meta Programming.dev Meta Community Request Thread
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    1 year ago 100%

    I have no experience with it, but I noticed there is no community for Julia (both url and display name). The locked down subreddit had almost 23,000 subscribers (if you build it, they will come ;) ).

    2
  • programming Programming A fully self-contained natively compiled C# Hello World, including GC and everything can be as small as ~440 kB
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    1 year ago 100%

    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

    5
  • programming Programming A fully self-contained natively compiled C# Hello World, including GC and everything can be as small as ~440 kB
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    1 year ago 100%

    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.

    5
  • csharp C Sharp *Permanently Deleted*
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    1 year ago 100%

    does lemmy have pinned posts?

    Yes, we can add one if needed. I created a poll in this thread: https://programming.dev/post/71137

    Btw, I just found out how to add a user as mod to a community, there is a button between each post / comment that is visible to moderators of that community. So, if you post to /c/dotnet, I can make you a mod there.

    1
  • csharp C Sharp POLL: Do you want this community (/c/csharp) to redirect to /c/dotnet for the time being, until we grow larger?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    1 year ago 50%

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

    0
  • csharp C Sharp POLL: Do you want this community (/c/csharp) to redirect to /c/dotnet for the time being, until we grow larger?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    1 year ago 50%

    SOFT REDIRECT: Submissions still allowed, but a message is shown on the sidebar, asking users to post to /c/dotnet, unless their content is not suited there.

    0
  • csharp C Sharp POLL: Do you want this community (/c/csharp) to redirect to /c/dotnet for the time being, until we grow larger?
    Jump
    csharp
    C Sharp Spyros 1 year ago 80%
    POLL: Do you want this community (/c/csharp) to redirect to /c/dotnet for the time being, until we grow larger?

    There is no polling functionality on Lemmy, so please upvote the comment that you mostly agree with.

    3
    9
    csharp C Sharp *Permanently Deleted*
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    1 year ago 100%

    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.

    1
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    1 year ago 100%

    I have no problem with adding more mods, but unless I missed something I can't find any setting to do so. Except for the posts, all I can customize are the logo / banner images and the sidebar. Maybe I'm missing something or this can only be done by admins for the time being.

    1
  • latex
    LaTeX Spyros 1 year ago 100%
    Hello TeX community!
    2
    0
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    1 year ago 100%

    I am working primarily with .NET (c/dotnet) and C# (c/csharp). Although I have limited time, I can try helping moderate the two communities for the time being.

    2
  • dotnet
    .NET Spyros 1 year ago 100%
    Avalonia UI - cross-platform UI framework for .NET https://avaloniaui.net/

    What are your opinions about Avalonia? It runs on Windows, Mac, Linux, Android, iOS and WebAssembly, with the mobile platforms being in a more immature state as support was added recently. MAUI is the continuation of Xamarin.Forms, while Avalonia is the spiritual successor to WPF, albeit open-source and cross-platform. MAUI uses platform-native controls (which means the same control may appear or behave differently between operating systems), while Avalonia builds everything with Skia, so it renders the same in every platform. I think of it as the .NET alternative to Flutter, though with a more desktop-centric focus, instead of being mobile-first. I have not used it yet but it seems the most promising .NET UI framework and I'm hoping to build a personal project in the following months. The [first Release Candidate of Avalonia UI v11](https://github.com/AvaloniaUI/Avalonia/discussions/11593), which stabilises the API, was released two weeks ago.

    3
    1
    meta Programming.dev Meta Community Request Thread
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSP
    Spyros
    1 year ago 100%

    Can we have commandline (both url and display name)? In order to share recommendations & news about software that runs on the terminal, without a UI.

    5
  • linux
    Linux Spyros 1 year ago 100%
    Debian Linux 12 “bookworm” was released a few days ago https://www.debian.org/News/2023/20230610

    >After 1 year, 9 months, and 28 days of development, the Debian project is proud to present its new stable version 12 (code name “bookworm”). > >“bookworm” will be supported for the next 5 years thanks to the combined work of the Debian Security team and the Debian Long Term Support team.

    7
    0