Live data from Hacker News

HaXe - Code Once. Deploy Everywhere.

haxe.org

61–62 of 62 posts

Re: HaXe - Code Once. Deploy Everywhere.

#61

Ah, "code once. deploy everywhere." Few examples of marketing to engineers spark quite the same level of skepticism as this oft-repeated claim. Ignoring, for a moment, the complexity of deploying software across multiple platforms, it's important to remember the multiple form-factor problem. The same software doesn't work from a user's standpoint on multiple platforms if the UI isn't correct for that device. The best…

But would you use haXe for UI work? To me the language seems useful in a scenario where you write your core business logic in it, export to said languages and then write Adapters and Facades to plug it into the platform of choice.

I would not use it for UI work where I want a system style UI, with native components. Something such as Titanium Appcelerator is better for that.

I would not use it to make a website UI, that is for HTML / CSS.

I do use it for games. I do use it for server side programming. I do use it for complex Javascript (including games).

It's write once, deploy smartly. Of course I can't write a server side program and then have it run on my phone, that doesn't even make sense!

Re: HaXe - Code Once. Deploy Everywhere.

#62
post #28

Earlier quoted context omitted.

The biggest problem for Haxe is with appropriate JavaScript libraries that abstract the shrinking number of differences between browsers, plus the advent of NodeJS working on pretty much every possible operating system, JavaScript is becoming what Haxe wants to be.

Interesting, I didn't realize that. Perhaps this isn't random bashing then, but a response to a perceived threat.

Ah, but there is a reason people also write NodeJS in haxe. You get compile time checking, code completion etc. And clean Javascipt code at the end ...
Post reply on HN