Re: [dev] [OT]: Go programming language

From: Kris Maglione <maglione.k_AT_gmail.com>
Date: Sun, 15 Nov 2009 07:08:05 -0500

On Sun, Nov 15, 2009 at 12:43:46PM +0100, Szabolcs Nagy wrote:
>On 11/15/09, frederic <fdubois76_AT_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
Received on Sun Nov 15 2009 - 12:08:05 UTC

This archive was generated by hypermail 2.2.0 : Sun Nov 15 2009 - 12:12:10 UTC