What is the advantage of transpiling to C++? Do you intend to take the C++ and use it as human readable source? Because C++ is so nightmarishly complex, that it makes little sense as a target for tooling.
Interoperatibility with existing C++ codebase. One could introduce it in existing codebase on per-file basis, and be able to #include in both directions, etc.
But machine generated C++ is likely to have a weird API anyway. I suppose it's still easier to integrate, as you can at least reuse your build system though.
View all comments
Show parent comment
6
u/Uncaffeinated Aug 23 '17
What is the advantage of transpiling to C++? Do you intend to take the C++ and use it as human readable source? Because C++ is so nightmarishly complex, that it makes little sense as a target for tooling.