| C++ | JavaScript |
|---|
| Category | programming language | programming language |
|---|
| Developer | ISO C++ committee (WG21) | Ecma TC39 |
|---|
| Created by | Bjarne Stroustrup | Brendan Eich |
|---|
| First release | 1985 | 1995 |
|---|
| License | Open standard | Open standard |
|---|
| Open source | Yes | Yes |
|---|
| Pricing | Free | Free |
|---|
| Website | https://isocpp.org | https://tc39.es |
|---|
| Paradigms | Object-oriented, Procedural, Functional | Object-oriented, Functional, Procedural |
|---|
| Typing | Static | Dynamic |
|---|
| Type strength | Weak | Weak |
|---|
| Type inference | Yes | No |
|---|
| Memory management | Manual | Garbage collected |
|---|
| Runs as | Native code | Interpreted |
|---|
| Main implementation | GCC, Clang, MSVC | V8, SpiderMonkey, JavaScriptCore (JIT compiled) |
|---|
| Concurrency | Threads, atomics, coroutines | Event loop, async/await, workers |
|---|
| Null safety | No | No |
|---|
| Package manager | None official, vcpkg and Conan | npm |
|---|
| Used for | Systems, Games, Desktop, Embedded, Scientific computing | Web front end, Back end, Desktop, Mobile |
|---|
| Specification | ISO/IEC 14882 | ECMA-262 |
|---|