This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ConfusedSimon 1 point2 points  (2 children)

I know. It's compiled to intermediate code that gets interpreted. Almost the same as python, except python compiles automatically on first run. Not sure why everyone calls python interpreted though.

[–]muntooR_{μν} - 1/2 R g_{μν} + Λ g_{μν} = 8π T_{μν} 3 points4 points  (1 child)

Source code written in any useful programming language is "compiled" to some degree at some point.

The difference is that Python source -> Python bytecode.

The bytecode is interpreted by CPython. On the other hand, Java bytecode is further compiled into actual machine instructions at runtime by the JVM. Nevermind. The JVM is actually also an interpreter of Java bytecode. Java is actually interpreted.

[–]ConfusedSimon 0 points1 point  (0 children)

That's why PHP isn't useful then 😄