4 ms·
The main issue I see for this is debugging. With transpiled languages (unless you have great tooling) the debug stack is normally in the target language rather
by skohan 8y ago
The main issue I see for this is debugging. With transpiled languages (unless you have great tooling) the debug stack is normally in the target language rather than the development language, so there's a lot of cognitive overhead in figuring out how the machine-generated output maps to the code you actually wrote.
Also, since this is essentially metaprogramming, any domain where performance is a concern is going to be problematic to handle.
As far as cross-platform support, the LLVM approach seems like the right one to me.
- irq-1 8y agoThis would do better as a precise, low-level programming template language. If it generated both strictly typed and safe code, and optimized code, it could do what C often does today -- except it could transpile to the target language instead of being compiled/linked in. Think zlib, base64 or (maybe?) crypto functions.
- valdirun 8y agoI agree. This will be hard to scale to an entire application, I would not recommend using this as of now except for very platform independent logic, but hopefully with new releases and more meta-programming (or perhaps meta-meta-programming) features more usage options could be viable.