Modern C++ Won't Save Us
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Fri Apr 30 15:37:21 UTC 2021
On Friday, 30 April 2021 at 14:59:46 UTC, sighoya wrote:
> At some expert level, you would exhibit this kind of confidence.
Yes, C++ is only suitable for professional programmers... It
isn't a "friendly" language at all.
> However, only for the code you write.
> The problem lies in semantic shadowing by different kinds of
> casts to raw pointer coupled with different memory management
> strategies among the frameworks.
> Passing a pointer given by framework A to B doesn't mean A and
> B share the same assumptions about managing the pointer.
This is probably true. I don't use frameworks (beyond the basic
system level ones). I don't really view C++ as a stand-alone
language, except for very focused applications like compilers or
image conversion). I think what it is best at is the same as C,
to augment other languages. E.g. to provide more speed to Swift.
More information about the Digitalmars-d
mailing list