News for hackers. Stuff that matters.
Re:AI is forcing us to pay off 40 years of technical debt by Merad on Wednesday November 04, 2026 @03:34PM (#50371129)
A compiler writes machine code do a file. The OS then loads the code from the file into executable memory before it runs the program. The compiler isn't actually trying to execute the machine code it produces. This is why a JIT wouldn't work - the JIT bypasses the interpreter and produces machine code _that executes directly on the CPU_ inside of the same app.

I don't know any details about Python's architecture, but it's totally possible to write an interpreter for machine code; that's basically what an emulator is. The trade off is that pure interpreters tend to be very slow.

Re:AI is forcing us to pay off 40 years of technical debt by chrisjj on Wednesday November 04, 2026 @05:03PM (#50372174)
[delayed]
Re:AI is forcing us to pay off 40 years of technical debt by AlienRobot on Thursday November 05, 2026 @03:31AM (#50376656)
Yes, and that's my doubt. Compiling is turning data (text) into code (something executed by the CPU). I thought the point of the hardware is that data can't become code. If data can become code, then data is code, and it doesn't matter if the data is compiled first or interpreted at runtime. There doesn't seem to be a way to prevent "data" from becoming "code".