Ha Xe - Architecture

Architecture

Development of Haxe was started in October 2005 and the first beta version was released in February 2006. Haxe 1.0 was released in April 2006, with support for Adobe Flash applications.

Haxe is the successor to the open-source ActionScript 2 compiler MTASC, also built by Nicolas Canesse, and is released under the GNU General Public License version 2. Haxe has much in common with ActionScript 3. The Haxe compiler is developed in the OCaml language. No knowledge of OCaml is necessary to develop applications using Haxe.

The Haxe compiler is an optimizing compiler, and contains the following optimization features:

  • Function inlining
  • Constant folding
  • Dead code elimination (DCE)

The performance of applications developed in Haxe varies depending on the target platform, and in the case of ActionScript 3, programs produced using the Haxe compiler usually run faster than programs produced using the Adobe Flex SDK compiler.

To help leverage existing code, the open-source community has created experimental source code converters for the following languages:

  • ActionScript 3 to Haxe
  • C# to Haxe

Advantages to using Haxe include:

  • Platform independence
  • A fully developed high-level language
  • Target devices that only support C++

Read more about this topic:  Ha Xe

Famous quotes containing the word architecture:

    Art is a jealous mistress, and, if a man have a genius for painting, poetry, music, architecture or philosophy, he makes a bad husband and an ill provider.
    Ralph Waldo Emerson (1803–1882)

    Art is a jealous mistress, and if a man have a genius for painting, poetry, music, architecture or philosophy, he makes a bad husband and an ill provider, and should be wise in season and not fetter himself with duties which will embitter his days and spoil him for his proper work.
    Ralph Waldo Emerson (1803–1882)

    No architecture is so haughty as that which is simple.
    John Ruskin (1819–1900)