On 10/03/2008, at 9:48 AM, Erick Tryzelaar wrote:

> On Sun, Mar 9, 2008 at 1:48 PM, Sandro Magi <[EMAIL PROTECTED]>  
> wrote:
>> This link is broken on the site:
>> http://felix.sourceforge.net/current/speed/en_flx_perf.html
>
> Well isn't that a pain. I'll see if I can fix that. Felix is quite
> fast in the micro benchmarks. Skaller, the main developer can speak
> more about that, but he recently bought a sailboat and for some reason
> is spending more time on it than on felix.

Hey, I only just got Internet connected .. at present I can't run my  
comp
on boat power (need shore power from a marina). That's being fixed
at the moment (2,5Kw inverter, 4 extra solar panels, and 3 extra  
batteries).
Been learning to grind and paint, repair plumbing, wire electrics,
diesel engines, nicking chart plotting software, navigation, weather,
radio operation .. and of course sailing.

Er .. so I've had my hands full "moving house".. :)

> We can actually generate
> faster than g++ code, even though we compile down to c++ and use g++
> as our backend :) I guess we just generate code thats easier to
> optimize. Last I heard, though, our garbage collected stuff can be a
> little slow. Does anyone know the status of it?

The GC is a naive mark and sweep. It's precise over Felix allocated  
objects,
and conservative over the stack. It uses an ultra fast lookup (Judy  
array),
and should outperform the Boehm collector BUT it doesn't track malloc'ed
objects. The tuning mechanism is primitive. For C like programs the GC
is not used so there is only a small overhead. Unlike functional  
languages
Felix tends to allocate a small number of large objects, so the lower  
per object
performance isn't quite as serious as you might think.

Unfortunately, a copying collector would be faster but they're not  
really
compatible with arbitrary C/C++ codes.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to