Live data from Hacker News

Cooperative C++ Evolution – Toward a TypeScript for C++

herbsutter.com

1–10 of 209 posts

Re: Cooperative C++ Evolution – Toward a TypeScript for C++

#3
I wish there was a clarification of the differences between the “Dart plan” and the “TypeScript plan”. If I had to guess I’d say the Dart approach is a whole new language that transpiles to C++ while the TypeScript plan is one that augments the current language with useful additions.

Re: Cooperative C++ Evolution – Toward a TypeScript for C++

#5
I understand that being a Microsoft employee there's always am incentive to promote Microsoft initiatives, but I feel that it's disingenuous to describe this sort of initiative in C++ circles as "TypeScript for C++" when C++ originated from "C with classes", which is the same transpiling-based approach but without Microsoft marketing attached to it.

Also, I think that promoting a new programming language as "TypeScript for C++" is a marketing move to try to force their way into a market share in spite of the language's merits.

Re: Cooperative C++ Evolution – Toward a TypeScript for C++

#8

I’m not a frontend guy but heard that typescript is already falling off and contentious at this point. Is it truly something that’s going to stay?

Where have you heard that? Because Typescript is the defacto standard right now. Projects like bun and deno cement that status further.

Re: Cooperative C++ Evolution – Toward a TypeScript for C++

#9

I’m not a frontend guy but heard that typescript is already falling off and contentious at this point. Is it truly something that’s going to stay?

Typescript has a lot of momentum on all fronts and is almost certainly the future of Javascript.

The big problem is that it still requires transpilation, which can set up all sorts of shitty traps. Not to mention that the Javascript ecosystem in general is a horrendous mess, which Typescript on its own can’t fix.

Re: Cooperative C++ Evolution – Toward a TypeScript for C++

#10
post #7

The article claims nobody’s tried a language natively compatible with C++, but that’s the approach that Google’s Carbon is taking: https://github.com/carbon-language/carbon-lang

And Circle and cppfront.

Edit: of course this is about cppfront :)

Post reply on HN