[О блоге] [наверх] [пред] [2020-02-21 22:35:14+03:00] [cb0339b9d01e67f121cd15f48bba338064e4d805]
Темы: [go]

ESR под большим впечатлением от Go

http://esr.ibiblio.org/?p=8607

[...]
The Go language really proved itself too. The bet I made on it a year
ago paid off handsomely – the increase in throughput from Python is
pretty breathtaking, at least an order of magnitude and would have been
far more if it weren’t constrained by the slowness of svnadmin dump.
Some of that was improved optimization of the algorithms – we knocked
out one O(n**2) after translation. More of it, I think, was the combined
effect of machine-code speed and much smaller object sizes – that
reduced working set a great deal, meaning cache miss penalties got less
frequent.
[...]
That is 35 lines of easily readable code in Go, and we got no fewer
than 9 uses out of it in various parts of the code! I have never before
used a language in which parallelism is so easy to manage – Go’s
implementation of Communicating Sequential Processes is nothing short
of genius and should be a model for how concurrency primitives are done
in future languages.
[...]

    [оставить комментарий]