News for hackers. Stuff that matters.
Re:Haxe lang – build cross-platform application with fast cr... by willvarfar on Wednesday September 18, 2024 @07:32AM (#41578415)
Its 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.
Re:Haxe lang – build cross-platform application with fast cr... by Alifatisk on Wednesday September 18, 2024 @07:53AM (#41578571)
They even support React Native https://github.com/haxe-react/react-native
Re:Haxe lang – build cross-platform application with fast cr... by ferfumarma on Wednesday September 18, 2024 @07:36AM (#41578437)
Haxe is the coolest project. I love to see it posted.
Re:Haxe lang – build cross-platform application with fast cr... by Alifatisk on Wednesday September 18, 2024 @07:50AM (#41578543)
I posted this 5 days ago, but it says 1 hour ago, weird.
Re:Haxe lang – build cross-platform application with fast cr... by gabrielsroka on Wednesday September 18, 2024 @07:56AM (#41578602)
Re:Haxe lang – build cross-platform application with fast cr... by Alifatisk on Wednesday September 18, 2024 @07:57AM (#41578610)
Ohhh, completely forgot about it. I hope this gives Haxe more spotlight, it's a really cool tech.
Re:Haxe lang – build cross-platform application with fast cr... by neals on Wednesday September 18, 2024 @08:05AM (#41578687)
I 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.
Re:Haxe lang – build cross-platform application with fast cr... by Alifatisk on Wednesday September 18, 2024 @08:08AM (#41578709)
I 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?
Re:Haxe lang – build cross-platform application with fast cr... by qwery on Wednesday September 18, 2024 @08:50AM (#41579098)
Apologies 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.

Re:Haxe lang – build cross-platform application with fast cr... by wavemode on Wednesday September 18, 2024 @09:17AM (#41579351)
Haxe 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...

Re:Haxe lang – build cross-platform application with fast cr... by igtztorrero on Wednesday September 18, 2024 @08:06AM (#41578700)
No news from 2021 to 2024 are bad news.
Re:Haxe lang – build cross-platform application with fast cr... by Alifatisk on Wednesday September 18, 2024 @08:10AM (#41578728)
The latest news is from 2024-09-08, https://haxe.io/roundups/717
Re:Haxe lang – build cross-platform application with fast cr... by qwery on Wednesday September 18, 2024 @08:34AM (#41578938)
What/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/

Re:Haxe lang – build cross-platform application with fast cr... by Alifatisk on Friday September 20, 2024 @06:39AM (#41600581)
Oh, 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.

Re:Haxe lang – build cross-platform application with fast cr... by portaltonowhere on Wednesday September 18, 2024 @10:05AM (#41579882)
No, but the latest release is from August, so not dead anyway.
Re:Haxe lang – build cross-platform application with fast cr... by Orochikaku on Wednesday September 18, 2024 @08:07AM (#41578704)
Really cool projects made in Haxe: https://oimo.io/works

My favourite is this one: https://oimo.io/works/life/

Re:Haxe lang – build cross-platform application with fast cr... by xkcd-sucks on Wednesday September 18, 2024 @09:01AM (#41579199)
Also, 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
Re:Haxe lang – build cross-platform application with fast cr... by imiric on Wednesday September 18, 2024 @09:02AM (#41579210)
My 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

And he also created a very comprehensive series of tutorials for beginners: 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...

Re:Haxe lang – build cross-platform application with fast cr... by autogn0me on Wednesday September 18, 2024 @08:10AM (#41578731)
How does the js compilation compare to dart?
Re:Haxe lang – build cross-platform application with fast cr... by Alifatisk on Wednesday September 18, 2024 @08:22AM (#41578828)
A 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#re...)
Re:Haxe lang – build cross-platform application with fast cr... by Aldipower on Wednesday September 18, 2024 @08:18AM (#41578801)
Back 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.