Es geschah am Sonntag 05 Juni 2005 04:18 als Erik de Castro Lopo schrieb:
I also find Ocaml a better high level language than
Python because
it is strictly and statically typed as well as compiling to native
binaries which come close to the speed of C. The (very flawed IMO)
language shootout puts Ocaml compiled to native binaries as faster
than C++ but slower than C.
Hooo, that is a very brave claim, because it implies C++ binaries to be slower
than _equivalent_ C binaries. I wonder if you can proof it or if you really
compared it with todays C++ compilers.
Browsing the
site, the tutorial shows code lines ending with two
semicola and assignments using a 'let' operator; first bitter pills
to swallow for a friend of code brevity to be sure.
The syntax does have a few warts, but IMO no more than C++.
Which isn't hard, is it?
CU
Christian