3 ms·
> Transpiling to C++ means it will work wherever C++ works. Only if you only use this Cpp2 thing. Because the C++ you write may not play nice with the C++ this
by einpoklum 4y ago
> Transpiling to C++ means it will work wherever C++ works.
Only if you only use this Cpp2 thing. Because the C++ you write may not play nice with the C++ this transpiles into.
- gumby 4y agoIt support the big 3 (gcc, clang, ms)
- einpoklum 4y agoI didn't mean compiler support, I meant that if the transpilation result might not follow the coding conventions of your C++ codebase.
- gumby 4y agowho cares if it does? It's just an intermediate product from compiling the code with cppfront. gcc and clang both generate assembly files and then call the assembler on them -- I doubt that assembly code matches your coding conventions either.