C++ vs Java: Rating, Votes and Features

C++Java
Categoryprogramming languageprogramming language
DeveloperISO C++ committee (WG21)Oracle and the OpenJDK community
Created byBjarne StroustrupJames Gosling
First release19851995
LicenseOpen standardGPL-2.0 with Classpath Exception
Open sourceYesYes
PricingFreeFree
Websitehttps://isocpp.orghttps://openjdk.org
ParadigmsObject-oriented, Procedural, FunctionalObject-oriented, Functional, Concurrent
TypingStaticStatic
Type strengthWeakStrong
Type inferenceYesYes
Memory managementManualGarbage collected
Runs asNative codeBytecode on a virtual machine
Main implementationGCC, Clang, MSVCOpenJDK HotSpot
ConcurrencyThreads, atomics, coroutinesThreads, virtual threads
Null safetyNoNo
Package managerNone official, vcpkg and ConanMaven, Gradle
Used forSystems, Games, Desktop, Embedded, Scientific computingBack end, Mobile, Data and AI, Desktop
SpecificationISO/IEC 14882Java Language Specification