Ask HN: Guido van Rossum's comment about go and scratch
I just read this cryptic comment by Guido van Rossum on Twitter: http://twitter.com/gvanrossum
"For all its flaws, I find Scratch (http://scratch.mit.edu/) a more interesting new language than Go (http://golang.org/)"
Go is presented as a systems language for experts; scratch looks like it was designed for kids to learn programming. Can they be compared?
(
26 comments
| 24 points
| on HN
)
Careful saying this around computer scientists, or you might get an earful about Turing machines, etc.
But in any case, isn't Go meant to be a replacement for C and C++? At first glance, Scratch does not seem to fill that niche, so Guido's comment seems a non-sequitur to me.
Scientists wouldn't say that. You're thinking of people who just learned x86 assembly yesterday, and are amazed that they can say "Hello world" in 10x the lines of any other language. "It's all the same!"
I think you mean "Turing completeness". Turing machines are a different thing.
http://www.squeakland.org/
But we (Smalltalkers) didn't get around to building and promoting a web sharing infrastructure for them, so good on the Scratch people. (Oh, and people have actually done systems programming in Smalltalk!)
C++ can have much better startup time. While I no longer buy into the speed thing (the JVM has become quite fast), I still find Java mesurably slow while starting up. So much, in fact, that projects like NailGun were started to improve things.
I hear Java's floating point hurts everyone everywhere: http://www.eecs.berkeley.edu/~wkahan/JAVAhurt.pdf
C++ supports unsigned arithmetic, Java doesn't.
Javas generics use type erasure.
Checked exceptions in Java are a bad idea.
C++ allows tight OS integration.
And so on. While I'll be the first to admit that C++ is far from perfect, I also don't buy that Java improves it. One is better sometimes, the other is better other times, both are terrible in other situations again. I prefer C++ in more cases than I prefer Java, hence my comment.
But.. maybe I missed the point of the comment I replied to, since memory management in Java might really be an improvement over C++.
Why?! C and UNIX are from the worse-is-better camp.
low threshold and no ceiling
For that they are different, and for that they are interesting.
http://golang.org/
http://twitter.com/gvanrossum