News for hackers. Stuff that matters.
Re:I Love Go; I Hate Go by AnimalMuppet on Tuesday August 02, 2016 @12:59PM (#12211328)
Define "feature".

Go thinks fast compile time is a feature. How fast is your Algol 68 compiler on a ten million line code base?

Re:I Love Go; I Hate Go by devishard on Tuesday August 02, 2016 @02:24PM (#12212004)
1. How many people have 10 million line code bases?

2. How many of those people would have much smaller codebases if they used a more expressive language?

3. Of the people who have 10 million line codebases and would still have 10 million line codebases in a more expressive language, how many of those could actually compile their programs faster if they used a language that allowed partial compilation of only the parts of the code that were changed?

Very few people have Google's problems, and I'm not even completely convinced that Go is the best way to solve Google's problems.

Re:I Love Go; I Hate Go by pjmlp on Tuesday August 02, 2016 @01:33PM (#12211571)
Fast enough for a 60's computer, imagine nowadays.

But if you want numbers, Turbo Pascal 5.5 was doing 34,000 lines/minute[1] on MS-DOS back in 1989.

[1] http://edn.embarcadero.com/article/20803

Re:I Love Go; I Hate Go by AnimalMuppet on Tuesday August 02, 2016 @04:02PM (#12212893)
Turbo Pascal isn't Algol 68. A PC in 1989 isn't a B5000. But even accepting the example, 34,000 lines/minute gets you a compile that takes 294 minutes, or just under 5 hours. That's... not very good.

Of course faster hardware is part of the answer, but I suspect that it doesn't cover nearly all the ground between Turbo Pascal's compile time and Go's.

Re:I Love Go; I Hate Go by pjmlp on Tuesday August 02, 2016 @04:31PM (#12213147)
I gave Turbo Pascal as an example, because even when compared against it, there are many features that Go lacks and Turbo Pascal had.

Besides I am comparing an 8086 with 640 KB against a i7 with 16 GB and three level caches.

Go being fast isn't that much of an achievement in 2016.

If Go compiles faster than Turbo Pascal with an 8086 CPU and 640 KB RAM, that is an achievement.

Re:I Love Go; I Hate Go by AnimalMuppet on Tuesday August 02, 2016 @04:43PM (#12213241)
I am going to guess that Go compiles at least 10 times faster than Turbo Pascal. From the numbers you gave, I think at least a factor of ten is left even after you account for the difference in hardware speeds.
Re:I Love Go; I Hate Go by pjmlp on Wednesday August 03, 2016 @01:37AM (#12215833)
So you are stating that Go will compile 10x faster than Turbo Pascal on a 8086 with 640 KB?!

My point is that Go's compilation speed isn't nothing extraordinary, I can keep giving examples of other compiled languages that had equally fast compilers in the the mid-90's.

Oberon, Go's grand daddy could bootstrap itself and build a full working graphical workstation OS in less than one minute if I remember correctly.