topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 6:59 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: haxe: wirte actionscript on both client and server? Looks nice  (Read 7192 times)

urlwolf

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,837
    • View Profile
    • Donate to Member
Have you seen this?

haxe.

haXe is a high-level object-oriented programming language mainly focused on helping programers develop Websites and Web applications. haXe has been designed to be easily portable across several platforms. The haXe compiler supports the following platforms :
JavaScript : you can generate a single .js file from a set of haXe classes. You can access browser DHTML API as well as crossbrowser APIs such as Xml, Date or XmlHttpRequest... haXe is one of the best available languages to develop middle and large scale AJAX Web Applications.
Flash : haXe can compile a SWF file for Flash Players 6 to 9. The language has great features and is at the same time both strict and dynamic. Using haXe increases productivity compared to ActionScript. All the Flash APIs are available unchanged in haXe so you will quickly get used to the language, and porting your existing code to haXe will be easy.
Neko : haXe can compile bytecode that runs on the Neko Virtual Machine. An haXe program can then be run into the Apache web server (using mod_neko). This allows you to develop the server-side of your website using haXe. haXe has access to all Neko libraries such as filesystem, network, databases... and much more. Since it can easily be extended with additional libraries, haXe can be used to develop full-fledged desktop applications.

Check out types... very nice!

Thoughts?

Nobody seems to be using it out there, but it looks promising.

urlwolf

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,837
    • View Profile
    • Donate to Member
Re: haxe: wirte actionscript on both client and server? Looks nice
« Reply #1 on: January 20, 2008, 09:33 AM »
You can see how easy it is to make a space invaders game in haxe here:
http://filt3r.free.fr/js/game1/

In less than 100 lines of code. It's french, but it's pretty obvious what everything does:
http://filt3r.free.f...-100-lignes-de-code-

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Donate to Member
Re: haxe: wirte actionscript on both client and server? Looks nice
« Reply #2 on: January 30, 2008, 09:35 AM »
It is quite a way down my list, but haxe is on my list of thing to play with. It looked nice from what I read on their website. However, the more I move from thinking about coding to actually coding I am toying with the idea of just sticking with Python for *everything*. I feel I could be more productive being *very* skillful with Python then somewhat skillful at dozens of languages/frameworks/etc.

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: haxe: wirte actionscript on both client and server? Looks nice
« Reply #3 on: July 26, 2010, 10:08 PM »
Has anyone been looking into this lately? I am kind of thinking to look at it more seriously mainly due to flash and javascript stuff.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: haxe: wirte actionscript on both client and server? Looks nice
« Reply #4 on: July 26, 2010, 10:11 PM »
kartal, how about spending the next week making a game with haxe for this: https://www.donation...ndex.php?topic=22922

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: haxe: wirte actionscript on both client and server? Looks nice
« Reply #5 on: July 27, 2010, 10:50 AM »
mouser, sure that is geenrally good diea if one wants to learn some new language. I just do not think that I will be able to have the dedicated focus for this contest. I need to learn a new language, come up with a game idea and actually make it. It sounds fun,but it is just a matter of timing issue for me. Although I would definetely be interested in how Haxe fits into this kinds of situations.