Coding

Haxe – cross-platform toolkit

Haxe is a powerful open-source, general-purpose, high-level, multiplatform programming language and compiler that can produce applications and source code for many different platforms using a single unified programming language.

Code written in Haxe can be source compiled to Javascript, PHP, C++, C#, Java, Flash, and NekoVM.

Haxe is a general-purpose language with object-oriented programming, exceptions, and type inference with class parameters. Generic classes, reflectivity, iterators, and functional programming are built-in functionality of the language and libraries.

Features include:

  • Standardized language.
  • ECMA style programming for client-side, server-side & desktop.
  • Fast compiling.
  • Classic Object-Oriented class + interface model (similar to Java).
  • Strict typing but with Dynamic support.
  • Tight type checking.
  • Packages and modules.
  • Generics (type parameters) with one or several constraints, but not variance.
  • Advanced Type Inference for all variables including methods arguments and return types (except member variables).
  • Anonymous Structures with structural subtyping.
  • Strictly typed function types, functions closures and partial applications.
  • Polymorphic Methods (per-method type parameters), with constraints.
  • Optional and constant default value function arguments.
  • Explicit Inline methods and constant inlined variables.
  • Local function declarations with this capturing.
  • Automatic closure creation.
  • Powerful Enums (with constructor parameters and pattern matching) – enums are different from classes and are declared with a finite number of constructors.
  • No statements : only expressions.
  • Exceptions (try/catch).
  • Metadata.
  • Partial function call with callback.
  • Getter/Setter and more with Properties.
  • Method injection with “using” mixin.
  • Conditional Compilation.
  • Iterators.
  • Syntax shortcuts using Macros. The Haxe macro system allows compile-time code-generation without modifying the Haxe syntax.
  • Standard library that works on all platforms.
  • Platform-specific API.

Website: haxe.org
Support: Documentation
Developer: Haxe Foundation
License: MIT Licence

Return to New Programming Languages


Explore Linux

Best Free and Open Source Software - A huge collection of recommended free and open source software covering every major category.
In-depth Linux Software Reviews - Detailed assessments of Linux software covering features, usability and overall quality.

The Big List of Active Linux Distros - An extensive collection of actively developed Linux distributions.
Open Source Alternatives - Alternatives to software and services from Google, Microsoft, Apple, Adobe, IBM, Autodesk, Oracle and others.
Essential Linux System Tools - Indispensable utilities for monitoring, maintaining and managing Linux systems.
Linux Productivity Tools - Useful utilities for improving productivity and streamlining everyday tasks.
Alternatives to Popular CLI Tools - Modern alternatives to familiar command-line utilities supplied with Linux systems.
Awesome Free Linux Game Tools - Tools, utilities and companion software that improve gaming on Linux.
Machine Learning on Linux - Machine learning and deep learning software, self-hosted applications and practical tools.
Saving Money with Linux - Practical ways to reduce electricity consumption and lower computing costs with Linux.
Linux Candy - Fun, entertaining and sometimes delightfully quirky software from the lighter side of Linux.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted