News for hackers. Stuff that matters.
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by xapata on Wednesday November 17, 2021 @11:13AM (#29254935)
That's a compiler. I don't understand the desire to create a new word when the old one is fine.
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by zanellia on Wednesday November 17, 2021 @12:55PM (#29256404)
"A program that translates between high-level languages is usually called a source-to-source compiler or transpiler" from https://en.wikipedia.org/wiki/Compiler.
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by xapata on Wednesday November 17, 2021 @07:38PM (#29260782)
Yes, a compiler. The fact there's a note in Wikipedia doesn't change my view.
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by zanellia on Thursday November 18, 2021 @03:07AM (#29263222)
Anyway, the main point is to give it a name that is as informative as possible. If I read "transpiler" I immediately make the connection with the fact that it translates a high-level language into another high-level language (which is what prometeo does)- but maybe I am biased.
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by xapata on Thursday November 18, 2021 @12:09PM (#29267777)
You'd need to know what both languages are to know what it does, and with that knowledge you can just call it a compiler.
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by zanellia on Thursday November 18, 2021 @03:02AM (#29263195)
If you have a better reference I'd be happy to change my mind.
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by xapata on Thursday November 18, 2021 @12:10PM (#29267786)
Not everything benefits from citation.
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by zanellia on Friday November 19, 2021 @08:19AM (#29276829)
hmm I tend to be a bit skeptical about "ipse dixit"-like statements, but I think I got your point about compilers/transpilers :)