Go: A new system programing language
Leandro Lucarella
llucax at gmail.com
Wed Nov 11 14:30:12 PST 2009
Bill Baxter, el 11 de noviembre a las 11:25 me escribiste:
> On Wed, Nov 11, 2009 at 10:55 AM, Walter Bright
> <newshound1 at digitalmars.com> wrote:
> > Bill Baxter wrote:
> >>
> >> It's harder to find those when you're skimming through trying to get
> >> the highlights with a 5 minute limit. :-) What are some things is it
> >> missing?
> >
> > Off the top of my head, some major ones:
> >
> > . exception handling
They say it's a pending, they didn't find a model they liked yet.
> > . generic programming
Same here.
> > . metaprogramming
> > . inline assembler
> > . interface to C
>
> He does say there is a FFI that lets you call C that "coming along
> nicely" or something like that. Not sure how cumbersome it's gonna be
> though.
It's there, here is an example:
http://code.google.com/p/go/source/browse/misc/cgo/gmp/gmp.go?r=release
> > . RAII
> > . immutability for anything but strings
> > . vector operations
> > . operator overloading
> > . purity
> > . CTFE
> > . unit testing
It have a testing framework in the library, and a command line utility to
run the tests.
> > . documentation generation
>
> They have a "godoc" tool written in go already, though.
>
> > . ability to write systems code like implement a GC
> > . conditional compilation
> > . contracts
> > . 80 bit floating point
> > . introspection (runtime or compile time)
It has runtime introspection, they use it a lot (for example, for Printf).
> > . delegates
It has full closures and function literals.
But I agree it lacks a lot of features.
--
Leandro Lucarella (AKA luca) http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
Se va a licitar un sistema de vuelos espaciales mendiante el cual, desde una
plataforma que quizás se instale en la provincia de Córdoba. Esas naves
espaciales va a salir de la atmósfera, va a remontar la estratósfera y desde
ahí elegir el lugar donde quieran ir de tal forma que en una hora y media
podamos desde Argentina estar en Japón, en Corea o en cualquier parte.
-- Carlos Saúl Menem (sic)
More information about the Digitalmars-d
mailing list