Are existing libraries preserved when a new function is part of the core language?

** Please people, this question is not intended to start any fiery war. **

I'm trying to understand what happens with existing libraries that implement some functions when the same functionality that was not previously in this language is now included as part of the language? E.g. In C ++, std :: thread will soon be part of the locale, and what will happen to POSIX or Boost Libraries?

I would also like to understand what might happen to users of other programming languages.

+6
c ++ programming-languages
source share
4 answers

C ++ std :: thread is in large parts based on boost threads. Thus, boost streams will never disappear, they will live in the C ++ standard library. In addition, on many platforms, threads use posix streams as a backend, so they will not disappear either.

+2
source share

The introduction of new technologies never happens overnight. There will be a lag, while compilers implement new versions of the standard library, and then another lag, until these compilers reach the developers.

In my last two assignments, interactions with Visual C ++ 6, which is over 10 years old, periodically appeared. There is a great reluctance to switch from working code to new, if improved model.

If old libraries die, this happens through a process of gradual obsolescence, rather than sudden mass extinction.

Depending on the library, it is possible that the upcoming standard simply captures a snapshot of the current function, and the parent library will continue to develop as an incubator for C ++ 1x, C ++ 2x, etc.

+9
source share

Sometimes library authors continue to maintain their library because their library does something a little different than how it is done in the language: either this difference offers a unique advantage, or it’s basically easier to iterate over. In any case, if there is a sufficient desire of the user to see its continuation or if the author is stubborn, he will continue to be supported. In the end, however, people simply use what comes naturally in the language if the advantage is not great enough.

+4
source share

This has not happened yet. C ++ has only one implementation.

-3
source share

All Articles