Tag Archives: Haxe

Switched to IMMIX for Internal Garbage Collection

I did a little bit of profiling on the iPhone and found a bit too much time was spent doing garbage collection. The hxcpp runtime has 2 modes – “Boehm GC with explicit statics” and “internal”. The former is from … Continue reading

Posted in hxcpp, iphone | Tagged , , , , | 7 Comments

Haxe, iPhone & C++ At Last

Announcing first official release of c++ on haxe, including Widsows, Mac, Linux and iPhone support. Continue reading

Posted in hxcpp, iphone, neash, nme | Tagged , , , , , | 146 Comments

Haxe on the iPhone – For Real!

To progress this project a bit further, I needed a real device – so I convinced the little woman that an iPod touch would be a good thing to have around. She seems to have taken to it, so now … Continue reading

Posted in hxcpp, iphone, nme | Tagged , , , , , | 24 Comments

A Second Look (iPhone + Haxe)

Once the basics are in place, the rest comes pretty naturally. Just a slight tweak to the MovieClip transformation gets Physaxe doing it’s thing. Performace seems ok-ish in the simulator, not sure how it woud go on the real device.

Posted in hxcpp, iphone, nme | Tagged , , , | 9 Comments

Some Help Getting Started With Hxcpp

Tony at touchmypixel.com has posted some very useful information to help you get started with hxcpp. Be sure to go over there and check it out.

Posted in hxcpp, neash, nme | Tagged , | Leave a comment

Haxe3D C++ Demo.

Nicolas Cannasse has written a 3D engine for flash 10. I have ported this code to neko and c++ using the neash library. To test the code, first extract the contents of the zip and then look in the bin … Continue reading

Posted in Blog, neash, neko, nme | Tagged , , | 5 Comments

Hxcpp 0.4, NME 0.9, Neash 0.9 Released!

What the flash? What is Hxcpp? Hxcpp is the c++ backend for haxe. This means you can compile haxe code to c++ code, and then compile this to a native executable, for Windows, Linux or Mac. What is NME? NME … Continue reading

Posted in flash, linux, neash, neko, nme | Tagged , , , , | 40 Comments

Haxe Preloader For Flash – Written in Haxe.

There has been some talk about creating flash preloaders for haxe. However, these methods step outside the haxe toolchain and add some additional complication. I have come up with a reasonably simple method for creating a haxe preloader in haxe, … Continue reading

Posted in flash, neko, Souce | Tagged , , , | 5 Comments

HXCPP 0.3 Released

I have put together a new version of hxcpp, the c++ backend for haxe. New features include improved coverage of language features. All the unit tests except remoting pass now. I have also cleaned up the ocaml code a bit … Continue reading

Posted in Blog | Tagged , , , | 1 Comment

HXCPP 0.2 – Huge performance increase.

I have switched hxcpp over from using ref-counting to using Boehm garbage collection. I have also added some additional perfromance improvements, such as integer-index field names to make interaction with neko more efficient. The overall result is that for the … Continue reading

Posted in Blog | Tagged , , , , | Leave a comment