News for hackers. Stuff that matters.
Re:What's new in the .NET 11 runtime by raincole on Tuesday November 10, 2026 @01:44PM (#50444416)
Being a Microsoft product is such a heavy baggage. Last time I checked the official debugger was still not open sourced and that alone was enough to make many people think twice.
Re:What's new in the .NET 11 runtime by CharlieDigital on Tuesday November 10, 2026 @02:38PM (#50445212)

    > Being a Microsoft product is such a heavy baggage
Which I always found ironic because TypeScript (from the same guy that created C# even!), VS Code are both Microsoft. Microsoft also makes big contributions and investments in Postgres and Python as well.
Re:What's new in the .NET 11 runtime by bbkane on Tuesday November 10, 2026 @04:41PM (#50446702)
TypeScript has fewer competitors for the frontend than C# does for the backend
Re:What's new in the .NET 11 runtime by raincole on Tuesday November 10, 2026 @04:45PM (#50446731)
https://gist.github.com/matthiasak/c3c9c40d0f98ca91def1

JavaScript is one of the most common compile targets. "Who's the better JavaScript" was the most contested field a decade ago. These are not just toy languages - Facebook has Flow and Google has Dart. Both companies are far more web-adjacent than Microsoft. Yet Typescript won.

Re:What's new in the .NET 11 runtime by MiroslavPokorny on Tuesday November 10, 2026 @08:11PM (#50448602)
Did anyone ever explain why C# was not considered in the first place ?
Re:What's new in the .NET 11 runtime by angrysaki on Tuesday November 10, 2026 @08:24PM (#50448707)
Yes, it's because the structure of the existing codebase for the typescript compiler matched go better. (There's a blogpost about it somewhere)

edit: I think it was considered, but go was a better fit

Re:What's new in the .NET 11 runtime by MiroslavPokorny on Tuesday November 10, 2026 @10:10PM (#50449347)
What does "structure" even mean ? How or why are models so much easier in Go compared to other languages ?
Re:What's new in the .NET 11 runtime by afavour on Tuesday November 10, 2026 @11:38PM (#50449805)
Re:What's new in the .NET 11 runtime by mrsmrtss on Wednesday November 11, 2026 @01:57AM (#50450456)
Go models aren't easier, but the existing TypeScript codebase leaned heavily toward structural types, which made it a better match for Go and at least initially made porting easier for them.
Re:What's new in the .NET 11 runtime by littlecranky67 on Wednesday November 11, 2026 @02:18AM (#50450580)
Yes, Anders Hejlsberg did various times in podcasts when they announced the move go. It has nothing to do with C# not being capable enough, but rather that a line-by-line port from Typescript to Go would be easier. I think IIRC several time that had LLMs be more advanced as they are today, that choice would have been a different one.
Re:What's new in the .NET 11 runtime by bartread on Wednesday November 11, 2026 @12:28AM (#50450014)
It is weird now that you mention it. I worked in C# and .NET for a long time. In theory for 20 years. In practice I wasn't writing much C# after 2019 even though the team I led still used it.

I guess I... just got bored of it, and fed up of Microsoft. I came to hate Windows and having to work on Windows so much that it sort of tainted C# for me. I'm not saying I'd never use it again but, whilst it will run cross-platform nowadays, so will loads of other languages and frameworks, so it's never at the top of the list when it comes to choosing something for a new project.

As for TypeScript? Absolutely loathe it. I'll use it professionally when I have to, but I'd never use it for one of my own projects. It's just so ugly I don't even like looking at it. I get why people like it but, for me, it's not enough. If I'm staring at something all day then, I'm sorry, it can't be ugly.

But, strangely, I still use and enjoy VS Code from Microsoft, and have no plans to switch to anything else.

(I also still have an Office subscription - or whatever it is Microsoft are calling that suite nowadays, I don't care - because I still use both Excel and Word fairly frequently. I could probably get by without, but I actually quite like Office - even on the Mac.)

Re:What's new in the .NET 11 runtime by Turskarama on Wednesday November 11, 2026 @12:37AM (#50450052)
Ironic that you quit using it because of Windows right around the time you no longer needed to be on Windows to use it.
Re:What's new in the .NET 11 runtime by bartread on Wednesday November 11, 2026 @07:29AM (#50452645)
I needed to be on Windows for work though and, sadly, often still do, so the association is strong.

The thing is, now most things I do target some flavour of Linux - and although I could write C# and target Linux with absolutely no problem - there are a lot of other options that C# has to complete with. Granted those options would also, at least in theory, have been viable options on Windows but it definitely would have felt a bit like paddling against the flow to host Ruby on Rails or Python or whatever on Windows.

And if I want to target command line or desktop with something cross-platform I'm going to compile to a native binary that requires minimal dependencies, so Rust feels like a more natural fit than C#, especially with Microsoft's desktop UI story being such a dog's breakfast (and even more-so when you account for cross-platform).

Again, in a commercial environment, I could imagine using Electron for that sort of thing because that's what most companies do (but because everything I do nowadays is backend, web, or systems integration, I haven't written a desktop app in a commercial context in 13 years, and I haven't written a command line app in that context since just before the pandemic). However, for my own projects I want to hew as closely as possible to my own principles and ideals and, for them, it'll be a cold day in hell before I ship a desktop or command line app that needs some giant runtime like Electron as a dependency.

Again, the point is that C#, whilst in many ways a great language, doesn't come out as the frontrunner.

Re:What's new in the .NET 11 runtime by CharlieDigital on Wednesday November 11, 2026 @07:01AM (#50452416)

    > As for TypeScript? Absolutely loathe it.
I just write my TS like I write my C#. They are similar enough, IMO. I ended up writing this as a precursor to our team's move from TS to C#: https://typescript-is-like-csharp.chrlschn.dev/

The main things I don't like about TS are the volatile tooling, bad habits from other devs (not declaring types), compromised ORMs, require lots of package hunting, and module system.

Language is fine, tho.

Re:What's new in the .NET 11 runtime by ExoticPearTree on Wednesday November 11, 2026 @03:35AM (#50451017)
Speaking of PostgreSQL and Microsoft, I was at at a presentation earlier this year and they are developing an underlying storage engine for it based on Azure Blob storage to get “instant” WAL replay across many replicas at once.

It was pretty impressive work to scale PostgreSQL.

Re:What's new in the .NET 11 runtime by dalyons on Wednesday November 11, 2026 @10:57AM (#50454900)
Sounds very similar to what Amazon has had with aurora postgres for many years now. Very effective but not novel from ms.
Re:What's new in the .NET 11 runtime by YuechenLi on Tuesday November 10, 2026 @03:07PM (#50445601)
The decision to use Go for TS7 compiler is even more baffling considering Go's low level memory management functionalities is nowhere near the level of C#'s Span<T> etc, especially since TS and C# are invented by the same person.

I got so worked up by it I built my own TyepScript compiler with my clankers in C# to prove that it can be done, my revival of the Common Language Runtime concept, project Copeland:

https://github.com/yuechen-li-dev/copeland

Currently, Copeland compiles a dialect of TypeScript to JavaScript, C#, WASM via Blazor WebAssembly, and NativeAOT, runs in csproj, and uses xUnit.NET for testing framework.

(The other reason is that Microsoft still refuses to do the obvious thing in .NET 11 and take the best part of Rust and let enums be `match`ed, despite the fact that both TypeScript and C# have weak enums historically, so I added payload enums to my TypeScript dialect because Microsoft won't.)

Re:What's new in the .NET 11 runtime by metek on Wednesday November 11, 2026 @04:55AM (#50451544)
https://learn.microsoft.com/en-us/dotnet/csharp/language-ref...

Pattern matching is in C# unless I misunderstood you.

Re:What's new in the .NET 11 runtime by YuechenLi on Wednesday November 11, 2026 @09:14AM (#50453682)
You are right about the pattern matching, so it's on me that I didn't write clearly enough, what I meant is that I wish C# had Rust's compiler enforced exhaustive pattern matching over enums and the ability to carry data payloads:

https://doc.rust-lang.org/book/ch06-01-defining-an-enum.html

Instead of .NET 11's more awkward (imo) `union` form.

https://learn.microsoft.com/en-us/dotnet/csharp/language-ref...

Re:What's new in the .NET 11 runtime by sysmax on Tuesday November 10, 2026 @11:14PM (#50449683)
There's an open-source debugger by Samsung, compatible with GDB/MI and the DAP protocols: https://github.com/Samsung/netcoredbg
Re:What's new in the .NET 11 runtime by to11mtm on Wednesday November 11, 2026 @12:35AM (#50450047)
Well, there's a lot of sides of it.

On the historical (And semi-current-ish) downside we had/have;

- lots of 'flash in the pan' stuff between 2008-2012ish (Silverlight comes to mind here)

- Anemic Entity Framework in pre-core, and the weird stuff EF Core had going on early in it's life.

- That constant worry as to whether you need to add .ConfigureAwait(false) to every async call in a library you want to open source.

- The thing where trying to do 'traits' in NetCore (Now that you can mostly mimic the behavior) has had some side-effects on performance, mostly resolved but still something you have to consider as far as impact. (To be clear tho, thank god, needed that...)

- WTF was that UWP workflow?

- Why can't we get a proper designer? I don't think it would be that hard especially given I can do nice things around workflow designers today. Speaking of workflows...

- The complete (what I probably guess was MS groups eating their own tail) thing where Workflow Foundation was almost truly productive, SSMS had a thing based on it that was surprisingly productive, and it has been murdered instead of getting the TLC it needed to really disrupt. This one is extra loud because it is so similar to the 'low code' platforms so many orgs have sank money into.

- Less impactful as far as people eating the lunch microsoft left on the table, but WCF.

The upshot is;

- If you're willing to do some looking there are great options out there. lazy example, linq2db is basically a DSL that is close enough to EFCore as far as 'how you compose' that you can teach it to a group of WITCH devs in 30 minutes or less.

- It really is easy to do all sorts of stuff. It's just productive.

Re:What's new in the .NET 11 runtime by cm2187 on Wednesday November 11, 2026 @04:09AM (#50451197)
Also they dropped any pretence of doing any long term support, which is going to create all sort of interesting CVE over the long run given that it is mostly used now for backend.

And I am still not over the many breaking changes when they dumped full framework. Have to support a large code base, I think only now with AI will it be economical to redevelop it for .net core.

Re:What's new in the .NET 11 runtime by CharlieDigital on Wednesday November 11, 2026 @08:38AM (#50453271)
I've narrowly focused on .NET and C# for HTTP backends. In that capacity, it's been very stable and gotten better with each release.

EF Core now is very, very good with only one minor gap with respect to migration merging (long migration history causes build times to explode).

Re:What's new in the .NET 11 runtime by UltraSane on Wednesday November 11, 2026 @10:15AM (#50454424)
Every company I've ever worked for used C# to write business apps. The software that handles a huge fraction of all closed captioning of telephone calls is C#.