News for hackers. Stuff that matters.
Re:.NET 10 Preview 6 brings JIT improvements, one-shot tool ... by contextfree on Wednesday July 30, 2025 @02:37PM (#44737940)
Windows and Office never adopted .NET for client code in the first place except for the Longhorn period in the mid-00s, which burned them and put them off it. If that didn't stop .NET in the two decades between then and now, I'm not sure why it would today. Actually, Windows is just now starting to adopt C# now that AOT is supported (I think the new native Copilot app is C#).
Re:.NET 10 Preview 6 brings JIT improvements, one-shot tool ... by Kwpolska on Wednesday July 30, 2025 @06:58PM (#44740524)
Many Windows Server admin tools (such as Server Manager or Virtual Machine Connection) and MMC snap-ins (e.g. Event Viewer, Hyper-V Manager) are written in .NET Framework 4. PowerShell is .NET Framework 4. Everyone’s favorite bloated IDE (Visual Studio) is .NET Framework 4 as well.

In the Office land, Excel’s Power Query is .NET Framework 4.

Adopting the modern .NET is probably harder due to its lifecycle.

Re:.NET 10 Preview 6 brings JIT improvements, one-shot tool ... by reactordev on Wednesday July 30, 2025 @08:52PM (#44741257)
OMG could you imagine writing MMC snap-ins using some sort of plugin declspec import bs in C++? .Net and reflection with Assembly.Load saves so much time and effort to build modular “ship it now, deliver features later, extend it if we fall behind” apps. Not that those are good things, it just means you can defer until your MS PM gets the budget to fill those backfill positions that have been open for 12 months because the hiring bar is astrophysics
Re:.NET 10 Preview 6 brings JIT improvements, one-shot tool ... by pjmlp on Thursday July 31, 2025 @12:49AM (#44742405)
I can, because due to Windows team love for COM and C++, many extension points require doing exactly that.

Want to extend the context menu actions, or add new thumbnail capabilities for a recent file format?

It is exactly that.

Even with WinRT Runtime Components, they were doing in a way that some APIs were only surfaced when using the components from C++.

Quite a different approach from OS / language teams at Apple and Google, where productivity with better languages has a priority no matter what.

Re:.NET 10 Preview 6 brings JIT improvements, one-shot tool ... by pjmlp on Thursday July 31, 2025 @12:44AM (#44742379)
Powershell is .NET Core since version 6, the .NET Framework one is Powershell 5.1.

Yeah, Microsoft themselves have issue moving away from .NET Framework.

You can add SQL Server CLR, Dynamics, Sharepoint on prem, to the list.

Re:.NET 10 Preview 6 brings JIT improvements, one-shot tool ... by jamesfinlayson on Thursday July 31, 2025 @01:47AM (#44742676)
Calculator is C# as well (though apparently that's somewhat recent: https://github.com/microsoft/calculator/pull/1598).
Re:.NET 10 Preview 6 brings JIT improvements, one-shot tool ... by pjmlp on Thursday July 31, 2025 @02:22AM (#44742890)
Porting to C# was a community effort after it went open source, it was originally C++/CX.