[haXe] Assembler

Luke Schreur luke.schreur at profero.com.au
Mon Aug 6 09:39:49 CEST 2007


Hi Nicolas,

> For commandline, haXe compiler is commandline based so this is not  
> a big problem. There are no plans to integrate inline assembler  
> into haXe since the compiler generates pretty good bytecode already.

I do not doubt in anyway that the haXe compiler generates good solid  
and optimized code. However, just as the example on hxasm page shows,  
it has about a 30% speed increase (haven't tested it myself though).  
In some instances this is a really nice to have (graphics processing,  
sound mixing etc..). But I guess the amount of work it takes to  
implement such a feature doesn't hold up against the number people  
using it.

Cheers,
Luke


On 06/08/2007, at 5:31 PM, Nicolas Cannasse wrote:

> Luke Schreur a écrit :
>> Hi guys,
>> I was looking at the hxasm page today and that stuff looks pretty  
>> interesting. In the past I've done some stuff with flasm, which  
>> was pretty cool in the day, and I was wondering if there where any  
>> plans of making this assembler more approachable by means of a  
>> command line utility or to include inline assembler to haXe direct?
>
> The idea of hxASM is to be able to generate assembler code at  
> runtime, which is somehow more powerful than FLASM since it enables  
> you to generate a specific method with inlined constants and  
> conditions that you might only know at runtime.
>
> For commandline, haXe compiler is commandline based so this is not  
> a big problem. There are no plans to integrate inline assembler  
> into haXe since the compiler generates pretty good bytecode already.
>
> Best,
> Nicolas
>
> -- 
> haXe - an open source web programming language
> http://haxe.org
>
>


LUKE.SCHREUR | WEB DEVELOPER
PROFERO.COM.AU
FIVE WAYS 220A GLENMORE ROAD PADDINGTON NSW 2021
LUKE.SCHREUR at PROFERO.COM.AU | T +61 2 8915 1870



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20070806/3b0aec4a/attachment-0001.htm


More information about the Haxe mailing list