3 ms·
Cool! Congrats! Welcome to the club! ;-) BTW, does anyone know if there is a transpiler I could use to write an image processing/geometry algorithm/animation a
by bitL 7y ago
Cool! Congrats! Welcome to the club! ;-)
BTW, does anyone know if there is a transpiler I could use to write an image processing/geometry algorithm/animation algorithm once and then target whatever output language/platform combo is desired? I really dislike JavaScript, I am way more productive in e.g. C++, but I need to rewrite my algorithms from C++ into Java/Swift/JavaScript/Python/CUDA/Kotlin, depending on a platform I address, and frankly I am getting tired of that. I just want to have a vanilla algorithmic code that is pretty transferable across platforms (desktop/web/iOS/Android) automatically transpiled to another language as I need (with platform-specific stuff done in a custom fashion of course); I don't care about performance optimizations for that (no time for that per platform anyway). WebAssembly is supposed to help but it's still not there yet.
Thanks for any advice!
- zawerf 7y agoFigma is pretty successful and is written in C++ compiled to webassembly: https://www.figma.com/blog/building-a-professional-design-tool-on-the-web/ https://www.figma.com/blog/building-a-professional-design-to... https://www.figma.com/blog/webassembly-cut-figmas-load-time-by-3x/ https://www.figma.com/blog/webassembly-cut-figmas-load-time-...
- monssoen 7y agoHave a look at Haxe. It transpiles to C++, Java, Javascript and Python. https://haxe.org https://haxe.org