• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Introducing haXe
 

Introducing haXe

on

  • 2,211 views

Introducing haXe, the opensource multi-target language at Software Freedom Day 2011, Hong Kong

Introducing haXe, the opensource multi-target language at Software Freedom Day 2011, Hong Kong

alt url: https://bit.ly/sfdhk-haxe

Statistics

Views

Total Views
2,211
Views on SlideShare
1,861
Embed Views
350

Actions

Likes
2
Downloads
18
Comments
0

4 Embeds 350

http://amanda_hoic.mysinablog.com 313
http://mysinablog.com 18
http://mysinablog.com 18
http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Introducing haXe Introducing haXe Presentation Transcript

    • Introducing haXe Software Freedom Day HK 2011 Andy Li blog.onthewings.net
    • what is haXe?● opensource● programming language● compiler● multi-target! compiling to: ○ Flash(swf) ○ AS3 ○ JS ○ PHP ○ C++ ○ Neko ○ Java ○ C# demo: HaXenstein
    • haXe programming languageTest.hx ● ECMAScript-like ○ similar to AS3/JS ● type system: strong + dynamic ● OOP (and FP!)
    • haXe programming languageTest.hx ● type inference ● iterator ● generic type
    • haXe programming language● inlining● enum● metadata● macros● remoting● ORM (SPOD)● ...
    • haXe tools● haXe compiler ○ VERY fast ○ code-completion API for IDE integration● haxelib ○ opensource library packaging tool ○ eg. haxelib install project-name
    • haXe libraries
    • NMEhttp://www.haxenme.org/haxelib install nme ● Neko Media Engine ● Flash-API for C++/Neko target ● desktop ○ Windows ○ Mac ○ Linux ● mobile ○ iOS ○ Android ○ WebOS
    • Jeashhttp://jeash.com/haxelib install jeash ● Flash-API for JS target ● using HTML5 (canvas)
    • hxOpenFrameworkshttp://github.com/andyli/hxOpenFrameworkshaxelib install hxOpenFrameworks ● openFramework binding for C++ target ● for creative coding, eg. generative art, installation art ● desktop only at the moment ○ Windows ○ Mac ○ Linux
    • HxSL● haXe Shader Language● using haXe macros & metadata● compiles to AGAL for Flash 11● probably compiles to GLSL/HLSL soon● HxSL Studio
    • FAQ
    • performance?● Evaluating spritesheet animations on mobile NME(haXe/C++) vs Corona(Lua) vs Flash/Air(AS3)● Multi-Language-Bench haXe/C++ vs C++ vs Java● AS3 vs haXe performance benchmark with animated fractal● More HTML5 & HaXe Speed Tests haXe/JS is faster than plain JS!?
    • target platform libraries? ● Flash ○ RobotLegs (RobotHaxe) ○ GTween (GTweenHX) ○ Actuate ○ Flixel (Flixel-Haxe / HaxeFlixel) ○ FlashPunk (HaxePunk) ○ CasaLib (CasaHx) ● C++ ○ wxWidgets(waxe)
    • 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)
    • IDE?● FlashDevelop● FDT● more...
    • community?● mailing list ○ top haXe devs● Twitter ○ #haxe● blogs ○ a list of them ○ haXe roundup
    • Question?