News for hackers. Stuff that matters.
Re:Tiny-C Compiler by Mike_12345 on Monday March 13, 2023 @05:12PM (#35142754)
That is definitely a compiler and anyone with a CS degree would call it that if they were discussing its functionality, because that's technically what it is. (Referring specifically to the part which compiles Python to bytecode)

Your SQL database also has a compiler. SQL is compiled to an execution plan. Compile doesn't only mean "create a machine code executable file".

Re:Tiny-C Compiler by masklinn on Monday March 13, 2023 @05:33PM (#35143104)
> That is definitely a compiler and anyone with a CS degree would call it that if they were discussing its functionality because that's technically what it is.

None of these assertions is correct.

> (Referring specifically to the part which compiles Python to bytecode)

So referring specifically to something different than what I explicitly specified, it's called something else.

By that reasoning, a cow is a muscle and you are an acid.

> Your SQL database also has a compiler.

"Has a" and "is a" are rather different relationships.

> Compile doesn't only mean "create a machine code executable file".

You're the only person who made that assertion.

Re:Tiny-C Compiler by Mike_12345 on Monday March 13, 2023 @08:47PM (#35145661)
> None of these assertions is correct.

https://en.wikipedia.org/wiki/CPython

"CPython can be defined as both an interpreter and a compiler as it compiles Python code into bytecode before interpreting it."