Show HN: Python to C++14 transpiler
github.com
Show HN: Python to C++14 transpiler
1–10 of 47 posts
Re: Show HN: Python to C++14 transpiler
#2Viewed through that lens, this is a really novel and cool demonstration.
Re: Show HN: Python to C++14 transpiler
#3Key sentence: "The goal is to showcase the power of C++14 templates and not to create a fully functional transpiler." Viewed through that lens, this is a really novel and cool demonstration.
So view through that lens I'm not really seeing the novelty right now?
Re: Show HN: Python to C++14 transpiler
#4Re: Show HN: Python to C++14 transpiler
#5There's a few similar process. Shedskin, Nuitka, Pythran, etc. They are all pretty cool projects, and worth looking into just to learn new techniques.
Re: Show HN: Python to C++14 transpiler
#6Re: Show HN: Python to C++14 transpiler
#7It is called a compiler even it outputs code in another language, transpiler is some neologism from JavaScript developers without a background in compiler design.
Indeed and most compilers do exactly that. Cant help getting a little annoyed whenever I hear this 'transpiler' word. I guess the ship has sailed, oh well !
Re: Show HN: Python to C++14 transpiler
#8It is called a compiler even it outputs code in another language, transpiler is some neologism from JavaScript developers without a background in compiler design.
But it fits the project since I don't have any background or experience in compiler design.
Re: Show HN: Python to C++14 transpiler
#9It is called a compiler even it outputs code in another language, transpiler is some neologism from JavaScript developers without a background in compiler design.
Re: Show HN: Python to C++14 transpiler
#10It is called a compiler even it outputs code in another language, transpiler is some neologism from JavaScript developers without a background in compiler design.
I think it makes sense to use a different term for this "compiler"-esque behavior. For example, I might edit the output of CoffeeScript generated Javascript whereas I wouldn't know how to modify the output of gcc.