4 ms·
Not a whole lot, but compiling to the machine is a more difficult task than writing an interpreter. "Just-In-Time" VMs (Java and Flash 9 both do this) do some a
by rtf 18y ago
Not a whole lot, but compiling to the machine is a more difficult task than writing an interpreter. "Just-In-Time" VMs (Java and Flash 9 both do this) do some amount of this compilation as the program starts and executes. That lets them strike a balance between startup time(running a full compile can be quite slow) and execution speed.
- GrandMasterBirt 18y agoThe point is ability to INSTALL it. Compiling the bytecode of flash into C or whatever iPhone runs on is not the problem it can be done if necessary, its actually having anything run on the iPhone that is... The advantage of bytecode is that it can run on any operating system/architecture, the VM will take care of executing it as binary code on whatever system it is installed on. This way you can go to youtube from any OS and if you have flash installed it works. Its not just about compiling into binary and startup times :)... Now having said that when are the iPhone ruby and python VMs coming out?