Live data from Hacker News

Haxe 4.2

community.haxe.org

91–100 of 105 posts

Re: Haxe 4.2

#91

One thing I still feel disappointed by is that Hashlink VM, the neko replacement, is not yet bundled by default in Haxe

Setting up a hashlink toolchain is really frustrating compared to something like Nim, which also leverages a C compiler.

Re: Haxe 4.2

#92

Anyone know if there's a way to do sound synthesis on the Haxe platform? Obviously there's a way to do sample playback, and at least some the underlying platforms have ways to do it (web audio, core audio, whatever Flash got version 10), but it's never been clear to me when I check it out if there's an abstraction that can target multiple platforms.

There's this: https://grig.tech/ Video about it: https://www.youtube.com/watch?v=IQs2a2KHlpk

Re: Haxe 4.2

#93

I work for a company for a company where we are heavily invested in Haxe and have built our platform in it, which we use to create applications. Doing this allows us to target HTML/JS and Unity3D with the same code base for an application. I'm hoping we might eventually release the platform under some kind of open source license, when it matures a bit more. However at the moment we are struggling a bit to find talent…

Do you also hire remote workers? Not that working in Copenhagen isn't thrilling but moving home is not really an option for me atm.

Have you tried posting in haxe forums [0], posting [1] a job offer to be published in haxe roundups [2], or coming to haxe discord [3]?

[0]: https://community.haxe.org [1]: https://github.com/skial/haxe.io/issues [2]: https://haxe.io [3]: https://discord.gg/t5Bg3j6Bxz

Re: Haxe 4.2

#94
post #83

We used this for a client game project - a Candy Crush clone, about 4 or 5 years ago successfully. The client wanted the game to run on browsers (HTML & Flash for older browsers), iOS and Android, with a fairly tight budget. Having done a lot of AS3, the learning curve was pretty low. There were a reasonable number of specific things to learn about compilation, packaging and handling things like device rotation, view…

Haxe is, or was, used extensively in developing for 'smart' devices, like TVs, I know that either the inventor, Nicolas, or one of the senior Haxe people, was working for Massive Interactive a few years ago doing just this. https://haxe.org/videos/conferences/wwx-2015/haxe-at-massive...

I worked with them on that a few years back. I think they're still using haxe on some smart device projects but not all, sadly (easier to find devs with a typescript codebase..).

I don't think Nicolas worked with them, though. I'm one of Haxe contributors but I don't suppose you were thinking of me.

Re: Haxe 4.2

#95

I work for a company for a company where we are heavily invested in Haxe and have built our platform in it, which we use to create applications. Doing this allows us to target HTML/JS and Unity3D with the same code base for an application. I'm hoping we might eventually release the platform under some kind of open source license, when it matures a bit more. However at the moment we are struggling a bit to find talent…

How can we send you a message?

Sorry I didn't know if one could send PM's on HN. Send me an email on kristian.erikson@laerdal.com and I'll pass it on to the correct people inside our org. We do have a few remote workers already and I imagine the whole Covid/Corona situation is making us look into this even more :)

Re: Haxe 4.2

#96
post #93

I work for a company for a company where we are heavily invested in Haxe and have built our platform in it, which we use to create applications. Doing this allows us to target HTML/JS and Unity3D with the same code base for an application. I'm hoping we might eventually release the platform under some kind of open source license, when it matures a bit more. However at the moment we are struggling a bit to find talent…

Do you also hire remote workers? Not that working in Copenhagen isn't thrilling but moving home is not really an option for me atm. Have you tried posting in haxe forums [0], posting [1] a job offer to be published in haxe roundups [2], or coming to haxe discord [3]? [0]: https://community.haxe.org [1]: https://github.com/skial/haxe.io/issues [2]: https://haxe.io [3]: https://discord.gg/t5Bg3j6Bxz

Those are good ideas also! I will probably look into that. I just love the people here on HN so I couldn't pass up the chance to shamelessly post the message here.

Re: Haxe 4.2

#97

Earlier quoted context omitted.

I meant 'how would it work in a language without pattern matching?' Because it seems to me that it won't. E.g. try this in JavaScript right now with a regular switch statement, it doesn't work. You need actual pattern matching.

'It doesn't work in one particular language that happens to lack pattern matching, therefore it cannot work without pattern matching.' In particular, pattern matching generally entails destructuring, which you do not need in order to make that particular example work.

The example is not just destructuring though. It's actually matching against a data constructor and in another branch binding a name to a value. Those are classic hallmarks of pattern matching.

Re: Haxe 4.2

#98

Earlier quoted context omitted.

[playerA.move, playerB.move] is an array literal value, as are [Rock, Scissors] and the other controlling expressions. The switch simply performs a direct comparison between the two; there need be no destructuring for that to work.

I meant 'how would it work in a language without pattern matching?' Because it seems to me that it won't. E.g. try this in JavaScript right now with a regular switch statement, it doesn't work. You need actual pattern matching.

It won't work in JS because arrays are compared by reference, so it would always fail to match (I think immutable data structures, at proposal stage 2, would provide one potential fix for this, otherwise need a workaround such as bitmasking the array before performing a match). It not working isn't simply that pattern matching isn't present in the language, per se.

Re: Haxe 4.2

#99

Does anyone have any real world experiences with Haxe? I've been hearing about it for years and generally thought "wow, that's neat!" but that's been it. Does it actually achieve what it aims for?

I used it once years ago. A client wanted rotating ads in banners in Flash for a web site. I wanted to be able to reuse the code for JS. We negotiated the copyright staying with me for a discount on the feature. I did it in Haxe (then stylized as something like hAxE or HaXe or so) and compiled it to both targets. It's not a complex thing like Dead Cells, but it was a quick and easy language to pick up and use from zero prior experience with it.

I've not touched it in years, but if I ever do a side project it'll be one of the tools I'm likely to use.

Re: Haxe 4.2

#100

One thing I still feel disappointed by is that Hashlink VM, the neko replacement, is not yet bundled by default in Haxe

Setting up a hashlink toolchain is really frustrating compared to something like Nim, which also leverages a C compiler.

what os/platform are you on?
Post reply on HN