News for hackers. Stuff that matters.
Re:Deep Dive into PHP 8's JIT by smabie on Saturday August 29, 2020 @10:59PM (#24321012)
Of course not, just compile your interpreter but instead of reading input from a file, have it read input from a fixed string (the source code) that is embedded in the binary. You've just created a super shitty compiler!
Re:Deep Dive into PHP 8's JIT by colejohnson66 on Sunday August 30, 2020 @12:54PM (#24324050)
I personally wouldn’t consider that a compiler but just an interpreter bundled with the source. For example: Electron based desktop programs aren’t considered compiled (by anyone I know) even though they pack the interpreter (Chromium) with the source.