by luriel · 14y ago · 0 comments
Is interesting to contrast his approach building BitC to that of Ken Thompson and Rob Pike (both former colleagues of his at Bell Labs) building Go.
Go has been criticized for "not paying attention to PL research", which might be true, but is already extremely useful and even before its first 'stable' release people already have used to build large systems used in production.
I think what applies to building other kinds of software applies to designing programming languages too: you need something that you can start using to build real systems as soon as possible and then iterate from there based on your experience.
The problem with languages is that changing the language involves throwing away the code you wrote, which discourages one from building real systems with a language that is still changing.
That puts even more value in keeping languages simple. And tools like gofix are also quite nice to help with this.
I suggest that the second approach is better, because we already have a good sense of how to measure useful, so you will always know where you are. Keep your eyes on the prize, as they say.
That is exactly what I am saying. It sounds like they trimmed away too much of C in the process and didn't check to make sure those parts could be added back. I haven't really followed the whole saga though.
Is that a factor of being a better language (for some value of "better"), or of being marketed by famous people working for a famous company?
I really do mean this. Pike et al have Google behind them, and thus not only the Google publicity machine but a whole team of Googlers working actively on making Go work. BitC was a creature of, IIRC, 8 people working on research, and possibly their grad-students if that number doesn't include grad-students already.
Java, that had marketing. As in million dollar campaigns, ads in trade magazines, tons of articles and PR even in NON-tech outlets about the "next big language", a company betting most of its strategy on the language and so on. C# too.
Go? Being made by Google guys that are also battled tested programmers helps, but it's not like the language had any marketing. A website, a mailing list, a blog not that frequently updated, and a few appearances on some tech conferences. That about sums it.
As a language, Dart is more heavily touted by Google. And is made by the famous V8 (and more) guy. But noone is using it.
So, yes, Go is used for its pragmatic merits, not because of marketing.
All that stuff adds up in terms of manpower and budget, and it's out of reach of what a small independent team can do. It's not all about technical merit.
There was video of a talk given by Rob, and a short video intro by Russ Cox. That was pretty much it.
> it has a ton of documentation, including translations for several languages.
The documentation is a fundamental part of the language, mostly the spec and godocs. The translations are all contributed by volunteers.
> And all those appearances at tech conferences take time & money
Most conferences actually cover expenses for speakers, and there have been just a handful of talks given by Google folks about Go.
A (non factual) jump to conclusion.
For one, Go isn't that popular. From the latest TIOBE notes:
"Another interesting observation is that while big software-related companies such as Oracle, Microsoft and Apple all have one of their programming languages in the top 10, Google seems to be incapable to achieve the same.Google's Go language dropped out of the top 50 this month".
Second, Dart is also associated with the brand of Google and the brand of Lars Bak. Yet, it's totally unpopular.
Same goes for Unladden Swallow. Touted by Google, got nowhere, died. (Hell, even things Google spends ton of marketing money on go nowhere: Google Buzz, Google Wave, Google Wallet, ...).
>A lot of people like the language on its merits (although I disagree with pretty much every decision they made), but I believe the reason the language got traction is because of its brand association.
That might get some early interest in the language, but not continued traction (and not that it has much traction, anyway).
People like it because it's fast, the type system gets out of the way, it's not as weird as the lisp-like languages for those used to C syntax, has some cool modern features (from closures, to easy concurrency) and has a big and current standard library.
I also happen like the language on its merits. I also believe that most of those who disagree don't share the design goals of the language designers and wanted mostly just another derivative functional language or some fads-of-the-day-in-academia thing like Scala.
The BitC goal isn't to invent a new language or any new language concepts. It is to integrate existing concepts with advances in prover technology, and reify them in a language that allows us to build stateful low-level systems codes that we can reason about in varying measure using automated tools. The feeling seems to be that everything we are doing is straightforward (read: uninteresting). Would that it were so.
(from http://www.bitc-lang.org/docs/papers/PLOS2006-shap.html)