Dead Cells runs real smooth, so do all OpenFL/Haxe flixel games. It's not nearly as fast as custom engine written in C, but it isn't python-slow either.
Maybe something changed since the last time I used it or maybe people have lower standards.
I mean there's a series or somewhat successful FPS games written in garbage collected language and I can clearly notice like 100 ms GC pauses kicking in once in a while in those games.
The only target where Haxe spits out a GC is IIRC C++. For the other targets, the native GC's are used. You can do without GC even when targeting CPP (https://github.com/SomeRanDev/reflaxe.CPP), there's a link in this repo's README for tips on avoiding GC in CPP.
transpiles to a bunch of languages
macro system that lets you frick with the AST
zero cost abstractions with first class "abstract" system
advanced pattern matching and algebraic/GADT enums
but i use it mostly because unbelievably I can't find a better language with "normal" non-moronic c-like statically typed syntax but also an "it just werks" easy build process.
I flirted with it briefly 2 years ago because I wanted to learn a language that would let me do anything I want to do on just about any platform (i.e. desktop apps, mobile, web front-end and backend, simple games) and performance wasn't that important to me.
I ultimately went with Clojure instead because the ecosystem, the compilation targets, the state of the documentation and the language itself are all superior for my purposes (I'm not much of a game dev).
i tried installing it and it timed out the http request to download itself
asked for help in discord, nobody replied
googled, nobody had had a similar issue
I tried it a couple years ago and got the impression that the build processes for half the targets are broken or at least buggy. I could only get the code I wrote to run on NekoVM.
Haxe is my favorite programming language but it will never gain traction because there will never a a "Haxe job". No one will ever hire you to code in Haxe. The foundation is not corporatized at all and has no corporate backing, so there are no evangelists to convince tech leads to use the language.
That is just as well though. One of the best things about Haxe is that it is the consummate hobbyist language. Super fun, aesthetic, gives the dev control to do anything and have fun how they want. There aren't millions of corporatist pajeets shitting up the language, it really is empowering. no one is there to say "this is the Haxe way of doing it." It's just all fun all the time. I've become a much better dev coding in Haxe because I feel so empowered. Honestly coding in Haxe has the same fun, aesthetic feel as coding in Ruby, except with non-moronic syntax.
Actually bern using it for a bit
Only usage to make flash games on Inkbunny and e621 (with HaxeFlixel)
rajesh i can smell you from here
>manual memory management in AD 2024
no thx
Literally yes I am. Haxe with the hashlink target has been my main language since 2022.
How does Hashlink compare to Nekoz speed wise, memory usage etc.?
it is better and faster but there is a lot of legacy neko shit that isn't in hashlink. Either way neko is deprecated so you can't really use it.
I don't but by far some of the most impressive simulation stuff I've seen comes from one guy who uses Haxe so I'm interested in it. https://oimo.io/
replace the x with an r and we're golden
What happened to HaxeDevelop?
I would like to but it compiles very slowly. Otherwise looks like a good language definitely would prefer it over cpp
Its GC sucks ass.
Everything ends up being a stuttery mess.
It's impossible to have smooth animation.
Dead Cells runs real smooth, so do all OpenFL/Haxe flixel games. It's not nearly as fast as custom engine written in C, but it isn't python-slow either.
Maybe something changed since the last time I used it or maybe people have lower standards.
I mean there's a series or somewhat successful FPS games written in garbage collected language and I can clearly notice like 100 ms GC pauses kicking in once in a while in those games.
The only target where Haxe spits out a GC is IIRC C++. For the other targets, the native GC's are used. You can do without GC even when targeting CPP (https://github.com/SomeRanDev/reflaxe.CPP), there's a link in this repo's README for tips on avoiding GC in CPP.
Why should I use it?
transpiles to a bunch of languages
macro system that lets you frick with the AST
zero cost abstractions with first class "abstract" system
advanced pattern matching and algebraic/GADT enums
but i use it mostly because unbelievably I can't find a better language with "normal" non-moronic c-like statically typed syntax but also an "it just werks" easy build process.
>I can't find a better language with "normal" non-moronic c-like statically typed syntax but also an "it just werks" easy build process.
zig?
zig is cool but it is low level and lacks language features I would regularly use
>lacks language features I would regularly use
such as? i'm legit curious
d, nim though the latter is quite special.
I flirted with it briefly 2 years ago because I wanted to learn a language that would let me do anything I want to do on just about any platform (i.e. desktop apps, mobile, web front-end and backend, simple games) and performance wasn't that important to me.
I ultimately went with Clojure instead because the ecosystem, the compilation targets, the state of the documentation and the language itself are all superior for my purposes (I'm not much of a game dev).
i tried installing it and it timed out the http request to download itself
asked for help in discord, nobody replied
googled, nobody had had a similar issue
and that was the end of my journey with Haxe
it's a memelang that can compile to other languages
you lost nothing
I tried it a couple years ago and got the impression that the build processes for half the targets are broken or at least buggy. I could only get the code I wrote to run on NekoVM.
https://github.com/HaxeFoundation/haxe/issues/4238
that thread is funny but also reading it made me smarter.
Bump for haxe... the macro stuff is really nice there (coming from Python)
Haxe is my favorite programming language but it will never gain traction because there will never a a "Haxe job". No one will ever hire you to code in Haxe. The foundation is not corporatized at all and has no corporate backing, so there are no evangelists to convince tech leads to use the language.
That is just as well though. One of the best things about Haxe is that it is the consummate hobbyist language. Super fun, aesthetic, gives the dev control to do anything and have fun how they want. There aren't millions of corporatist pajeets shitting up the language, it really is empowering. no one is there to say "this is the Haxe way of doing it." It's just all fun all the time. I've become a much better dev coding in Haxe because I feel so empowered. Honestly coding in Haxe has the same fun, aesthetic feel as coding in Ruby, except with non-moronic syntax.
anyone ever worked with Heaps (a haxe game engine)? it says it can publish to anything, even consoles