Is JavaScript similar to C++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Is JavaScript similar to C++?

15th Jun 2016, 12:55 PM
Nathan
6 Answers
+ 1
Ok, then I think C, Java, python and many, many others are the same applying this criterium. That means the criterium is quite broad. Using this criterium, it might be difficult to distinguish between languages at all, if you don't count assembler or prolog.
16th Jun 2016, 6:44 PM
Stefan
Stefan - avatar
0
Not by any means. :-) * Javascript is run by an interpreter. * Javascripts interpreter takes care of dynamic memory management * Javascript is a dynamically typed / untyped language * Javascript is pretty slow * C++ is compiled and then runs on the hardware / OS * C++ requires manual dynamic memory management * C++ is a strongly statically typed language * C++ is fast
15th Jun 2016, 9:02 PM
Stefan
Stefan - avatar
0
apples and oranges
16th Jun 2016, 6:01 PM
VPA
VPA - avatar
0
nice question. yes it is. when you learn both of them
16th Jun 2016, 6:37 PM
Klodian Lula
Klodian Lula - avatar
0
Klodian what do you mean by similar?
16th Jun 2016, 6:39 PM
Stefan
Stefan - avatar
0
there are IFs FORs and so on...
16th Jun 2016, 6:41 PM
Klodian Lula
Klodian Lula - avatar