7 ms·
...add that to code generation part which means you will have to run a mini compiler + mini linker for each JIT program you run...how wasteful the CPU cycles an
by stevefan1999 4y ago
...add that to code generation part which means you will have to run a mini compiler + mini linker for each JIT program you run...how wasteful the CPU cycles and how power inefficient that would be
- pjmlp 4y agoUnless it is an OS service like on Android, Inferno, Oberon, or the big iron computers from IBM and Unisys (where I agree power consumption isn't that relevant). Which cache the generated code between runs, unless the original code changes, avoid each application shipping their own mini-JIT toolchain, and on Android's case AOT compile the application using the PGO data gathered by the JIT (also shared via PlayStore to other devices), when the device is idle and charging.