Download - Introducing haXe
![Page 2: Introducing haXe](https://reader036.vdocuments.net/reader036/viewer/2022081816/558ebee31a28abab518b46a0/html5/thumbnails/2.jpg)
what is haXe?
● opensource● programming language● compiler● multi-target! compiling to:
○ Flash(swf)○ AS3○ JS○ PHP○ C++○ Neko○ Java○ C# demo: HaXenstein
![Page 3: Introducing haXe](https://reader036.vdocuments.net/reader036/viewer/2022081816/558ebee31a28abab518b46a0/html5/thumbnails/3.jpg)
haXe programming language
Test.hx
● ECMAScript-like○ similar to AS3/JS
● type system: strong + dynamic● OOP (and FP!)
![Page 4: Introducing haXe](https://reader036.vdocuments.net/reader036/viewer/2022081816/558ebee31a28abab518b46a0/html5/thumbnails/4.jpg)
haXe programming language
Test.hx
● type inference● iterator● generic type
![Page 5: Introducing haXe](https://reader036.vdocuments.net/reader036/viewer/2022081816/558ebee31a28abab518b46a0/html5/thumbnails/5.jpg)
haXe programming language
● inlining● enum● metadata● macros● remoting● ORM (SPOD)● ...
![Page 6: Introducing haXe](https://reader036.vdocuments.net/reader036/viewer/2022081816/558ebee31a28abab518b46a0/html5/thumbnails/6.jpg)
haXe tools
● haXe compiler○ VERY fast○ code-completion API for IDE integration
● haxelib○ opensource library packaging tool○ eg. haxelib install project-name
![Page 7: Introducing haXe](https://reader036.vdocuments.net/reader036/viewer/2022081816/558ebee31a28abab518b46a0/html5/thumbnails/7.jpg)
haXe libraries
![Page 8: Introducing haXe](https://reader036.vdocuments.net/reader036/viewer/2022081816/558ebee31a28abab518b46a0/html5/thumbnails/8.jpg)
NME
http://www.haxenme.org/ haxelib install nme
● Neko Media Engine● Flash-API for C++/Neko target● desktop
○ Windows○ Mac○ Linux
● mobile○ iOS○ Android○ WebOS
![Page 9: Introducing haXe](https://reader036.vdocuments.net/reader036/viewer/2022081816/558ebee31a28abab518b46a0/html5/thumbnails/9.jpg)
Jeash
http://jeash.com/ haxelib install jeash
● Flash-API for JS target● using HTML5 (canvas)
![Page 10: Introducing haXe](https://reader036.vdocuments.net/reader036/viewer/2022081816/558ebee31a28abab518b46a0/html5/thumbnails/10.jpg)
hxOpenFrameworks
http://github.com/andyli/hxOpenFrameworks haxelib install hxOpenFrameworks
● openFramework binding for C++ target● for creative coding, eg. generative art, installation art● desktop only at the moment
○ Windows○ Mac○ Linux
![Page 11: Introducing haXe](https://reader036.vdocuments.net/reader036/viewer/2022081816/558ebee31a28abab518b46a0/html5/thumbnails/11.jpg)
HxSL
● haXe Shader Language● using haXe macros & metadata● compiles to AGAL for Flash 11● probably compiles to GLSL/HLSL soon● HxSL Studio
![Page 12: Introducing haXe](https://reader036.vdocuments.net/reader036/viewer/2022081816/558ebee31a28abab518b46a0/html5/thumbnails/12.jpg)
FAQ
![Page 13: Introducing haXe](https://reader036.vdocuments.net/reader036/viewer/2022081816/558ebee31a28abab518b46a0/html5/thumbnails/13.jpg)
performance?
● Evaluating spritesheet animations on mobileNME(haXe/C++) vs Corona(Lua) vs Flash/Air(AS3)
● Multi-Language-BenchhaXe/C++ vs C++ vs Java
● AS3 vs haXe performancebenchmark with animated fractal
● More HTML5 & HaXe Speed TestshaXe/JS is faster than plain JS!?
![Page 14: Introducing haXe](https://reader036.vdocuments.net/reader036/viewer/2022081816/558ebee31a28abab518b46a0/html5/thumbnails/14.jpg)
target platform libraries?
● Flash○ RobotLegs (RobotHaxe)○ GTween (GTweenHX)○ Actuate○ Flixel (Flixel-Haxe / HaxeFlixel)○ FlashPunk (HaxePunk)○ CasaLib (CasaHx)
● C++○ wxWidgets(waxe)
![Page 15: Introducing haXe](https://reader036.vdocuments.net/reader036/viewer/2022081816/558ebee31a28abab518b46a0/html5/thumbnails/15.jpg)
target platform libraries?
● JS○ jQuery (both as 3rd party and core)○ Dojo Toolkit (bdog-dojo)○ Modernizr (haXe-modernizr)○ Node.js (bdog-node)○ Titanium (desktop / mobile)○ RaphaëlJS (raphaelExtern)
![Page 16: Introducing haXe](https://reader036.vdocuments.net/reader036/viewer/2022081816/558ebee31a28abab518b46a0/html5/thumbnails/16.jpg)
IDE?
● FlashDevelop
● FDT
● more...
![Page 17: Introducing haXe](https://reader036.vdocuments.net/reader036/viewer/2022081816/558ebee31a28abab518b46a0/html5/thumbnails/17.jpg)
community?
● mailing list○ top haXe devs
● Twitter○ #haxe
● blogs○ a list of them○ haXe roundup
![Page 18: Introducing haXe](https://reader036.vdocuments.net/reader036/viewer/2022081816/558ebee31a28abab518b46a0/html5/thumbnails/18.jpg)
Question?