Hacker News new | ask | show | jobs
by petre 813 days ago
> Anyway I have no idea if cpp2 would get support from microsoft or other devs, but cpp2 seems like the most humble and "least risky" solution for the future of C++, and I really want it to be.

That ship has sailed. They already have C#.

2 comments

To be fair C# is vastly different in terms of semantics compared to C++. There's a lot of areas where it's not viable to use C#, and IMHO it also has its own share of legacy and bad decisions from its "Java clone" days that make it impossible to prefer it to C++ sometimes.

Btw Microsoft is definitely interested into adopting new languages, just look all the effort they've been pouring into Rust lately.

Rust is now the official system programming language for Azure infrastructure, alongside managed languages, and it appears there is a soft spot to use Go instead of C#, when looking at what Azure opens up.

WinDev, Office and XBox is another matter, they are deep into C++ and COM culture.

C# is so old by now, if it would be a good replacement for C++ at MS, it would already have replaced it.
Don't mix technology with the internal politics at Microsoft, where some business units won't use anything else besides COM and C++, no matter what.

They are so strong that they were responsible pushing the whole company into the whole Windows 8 debacle with WinRT, where COM was supposed to finally replace .NET.

https://arstechnica.com/features/2012/10/windows-8-and-winrt...

Java and C# are in their "let's get functional" phase.
:(

C# has been at that for more than a decade and a half already. Java's arrival to the party is extremely late and still lacking in many areas.

C# could have been like D back in 2001, yet it had to wait to go open source, away from the wings from WinDev politics, having to provide a replacement to C++/CLI capabilities in a cross-platform way, to finally expose the full CLR to C#, without us having to routinely manually generate MSIL or reach out to C++/CLI.

Singularity and Midori were hardly taken seriously in any form by WinDev.