[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SV: [pop-dev] Go - a new language from Google



How about putting commstime.go as a chapter on the Wikipedia page?
The code doesn' have to be perfect yet, it will be after some days.

Is that possible, in lexical style?
If not, it would be fast removed..?

I have already edited on that page, if there is a lack of guts..
But I would need the code... (I would rather not, but I _could_)
If I do it, it could be practically impossible to honour the right person (==Carl?)

-----Opprinnelig melding-----
Fra: Mailing_List_Robot [mailto:sympa@xxxxxxxxxx] På vegne av P.H.Welch
Sendt: 12. november 2009 14:31
Til: c.g.ritson@xxxxxxxxxx; pop-dev@xxxxxxxxxx
Kopi: occam-com@xxxxxxxxxx; P.H.Welch@xxxxxxxxxx
Emne: Re: [pop-dev] Go - a new language from Google


Hi Carl,

> > I'd be interested to see how commstime performs :-)
> 
> Quickly hacked this up, using sequential delta (before Peter asks).
> I'll probably look at porting some of the more "real" benchmarks.
> 
> ---
> cgr@shiori test $ ./6.out
> Last value received = 100015
> Time = 263188000 nanosecs
> Time per loop = 2631 nanosec
> Context switch = 657 nanosec
> 
> Last value received = 200015
> Time = 272306000 nanosecs
> Time per loop = 2723 nanosec
> Context switch = 680 nanosec
> 
> Last value received = 300015
> Time = 263596000 nanosecs
> Time per loop = 2635 nanosec
> Context switch = 658 nanosec
> ---

Thanks!  Not too bad ... but the times for occam-pi on the same machine (what was the machine?) are?  ;)

> Not so sure about the syntax of this language...

Yep!  Adam: don't give up on occam4 just yet!!

Peter.