5 ms·
If anybody is looking for something stable for years, have a look at haxe [1] [1] https://haxe.org https://haxe.org
by tpetry 9y ago
If anybody is looking for something stable for years, have a look at haxe [1]
[1] https://haxe.org https://haxe.org
- platz 9y agoHow classy of you
- Stratoscope 9y agoI realize it's sometimes not considered cool to point out competing projects, but the OneLang project FAQ explicitly says that it's a proof of concept, not ready for production use, with no documentation, and may never be finished. https://github.com/koczkatamas/onelang/wiki/FAQ https://github.com/koczkatamas/onelang/wiki/FAQ OneLang does seem like a nifty project, but given its current state, it seems pretty reasonable to point toward Haxe for anyone interested in something similar that has been around for years, well documented, and used in production by many teams.
- fao_ 9y agoWhat's the problem? It's a related project for those people who are interested in this sort of thing.
- Cyph0n 9y agoHow so? Haxe is the de facto king of the compile-to-everything space. Therefore, it's inevitable that Haxe will be mentioned on a submission like this.
- platz 9y agoalso consider https://blog.plan99.net/graal-truffle-134d8f28fb69 https://blog.plan99.net/graal-truffle-134d8f28fb69 > Truffle is a framework for writing interpreters with annotations and small bits of extra code in them which, when Truffle is paired with its sister project Graal, allow those interpreters to be converted into JIT compiling VMs … automatically. > If Truffle is a framework for writing AST interpreters, then Graal is the thing that makes them fast. > Truffle provides a language interop framework called Polyglot that allows Truffle languages to call each other
- bringtheaction 9y ago> Haxe is the de facto king of the compile-to-everything space. Indeed, I remember stumbling across it years ago while looking for a way to develop Flash games without Adobe Flash Professional. I never got around to actually try it but I keep seeing it every now and then, even saw a couple of books about it in a physical bookstore some years ago. It was the first thing that popped to mind for me as well when I saw that OP title mentioned write code in multiple languages at the same time.
- NicoJuicy 9y agoDo you have an example on how to use Haxe for a cross platform API client? Eg. Develop once, use in 12 different programming languages? The first requirement seems to be a go ( https://api.haxe.org/haxe/Http.html https://api.haxe.org/haxe/Http.html ) but i'm not sure of other variables for implementing this Other sources: - https://github.com/tbrosman/haxe-rest-client https://github.com/tbrosman/haxe-rest-client - https://github.com/tnwinc/rehx https://github.com/tnwinc/rehx
- simonpantzare 9y agoNot sure if it helps, but have a look at Swagger/OpenAPI if you haven't already.
- NicoJuicy 9y agoGood call, installed it in the past for trying the exact same thing :)
- MikeTheGreat 9y agoCan I ask how Haxe is connected to Flash? For some reason, the first time I looked at Haxe I got the impression that Haxe is an open-source Flash / Flash successor. (Mostly, I think, because Flash keeps getting mentioned with projects associated with Haxe, like OpenFL and Flambe, and several times in the Haxe Wikipedia article). Clearly Haxe isn't "just" an open Flash, but how is Haxe related to Flash?
- sshine 9y agoHaxe can compile to Flash, which is such a distinguishing feature that people actually use it to write Flash applets: https://haxe.org/manual/target-flash-getting-started.html https://haxe.org/manual/target-flash-getting-started.html If you have ever tried to write Flash applets the old-fashioned way, it feels more like a scriptable paint program.
- damoebius 9y agoHaxe is a programming language and should be compared to as3. It is much more powerful and can compile to 12 targets including JavaScript,php, c++, and as3. OpenFL is a cross-plateform port of the flash API in Haxe. All this flash stuff are just a part of an amazing technology.