0
Is there any good converter out there that convertes one language to another???
A converter will be awesome because it'll help me to convert one language to another. Like C++ to HTML or Python to C++ or C++ to Python etc. It'll awesome to convert easy language to hard one.
1 Answer
+ 1
Indeed there are so called transpilers (or Source-to-source compilers). Yet those usually just convert between very similar languages or they use languages that were especially designed for transpiling. E.g. Vala, a OOP-language, compiles to C code. Dart usually produces JavaScript.
Your suggestions are nonsense though. C++ is programming language, HTML isn't so how would that work? If Python was convertible to C++ you could also write a compiler for Python as well, yet the language design forbids this. C++ to Python is certainly possible, but why would anyone want to slow a C++ program down by the factor 100?
I also want to mention that you don't need to transpile to use languages together. E.g. C, C++ and Rust can all be used together in a single program. Also they can be compiled to WASM and then used together with JavaScript.