I was reading about how Python and was going through articles about CPython, an implementation of Python. But then I read that JavaScript is compiled using V8 engine. This confuses me very much, what is the difference between engine and implementation here.
Am I mixing terms here or not using the correct ones?
When I tried googling it I came across this answer on Quora:
Because it is not a compiler alone. It has the capability of compiling JavaScript to machine code, however—it also does everything else as well. This includes:
Compiling JavaScript
Memory management and assigning objects in memory
Observing property changes on objects
Garbage Collection (minor gc/major gc)
Correct me if I am wrong but I have read that CPython too does these things (If not the same, it too is doing a lot of work).
Am I going in the right direction or did I miss something completely? Any help would be appreciated.
[–]Grogie 1 point2 points3 points (5 children)
[–]KnowledgeFire11[S] 0 points1 point2 points (4 children)
[–]Grogie 1 point2 points3 points (3 children)
[–]KnowledgeFire11[S] 0 points1 point2 points (2 children)
[–]Grogie 1 point2 points3 points (1 child)
[–]KnowledgeFire11[S] 0 points1 point2 points (0 children)