HaXe – 1 Language, 9 Targets
Advantages of targeting multiple platforms include the ability to pass objects between different platforms with ease, a single syntax and features (no more need to switch between the ‘java’ or ‘c++’ mindset.) HaXe’s compiler comes with conditional compilation which allows code to be tailored for a specific platform, or multiple. It’s all up to the developer.
Some of the language features of HaXe (meaning this applies for all supported targets!) include:
– Classical Object Oriented class + interface model (similar to Java)
– Strict typing with dynamic support.
– Packages and modules
– Generic types
– Local function declarations, including this capturing
- Powerful enums (with constructor parameters and pattern matching, support for recursion)
- … and more!
See the official site for more.