On Sun, Nov 15, 2009 at 12:43:46PM +0100, Szabolcs Nagy wrote:
On 11/15/09, frederic <fduboi...@gmail.com> wrote:
and sacrifices some efficiency to have a few higher level language features (gc, interface, string, map, package, init, defer, closure..) as a bonus it has multi tasking support (go, chan, select), good library support and stricter semantics

Be careful what you say. None of those features necessarilly sacrifice efficiency. In fact, garbage collection can be a huge performace boon when implemented properly, in that garbage can be lazily freed in hunks and with minimal locking. Interfaces and packages are free, as far as performance is concerned, though implementations may vary. C strings are slow when you need to get their length. Closures needn't be any more expensive than any other kind of function reference, and C has always had map.

--
Kris Maglione

A program that produces incorrect results twice as fast is infinitely
slower.
        --John Osterhout


Reply via email to