Haxe
| Haxe | ||||
|---|---|---|---|---|
| Paradigma | multi-paradigmaprogrammeren, objectgeoriënteerd programmeren, genericiteit, functioneel programmeren | |||
| Verschenen | 2005 (20 jaar) | |||
| Ontwerper | Simon Krajewski, Nicolas Cannasse, Cauê Waneck | |||
| Ontwikkelaar | Haxe Foundation | |||
| Huidige versie | 4.3.7[1] (9 mei 2025) | |||
| Typesysteem | statisch typesysteem, nominatief typesysteem, dynamisch typesysteem, type-inferentie | |||
| Besturingssysteem | Linux, macOS, Windows | |||
| Licentie | compiler: GPLv2+, std library: MIT | |||
| Bestandsextensies | hx, hxml | |||
| Website | (en) Projectpagina | |||
| ||||
Haxe is een hogere opensource-programmeertaal die in 2005 is ontwikkeld door Nicolas Cannasse. Haxe kan compileren naar bytecode voor verscheidene virtual machines, waaronder JVM, maar er is ook een interpreter. Daarnaast kan Haxe worden gecompileerd naar broncode van andere programmeertalen, waaronder JavaScript, Python en C#.[2] Tegenwoordig wordt de programmeertaal onderhouden door de Haxe Foundation.
Geschiedenis
Haxe, wat toen nog gespeld werd als haXe, werd door Nicolas Canasse begonnen als fork van MTASC, een open source ActionScript 2-compiler. De eerste (bèta)versie verscheen in februari 2006, en versie 1.0 volgde in mei, met, naast support voor AVM-bytecode, NekoVM-bytecode en Flash nu ook support voor JavaScript. Later volgden ook PHP, C++, en tegenwoordig ook Java, C# en nog meer platforms.[2] Tegenwoordig wordt Haxe ontwikkeld door de Haxe Foundation, maar Nicolas Cannasse is nog steeds de leider van het project.[3]
Hello World
Een Hello World-programma kan op de volgende manier worden geschreven in Haxe:
class Main {
static public function main():void {
trace("Hello World!");
}
}
Zie ook
- ↑ "Release 4.3.7"; geraadpleegd op: 10 mei 2025; datum van uitgave: 9 mei 2025.
- ↑ a b Compiler Targets. Haxe - The Cross-platform Toolkit. Gearchiveerd op 26 april 2022. Geraadpleegd op 14 maart 2022.
- ↑ History. Haxe - The Cross-platform Toolkit. Gearchiveerd op 4 juni 2022. Geraadpleegd op 21 maart 2022.
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.