3 ms·
Haxe lang – build cross-platform application with fast cross-compiler
- willvarfar 2y agoIts so positive to see a language that started as an alternative to ActionScript for making Flash games has stayed alive long after the demise of Flash. Its still used and loved because those using it have remarkable velocity.
- Alifatisk 2y agoThey even support React Native https://github.com/haxe-react/react-native https://github.com/haxe-react/react-native
- ferfumarma 2y agoHaxe is the coolest project. I love to see it posted.
- Alifatisk 2y agoI posted this 5 days ago, but it says 1 hour ago, weird.
- gabrielsroka 2y agoSecond chance pool https://news.ycombinator.com/item?id=26998308 https://news.ycombinator.com/item?id=26998308
- Alifatisk 2y agoOhhh, completely forgot about it. I hope this gives Haxe more spotlight, it's a really cool tech.
- neals 2y agoI like Haxe, mostly, it's a nice language, built by passionate people. Typescript has replaced it in our cooperate projects, but I still love building tools in Haxe. Just to keep it fun.
- Alifatisk 2y agoI haven't touched Haxe but I still find it interesting, are there any downsides or trade-offs I should be aware off? Maybe something that bothers you that needs a workaround?
- qwery 2y agoApologies but I could only think of a trade-on. Haxe makes it really easy to get started and get a feel for things, just have a go! I found the opposite with Typescript, where it seemed like I had to already be a javascript developer to use it.
- wavemode 2y agoHaxe compiles to a lot of languages. Some of those language targets are better maintained than others. I've definitely had situations where some usage of esoteric Haxe features (like, deep/complex generics alongside runtime polymorphism) compiled fine to one target but compiled to invalid or incorrect code on another. (Interestingly, in my experience the C++ target is rock solid. Though that experience is from many years ago.) In any case, the best source for known compiler bugs is always gonna be GitHub: https://github.com/HaxeFoundation/haxe/issues?q=is%3Aopen+is%3Aissue+label%3Abug https://github.com/HaxeFoundation/haxe/issues?q=is%3Aopen+is...
- igtztorrero 2y agoNo news from 2021 to 2024 are bad news.
- Alifatisk 2y agoThe latest news is from 2024-09-08, https://haxe.io/roundups/717 https://haxe.io/roundups/717
- qwery 2y agoWhat/who is haxe.io? The Haxe blog[0] has been quiet since 2021, which I assume the parent comment was referring to. Not sure what the 2024 news is though... [0] https://haxe.org/blog/ https://haxe.org/blog/
- Alifatisk 2y agoOh, Idk how the blog differ from the roundups, but they’ve been pretty active with the posts there. I found it through the website aswell so I guess it’a something from the Haxe team.
- portaltonowhere 2y agoNo, but the latest release is from August, so not dead anyway.
- Orochikaku 2y agoReally cool projects made in Haxe: https://oimo.io/works https://oimo.io/works My favourite is this one: https://oimo.io/works/life/ https://oimo.io/works/life/
- xkcd-sucks 2y agoAlso, the video game Dead Cells, which might even be the reason the language exists. It is an exquisitely designed and executed game which illustrates the passion of its dev team
- imiric 2y agoMy personal favorite is Dead Cells, of course :) The lead dev uses a skeleton project with the Heaps framework for all his games: https://github.com/deepnight/gameBase https://github.com/deepnight/gameBase And he also created a very comprehensive series of tutorials for beginners: https://deepnight.net/category/haxe/ https://deepnight.net/category/haxe/ I've been meaning to deep dive into it as it looks super fun, but things like laziness get in the way...
- autogn0me 2y agoHow does the js compilation compare to dart?
- Alifatisk 2y agoA quick search gave me the following benchmark result, Haxe compiles to js faster than Dart and outputs a smaller js bundle (https://github.com/damoebius/HaxeBench?tab=readme-ov-file#results https://github.com/damoebius/HaxeBench?tab=readme-ov-file#re...)
- Aldipower 2y agoBack in the days I've used to write libraries, generic algorithms and functions targeting ActionScript 3 (Flash) in HaXe to be able to quickly unit test them, but use them in the actual Flash projects. To unit test AS3/Flash code directly was a pain. HaXe speed up the dev workflow tremendously. Having very good memories. Now I just use modern JavaScript and TypeScript directly. But HaXe has a warm place in my heart and I am glad it still exists.