C++ pattern matching is coming

Alexandru Ermicioi alexandru.ermicioi at gmail.com
Tue Oct 25 17:34:10 UTC 2022


On Tuesday, 25 October 2022 at 17:07:34 UTC, German Diago wrote:
> FWIW, D is a language. I would not advocate for or against 
> anything. But the
> highest chance of success for languages is compatibility to 
> consume the old
> code bases, that for sure, at least in the big picture.
>
> - Kotlin -> compatible with Java
> - Swift -> interoperable with Objective-C
> - C -> C++
>
> I did not see a clean-cut language that got popular yet for 
> real use in a considerable amount of places. Namely, 
> compatibility is a feature. How deep is the big question and 
> the devil is in the details: source-compatible? API/ABI? Etc. 
> but throwing away and rewriting is not even realistic.

It is fine, if you have high compatibility with other languages, 
but I'm against it being a companion of another language, which 
implies that one without another cannot work.


More information about the Digitalmars-d mailing list