Is it possible to use Haxe for anything except gamedev and keep the crossplatform aspect? For example for backend webdev, it seems like you can compile to nodeJS and use express, but then you can't really compile to any other platform. You can compile to PHP, but you're also stuck with PHP frameworks. Basically what I'm saying is that for Haxe to be truly crossplatform, it requires Haxe-native frameworks in the targe…
The Joy of Haxe
61–70 of 91 posts
Re: The Joy of Haxe
#62Is it possible to use Haxe for anything except gamedev and keep the crossplatform aspect? For example for backend webdev, it seems like you can compile to nodeJS and use express, but then you can't really compile to any other platform. You can compile to PHP, but you're also stuck with PHP frameworks. Basically what I'm saying is that for Haxe to be truly crossplatform, it requires Haxe-native frameworks in the targe…
Does it realistically make sense to have a web meta-framework that compiles to different backend frameworks such as Node.js or PHP?
I really like the language (after reading the tutorial at least), but I'm not sure where would using it make sense. For backend stuff it just seems completely inferior to Typescript (considering library support especially).
Re: The Joy of Haxe
#63I want to love Haxe but tooling outside of Windows seems limited, although I havent looked at how good VS Code is with it yet, so maybe I'll look into that. Otherwise I am going to stick to D and Python.
Re: The Joy of Haxe
#64I used haxe a lot in the past, but with the newer enhancements to JavaScript I found that I ended up using JavaScript. Destructuring assignment arrow functions and more concise object literals, ... operator enable much more concise and readable code. Haxe seems to be much more conservative in development. Haze is aquiring arrow functions but I think there was quite a degree of initial resistance to the notion. I prop…
Sucks to hear about your experience. Like you said yes arrow functions are slated for the next major release. As for the process, I think it has become a little more stringent for sure. To submit a request for consideration you’d need to submit a proposal on GitHub with attention paid to impact to existing code and impact on future Haxe features- perhaps your feature request wasn’t deemed to be thought out enough? It…
In which case surely it should be discussed, rather than shut down with "no"?
This thread had me interested in Haxe, but reading these comments about the unfriendly, negative responses to proposals has put me right off.
Re: The Joy of Haxe
#65I am glad Haxe is still going strong. I remember when it was an alternate language for the Flash virtual machine- everyone thought it was very cool at the time. Now Flash is dead, long live Haxe!
Re: The Joy of Haxe
#66I want to love Haxe but tooling outside of Windows seems limited, although I havent looked at how good VS Code is with it yet, so maybe I'll look into that. Otherwise I am going to stick to D and Python.
I never used Haxe in windows. I agree that ten years ago tooling wasn't all that great (on linux at least), but now with the focus on VS Code we have a language server following Microsoft's LSP [0] that we can even use on other editors (sublime text, neovim, etc.). [0]: https://langserver.org/
Re: The Joy of Haxe
#67Earlier quoted context omitted.
Some things are generic critiques of haxe: standard library has poor documentation and big feature gaps, often important third party tools are basically abandoned, no support, generated code is extremely hard to debug or understand (both C++ and Javascript outputs for us). Conditional compilation is a horrible, horrible idea period, and is particularly easy to turn into an indecipherable brittle mess in haxe. This wa…
I’d love to hear more. What’s missing from the std features? Where are the docs lacking? I will agree to your point about abandoned third party tools but that happens with any language? It’s just more pronounced on a less popular one. I will also agree about the code it produces: the point of a transpiled language isn’t for its output to necessarily be readable but first and foremost fast. You wouldnt expect c to pro…
One thing that gets me is that the Input/Output section of the official manual [0] has gone unwritten for quite a while, now. [1]
Re: The Joy of Haxe
#68Like the author, I too have the same opinion after having used Haxe for over 5 years. Five years on from starting with Haxe at FontStruct, I’m genuinely surprised to find that I feel no regret whatsoever regarding our decision to go with the technology. I absolutely adore the language. Not only is it awesome at transpiling/compiling to native across this whole spectrum of targets, the language itself keeps surprising…
Re: The Joy of Haxe
#69Earlier quoted context omitted.
I think I get confused, google had/has some transpilers/compiulers and other web tools that were based on Java and Java tooling.
You were probably thinking of GWT and/or Closure-Compiler
Drives me nuts.
Re: The Joy of Haxe
#70Earlier quoted context omitted.
Sucks to hear about your experience. Like you said yes arrow functions are slated for the next major release. As for the process, I think it has become a little more stringent for sure. To submit a request for consideration you’d need to submit a proposal on GitHub with attention paid to impact to existing code and impact on future Haxe features- perhaps your feature request wasn’t deemed to be thought out enough? It…
> perhaps your feature request wasn’t deemed to be thought out enough? In which case surely it should be discussed, rather than shut down with "no"? This thread had me interested in Haxe, but reading these comments about the unfriendly, negative responses to proposals has put me right off.
That said, you can always file an issue in github and have a discussion there. For Haxe it’s a very active location for discussion there.