Posted: Sun Nov 21, 2010 12:04 am Post subject: Vala/Genie versus Python opinion piece
This is fairly impressive.
tightloop.gs compiled with valac tightloop.gs
var a = 0
var b = 100000000
while a < b
print "%d\n", a
and a run rate on my little box
$ valac tightloop.gs
$ time ./tightloop
compared to some similar Python
a = 0
b = 100000000
while a < b:
a += 1
and a runtime of...
$ time ./tightloop.py
...ok then; that's only 60 times slower than Genie at counting to 100 million.
crusty old guy raving ahead
It may not be everyone's cup of tea, but I'd opine that Pythonistas should be taking a serious look at Vala/Genie developments. They are not at a 1.0 reference implementation yet, so there is still time to help out and perhaps influence the languages. http://live.gnome.org/Genie
Posted: Sun Nov 21, 2010 2:43 am Post subject: RE:Vala/Genie versus Python opinion piece
While it seems impressive, it's certainly not surprising given the whole compiled vs. interpreted thing.
Still I've been tempted to look into Vala, especially since its syntax is apparently heavily influenced by C#. If either of these languages had the same backing as Python I'd be much more inclined to use them.