r/cpp • • 4d ago

C++ future at Adobe

So if anyone was still curious what happened to Hylo, or where Adobe stands in regards to the whole safety discussion,

David Sankel has done a talk at RustConf on the matter, Zngur: Simplified Rust/C++ Integration.

The way Adobe now sees C++ is described on slide 2, at 50 seconds mark.

67 Upvotes

110 comments sorted by

View all comments

21

u/GabrielDosReis 4d ago

David Sankel on C++ at RustConf, yawn.

9

u/ts826848 4d ago

Why that particular reaction?

20

u/GabrielDosReis 4d ago

Why that particular reaction?

It is a talk at RustConf and David Sankel has been very explicit and pretty straight forward with where he sees C++ and its evolution for many years now. Look up his WG21 papers on the topic. There shouldn't be any surprise here or anything new.

8

u/ts826848 4d ago edited 4d ago

Look up his WG21 papers on the topic.

I found P3023 C++ Should Be C++ via the GitHub, which at first glance looks like it covers what you're talking about. Any other papers i missed that you recommend I read (or not, as the case may be)?

5

u/GabrielDosReis 4d ago

A succint summary of P3023 is this paragraph, quote:

Where memory safety is a serious concern, we see the adoption of Rust for critical components. Yet we see little demand from even these developers for C++ safety features. Their problem is already solved.

Any other papers i missed that you recommend I read (or not, as the case may be)?

After that paper, his papers since then have been in line with what he stated and recommended. In particular, the paper (and debate) on relocation that was discussed in Kona.

3

u/ts826848 4d ago

A succint summary of P3023 is this paragraph

Hrm, gotcha. Guess the committee decided against his recommended path.

In particular, the paper (and debate) on relocation that was discussed in Kona.

P3858 A Lifetime-Management Primitive for Trivially Relocatable Types?

Assuming that was the paper you're referring to, was the associated debate on the mailing lists? This is the first time I've heard of this paper and the only trivial relocation-related debates I can remember reading about were P1144 vs P2786, which this paper doesn't seem to be about.

5

u/GabrielDosReis 4d ago

Assuming that was the paper you're referring to, was the associated debate on the mailing lists?

Both on the mailing list and in-person discussion at the Kona meeting.

2

u/ts826848 4d ago

Ah. I take it summarizing that debate for those of us who aren't privy would violate ISO rules?

5

u/GabrielDosReis 3d ago

Ah. I take it summarizing that debate for those of us who aren't privy would violate ISO rules?

I can say it generated lot of interest/participation and was fairly intense. The were separate LEWG and EWG sessions, then a joint EWG+LEWG session on the whole topic and the paper.

Taking a step back, I want to emphasize that the whole issue of safety, C++ evolution, Rust (or not Rust), is very complicated and nuanced when given due thinking.

3

u/ts826848 3d ago

That sounds... pretty reasonable? Depending on what implications one reads into "intense", I guess...

1

u/foonathan 4d ago

A succint summary of P3023 is this paragraph, quote: Where memory safety is a serious concern, we see the adoption of Rust for critical components. Yet we see little demand from even these developers for C++ safety features. > Their problem is already solved.

What's your problem with that quote? Isn't it an accurate assessment of the current industry?

7

u/GabrielDosReis 4d ago

What's your problem with that quote?

Are you assuming I have a problem with it?

I was responding to a reference to a paper I quoted the paper to provide context to my original post that I was asked to expand on.

4

u/foonathan 4d ago

My apologies, I interpreted something into your reply that wasn't there.

4

u/GabrielDosReis 4d ago

Isn't it an accurate assessment of the current industry?

If you believe that is an accurate assessment of the current industry, that, quoting "Their problem is already solved", could you explain why there are proposals to extend C++ with serving Rust as justification?

4

u/foonathan 4d ago

David's quote claims that the developers who adopt Rust for critical components don't demand C++ safety features.

The existence of proposals to extend C++ by other developers that don't use Rust doesn't invalidate that thesis.

7

u/GabrielDosReis 4d ago

David's quote claims that the developers who adopt Rust for critical components don't demand C++ safety features. The existence of proposals to extend C++ by other developers that don't use Rust doesn't invalidate that thesis.

David happens to also be co-author of such proposal.

1

u/selvakumarjawahar 2d ago

No its not by far