@jrenner

> I just ran the c++ raw pointer and the main_fast example from nim on my linux 
> computer. I got 0.21 for the C++ raw pointer with g++, and 0.18 for the 
> main_fast nim example.

What compiler settings did you use, and which version? I just tried it and 
while it's a lot faster than the first Nim version it still takes almost twice 
as much time as the Ada and C++ versions on my machine (.283 and .276 seconds, 
respectively, vs. .547 for main_fast.nim). I used 
    
    
     nim c -d:release main_fast.nim

with nim 0.18.0, as well as 
    
    
     nim c -d:release --opt:speed main_fast.nim

which doesn't seem to make much difference (except perhaps slow it down a 
little). This was on a MacBook Pro; haven't tried it on Linux yet.

Reply via email to