πLanguages become popular when they bring innovative runtime
The idea is that languages become popular when they bring unique runtime features. The language itself is secondary.
This makes sense, because languages are usually selected based on the environment and performance requirements.
browser β JavaScript
macOS β Swift (Objective-C previously)
low-level β C
static single-file binaries β Go
Java might be explained as non-dynamic cross-platform memory safe runtime (which was pretty unique at the time).
Exceptions not explained:
scripting languages: why Python and PHP are popular and Ruby and Perl are not
C++ and TypeScript (language evolution)