Earlier quoted context omitted.
Yea that's why I write all my programs in C using the win32 APIs. It has a lifetime even longer than .NET Framework 4.8.1! I'll never have to change or adapt to new things. /s
I change things if it’s necessary, not for the sake of using the newest version. Now I have to update software and all its dependencies without a real benefit. It’s equivalent of buying a new PC because MS tries to force Windows 11. Lets waste lots of time and resources for nothing.
.NET 10 Preview 6 brings JIT improvements, one-shot tool execution
101–110 of 231 posts
Re: .NET 10 Preview 6 brings JIT improvements, one-shot tool execution
#102Earlier quoted context omitted.
This thing has barely changed in the ~30 years I've been using it. There's definitely room for some more improvements.
You can divide visual studio into 4 era's. The vs6 (we smashed all of our dev tooling together and its integrated decently) era, the vs2002/vs2003/vs2005 (we broke it all and you will like it and never speak of C++ again), vs2010 era (we fixed all of that from 2002 sorry about that), vs2017/vs2022 (it updates from the internet and takes forever to install and now does everything). The problem is MS is unwilling to st…
For split web projects, definitely work on the web ui in VS Code.
Re: .NET 10 Preview 6 brings JIT improvements, one-shot tool execution
#103Earlier quoted context omitted.
Do you know about any sizeable open source projects written in C#, other than what Microsoft has produced? I rarely come across anything written in it.
Jellyfin / Emby A lot of the *arr tools like Sonarr Bitwarden and Keepass
Re: .NET 10 Preview 6 brings JIT improvements, one-shot tool execution
#104.NET was the most sane programming ecosystem that I worked in. Great CLI, great package manager, very good stdlib, strong IDEs/Debuggers, etc. but sadly interesting jobs like OSes, databases and compilers are way less common than in C++ world :(
Do you know about any sizeable open source projects written in C#, other than what Microsoft has produced? I rarely come across anything written in it.
https://github.com/SubtitleEdit/subtitleedit
https://github.com/jellyfin/jellyfin
https://github.com/AvaloniaUI/Avalonia
https://github.com/bitwarden/server
https://github.com/unoplatform/uno
https://github.com/files-community/Files
https://github.com/NickeManarin/ScreenToGif
https://github.com/DevToys-app/DevToys
https://github.com/d2phap/ImageGlass
https://github.com/ShareX/ShareX
https://github.com/duplicati/duplicati
https://github.com/OpenRA/OpenRA
https://en.wikipedia.org/wiki/Ryujinx
https://sourceforge.net/projects/keepass/
Re: .NET 10 Preview 6 brings JIT improvements, one-shot tool execution
#105My favorite .NET 10 feature so far is not within the .NET library itself, but `dotnet tool exec` to run C# files as scripts without a build step. This has been available in F# for a long time via `dotnet fsi`, and for C# also via the third party cs-script tool. It took a surprisingly long time to officially reach the primary .NET language! I only really wish C# would’ve been directly integrated as an alternative scri…
"dotnet tool exec" is not that feature; you're thinking of https://devblogs.microsoft.com/dotnet/announcing-dotnet-run-... which they added to "dotnet run". "dotnet run my-cool-thing.cs" "dotnet tool exec" is so you can run third party command line tools like csharpier that previously required "dotnet tool install" before you could use them. For example, in https://csharpier.com/docs/Installation you can now simply d…
Re: .NET 10 Preview 6 brings JIT improvements, one-shot tool execution
#106I haven't used C#/.NET since .NET 4 - I remember it was great, yet heavily tied into Visual Studio, and forget about using CLI for things like most other languages. It was all GUI or nothing. Insurmountable XML files. How are things these days with .NET 10! Jesus, 10! Dudes who use it daily, what is your favorite feature you think?
I also really like that its development is fairly open (it's on github). From a more technical point of view, I think C# is a slightly better Java. A pretty nice language overall. It's not gui-or-nothing with dotnet core so it's not too difficult to create workflows for ci/cd pipelines, although the .net framework solutions we still have aren't too much harder to script: msbuild is pretty capable.
Re: .NET 10 Preview 6 brings JIT improvements, one-shot tool execution
#107My favorite .NET 10 feature so far is not within the .NET library itself, but `dotnet tool exec` to run C# files as scripts without a build step. This has been available in F# for a long time via `dotnet fsi`, and for C# also via the third party cs-script tool. It took a surprisingly long time to officially reach the primary .NET language! I only really wish C# would’ve been directly integrated as an alternative scri…
Now I'm curious if C#/.Net 10 is smart enough to ignore the shebang line. Personally, I've tended to use Deno/TS for my more advanced shell scripting... the main runtime is a single executable that works fine in user context, and dependencies can be loaded/cached at first run. Of course, with C# as a shell script, you'd likely be limited to just in the box libraries or have to setup a project for sake of running a sc…
https://devblogs.microsoft.com/dotnet/announcing-dotnet-run-...
"dotnet run app.cs" natively supports shebang lines and nugets. The only requirement is to make sure the .net sdk is installed on your computer.
Re: .NET 10 Preview 6 brings JIT improvements, one-shot tool execution
#108I haven't used C#/.NET since .NET 4 - I remember it was great, yet heavily tied into Visual Studio, and forget about using CLI for things like most other languages. It was all GUI or nothing. Insurmountable XML files. How are things these days with .NET 10! Jesus, 10! Dudes who use it daily, what is your favorite feature you think?
Favorite recent language feature is a big investment in C# pattern matching. It's a big feature from the functional programming world rare to see in "Enterprise" languages. Favorite recent runtime feature is all the cool low level stuff opened up by Span (and Memory ). It has a similarity to Rust borrowing, but well integrated into the CLR's existing type system. It has opened all sorts of performance code possibilit…
Re: .NET 10 Preview 6 brings JIT improvements, one-shot tool execution
#109Earlier quoted context omitted.
Do you know about any sizeable open source projects written in C#, other than what Microsoft has produced? I rarely come across anything written in it.
It's a curious thing, the .NET ecosystem. The overwhelming majority of it's ecosystem seems to be dominated by Microsoft first-party libraries and frameworks. 3rd party libraries and frameworks seem to either get swallowed up by Microsoft, killed, or never reach critical-mass. Often in the .NET ecosystem, it seems there is exactly one library or framework for thing $X or $Y. Whereas in the JVM ecosystem, you have 30+…
Then serilog came out and pretty much everyone switched to that in a very short period.
Re: .NET 10 Preview 6 brings JIT improvements, one-shot tool execution
#110.NET was the most sane programming ecosystem that I worked in. Great CLI, great package manager, very good stdlib, strong IDEs/Debuggers, etc. but sadly interesting jobs like OSes, databases and compilers are way less common than in C++ world :(
I agree. The stability comes from its ecosystem though. Enterprise Software. Where things like meticulous use of Omit and Task are common place and really REALLY bad things happen if you fuck up. But besides that, there’s a healthy gamedev community that embraced C# early and have been using it ever since. There’s C++ MFC guys that got duped into WPF and have been supporting it ever since. Winforms devs that are stil…