Comment

Comment by JonChesterfield

One could presumably compile arbitrary C++ to rust or D without changing semantics, then slowly go through the result making it look more native to the new language.

That would either be a wholesale conversion or emitting a translation shim style thing at the boundary between legacy c++ and the new language.

I'm not sure Carbon is necessary to achieve such a conversion.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton