Op 04-Dec-17 om 20:45 schreef Chris Vine:
> On Sun, 3 Dec 2017 09:51:31 -0800 (PST)
>
mche...@gmail.com wrote:
>> Hi All
>> Is rust going to replace C++? The world seems want to stay in C++
>
> I think it is the only new language around which stands a chance, and
> even then it might fail. It seems to be a seriously nice language,
> taking what seems to me to be the best of C++ and ML, together with an
> original approach to concurrency. Bringing memory safety into the type
> system whilst avoiding garbage collection seems novel, as also does
> bringing thread safety into the type system (a better solution in my
> view than languages which rely on functional purity[1]). It is also
> pleasing that is has got rid of the distinction in the ALGOL languages
> between expressions and statements - almost everything evaluates to
> something.
>
> Very few projects actually seem to use it at present. I have also
> never used it except in toy playing around in order to take a look at
> it.
Over the decades I've seen many new programming languages that promised
to be the next big thing, yet only a very few stuck. My observation is
that the qualities of the programming language itself is only minor
factor for its success. Programming languages like C and C++ are neither
pure nor elegant, yet despite their flaws and weaknesses are widely
used. A much more important consideration is the ecosystem around the
programming language; availability of libraries, tooling, information
(forums, courses, conferences), availability of skilled programmers,
commercial backing...etc are much more import factors to consider when
choosing a programming language for a project. This makes hard for new
programming languages to replace well established programming languages.