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:
“In short, the building becomes a theatrical demonstration of its functional ideal. In this romanticism, High-Tech architecture is, of course, no different in spiritif totally different in formfrom all the romantic architecture of the past.”
—Dan Cruickshank (b. 1949)
“And when his hours are numbered, and the world
Is all his own, retiring, as he were not,
Leaves, when the sun appears, astonished Art
To mimic in slow structures, stone by stone,
Built in an age, the mad winds night-work,
The frolic architecture of the snow.”
—Ralph Waldo Emerson (18031882)
“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 (18031882)