Haxe: Another multiplatform language

  Peter        2012-06-11 08:08:28       4,614        0    

There are two kinds of programmers: One is using different languages to solve problems, the other is inventing languages to solve problems. Haxe is an emerging open source programming language which is universal, powerful and easy-to-use. Some languages claimed they were multiplatform languages, such as Java, C# and ActionScript. They all are based on some platforms, Java has JVM, C# has .Net and ActionScript has Flash Player. While Haxe is a trule multiplatform language, it can be used to develop native iOS, Android applications, it can also be used to develop web applications, it can be used on server side, also it can be used to develop general desktop applications.


Haxe provides installation packages for Windows, Mac OSX and Linux, you can manual install from source code if you like. Here is the download page.

With Haxe, your program can be compiled into :
  • JavaScript: You can compile Haxe program into a single .js file, it can access DOM APIs and with autocompletion support. All the dependencies are handled on compiling.
  • Flash : Flash has already given up mobile platform. You can compile a Haxe program into a .swf file and it supports Flash Player 6 to 11
  • NekoVM: Compile Haxe program into NekoVM bytecode, used on server side program( such as dynamic web pages), it can also be used in console and desktop applications
  • PHP : you can deploy it easily everywhere
  • C++: Haxe programs can be compiled to C++ source code which is then compiled to native binaries
  • C# nad Java : coming soon

Haxe is a powerful language with many attractive features. The purpose is to give developers a single language to develop all kinds of applications.  It's a good attempt to solve cross-platform development problems. Because it can be compiled into different kinds of codes, so it's should very easy to port to different platforms such as iOS, Android or Windows Phone. But will this language completely remove the pain of cross-platform development? Will it be as powerful as it claimed? We leave it to time. Meantime as the platform providers, we should take more measures to narrow down the difference between different platforms.

Reference : http://mobile.csdn.net/a/20120611/2806538.html

OPEN SOURCE  HAXE  MULTIPLATFORM 

       

  RELATED


  0 COMMENT


No comment for this article.



  RANDOM FUN

HTML H1 H2 H3 H4