July 22, 2022

On Friday, 22 July 2022 at 11:05:06 UTC, Paulo Pinto wrote:

>

They already have Swift for that,

"Swift is intended as a replacement for C-based languages (C, C++, and Objective-C)."

I followed an interview with Chris Lattner a long time ago where he stated that he would like to see Swift evolved into a system level programming language with low level support, but it is still not attractive for lower level programming.

Also, Apple want games to be ported over from other platforms, so… they don't actually want to be an island.

>

It means that if Google is sucessful with Carbon, we are at a turning point for C++'s evolution.

Yes, that is possible, if we talk about the core language, but I am not sure if the core language should be extended much further. C++ can evolve quite a bit by adding library constructs on the current foundation.

Intel also has a clang based compiler now, so the picture is a bit more complicated.

>

You just need to see how the C, COBOL, Fortran and Ada ecosystems care about latest ISO revisions across all existing compilers.

I think this is an ISO process requirement.

July 22, 2022

On Tuesday, 19 July 2022 at 16:27:25 UTC, Tejas wrote:

>

There is a new language that claims to be the successor to C++ in town, and it's got Google's funding 😥

It's called carbon

https://github.com/carbon-language/carbon-lang

What do you folk think?

If this succeeds, then Google will have the advantage in cross platform code (with Dart) as well as high performance code(Carbon)

I'm not really concerned. It's just an even uglier C++.

July 23, 2022

On Friday, 22 July 2022 at 11:29:01 UTC, Ola Fosheim Grøstad wrote:

>

On Friday, 22 July 2022 at 11:05:06 UTC, Paulo Pinto wrote:

>

They already have Swift for that,

"Swift is intended as a replacement for C-based languages (C, C++, and Objective-C)."

I followed an interview with Chris Lattner a long time ago where he stated that he would like to see Swift evolved into a system level programming language with low level support, but it is still not attractive for lower level programming.

Also, Apple want games to be ported over from other platforms,

Most game studios don't care about modern C++.

In what Apple is concerned, as long as Unreal and Unity compile they're good.

Same applies to Google on Android, where NDK is stuck in C++17 as well.

>

so… they don't actually want to be an island.

>

It means that if Google is sucessful with Carbon, we are at a turning point for C++'s evolution.

Yes, that is possible, if we talk about the core language, but I am not sure if the core language should be extended much further. C++ can evolve quite a bit by adding library constructs on the current foundation.

Intel also has a clang based compiler now, so the picture is a bit more complicated.

Everyone except Microsoft has as clang based compiler, they hardly contribute to ISO C++ compliance.

That means IBM, HP, ARM, Intel, Sony, Nintendo, GreenHills, Apple, Google, TI, Microship, Embarcadero, and probably a few others I have forgotten about.

> >

You just need to see how the C, COBOL, Fortran and Ada ecosystems care about latest ISO revisions across all existing compilers.

I think this is an ISO process requirement.

It definitely is, the talk is now available.

https://youtu.be/omrY53kbVoA

July 23, 2022

On Friday, 22 July 2022 at 22:12:35 UTC, solidstate1991 wrote:

>

I'm not really concerned. It's just an even uglier C++.

The syntax is quite bad, e.g. this is for destructors:

   destructor [me: Self] { ... } // unable to modify object
   destructor [addr me: Self*] { ... } // can modify object

But I guess they can provide syntax sugar for such annoyances at a later stage. It is unclear if this is just the core language without syntax sugar or if it is meant code that is meant to be written…

July 23, 2022

On Saturday, 23 July 2022 at 06:54:45 UTC, Paulo Pinto wrote:

>

Most game studios don't care about modern C++.

That doesn't mean they don't care about C++, Carbon is v0.1, its goals might be interesting enough for people to care once released

Riot bought a studio and replaced their C# game client and Java game server, both, to C++

https://hytale.com/news/2022/7/summer-2022-development-update

Lot of potential for a Kotlin story in C++

July 23, 2022

On Saturday, 23 July 2022 at 12:49:44 UTC, ryuukk_ wrote:

>

On Saturday, 23 July 2022 at 06:54:45 UTC, Paulo Pinto wrote:

>

Most game studios don't care about modern C++.

That doesn't mean they don't care about C++, Carbon is v0.1, its goals might be interesting enough for people to care once released

Riot bought a studio and replaced their C# game client and Java game server, both, to C++

https://hytale.com/news/2022/7/summer-2022-development-update

Lot of potential for a Kotlin story in C++

They care about C++ alright, not where ISO C++ is heading though.

I advise some talks from Mike Acton or from WG21 SG14 members.

July 23, 2022

On Saturday, 23 July 2022 at 13:13:04 UTC, Paulo Pinto wrote:

>

On Saturday, 23 July 2022 at 12:49:44 UTC, ryuukk_ wrote:

>

On Saturday, 23 July 2022 at 06:54:45 UTC, Paulo Pinto wrote:

>

Most game studios don't care about modern C++.

That doesn't mean they don't care about C++, Carbon is v0.1, its goals might be interesting enough for people to care once released

Riot bought a studio and replaced their C# game client and Java game server, both, to C++

https://hytale.com/news/2022/7/summer-2022-development-update

Lot of potential for a Kotlin story in C++

They care about C++ alright, not where ISO C++ is heading though.

I advise some talks from Mike Acton or from WG21 SG14 members.

I saw them, i agree with them, C++ is headed into the abyss, but it still remains the best choice today, since you can stick to C, sort of, and cherry picking few of the nice things about modern C++

Enthusiast devs are more strict about it https://gist.github.com/bkaradzic/2e39896bc7d8c34e042b

July 23, 2022

On Saturday, 23 July 2022 at 13:55:31 UTC, ryuukk_ wrote:

>

I saw them, i agree with them, C++ is headed into the abyss, but it still remains the best choice today, since you can stick to C, sort of, and cherry picking few of the nice things about modern C++

Enthusiast devs are more strict about it https://gist.github.com/bkaradzic/2e39896bc7d8c34e042b

This is kinda pointless. If you know the language then you know what to avoid and where. Right now C++20 looks like a better language than Carbon, but that could change of course.

July 23, 2022

On Saturday, 23 July 2022 at 15:38:49 UTC, Ola Fosheim Grøstad wrote:

>

On Saturday, 23 July 2022 at 13:55:31 UTC, ryuukk_ wrote:

>

I saw them, i agree with them, C++ is headed into the abyss, but it still remains the best choice today, since you can stick to C, sort of, and cherry picking few of the nice things about modern C++

Enthusiast devs are more strict about it https://gist.github.com/bkaradzic/2e39896bc7d8c34e042b

This is kinda pointless. If you know the language then you know what to avoid and where. Right now C++20 looks like a better language than Carbon, but that could change of course.

Modern C++ has the same problem as D

They think language features should be in std:: and removing features should be forbidden

Wich is why Carbon is interesting, at least to me, that doesn't mean i'll use it, since i have 0 interest in C++

July 23, 2022

On Saturday, 23 July 2022 at 15:47:40 UTC, ryuukk_ wrote:

>

Modern C++ has the same problem as D
[...]
Wich is why Carbon is interesting, at least to me, that doesn't mean i'll use it, since i have 0 interest in C++

If I may ask, what are you doing here?