Forums

Cobra compilation speed

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

Cobra compilation speed

Postby Nefarel » Sat Nov 03, 2012 7:14 am

I have compared hello world compilation time between Cobra and C# and results were not satisfying. C# compilation was almost instantaneous and Cobra took ~1 second. It is not a lot but I wonder how big difference will be in larger projects. Why is cobra compiler slower? Can it compile as fast as c# compiler?
Nefarel
 
Posts: 6

Re: Cobra compilation speed

Postby Charles » Sat Nov 03, 2012 12:07 pm

The Microsoft C# compiler has had more fine tuning for speed, and by a larger team. Also, Cobra leverages C# as its back-end which has various benefits, but speed is not one of them.

I have some ideas for speeding up Cobra, but so far I haven't heard serious complaints about compilation speed. My priorities are squashing bugs, refining this and that, and getting to 1.0.
Charles
 
Posts: 2515
Location: Los Angeles, CA


Return to Discussion

Who is online

Users browsing this forum: No registered users and 37 guests