Cobra compilation speed
Posted:
Sat Nov 03, 2012 7:14 am
by Nefarel
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?
Re: Cobra compilation speed
Posted:
Sat Nov 03, 2012 12:07 pm
by Charles
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.