9 ms·
Step 1: be rob pike. Step 2: invent a pretty basic programming language using your old compiler from Plan 9 while at google. Step 3: be rob pike. ^_^
by arcticbull 7y ago
Step 1: be rob pike. Step 2: invent a pretty basic programming language using your old compiler from Plan 9 while at google. Step 3: be rob pike. ^_^
- kache_ 7y agoThe basic-ness of golang is the best part about it.
- catach 7y agoIt's possible that a huge marketing advantage kept people interested long enough to come to appreciate the benefits of the langauge's basic nature.
- weberc2 7y agoI was drawn to Go because it was the only language at the time (or the only one I came across) that allowed me to build and package software without learning a domain specific language and imperatively stitching together my own build system (looking at you, CMake and Gradle). Basically I want to focus on writing my program, not writing programs to build my program. Go let me run “go build”, and everything Just Worked. It has since become a little more complicated with the introduction of modules, but still vastly better than C++, Java, or Python.
- dev_dull 7y agoThe building and deploying of Go code is refreshingly easy.
- gigatexal 7y agoI came to Go when modules had been released and found it much easier to understand than GOPATH style workflows. I guess to each their own. I agree, go build, and go distribution is so awesome.
- weberc2 7y agoI’m not opposed to modules; there are just some odd edge cases that have given me trouble; probably the error messaging just needs to be improved.
- AnimalMuppet 7y agoI see very little marketing for Go. Compare, for example, to C# when in came out, or Java when it did.
- fortran77 7y agoDid C# have actual "advertising" outside of msdn publications? It came out in 2000 and I don't recall seeing C# ads. (Print publications were out then.) I picked it up early on and still use it (and F#) today. I've written a lot of custom desktop applications in it.
- pjmlp 7y agoYes, The C/C++ Users Journal, DrDobbs, PC World, and Computer Shopper run articles on it. It was actually released in 2001. Unless you are speaking about the alphas that MSFT Certified Partners had access to.
- fortran77 7y agoThey ran articles, of course, but were there "advertisements?" These were publications writing about a major company's major new effort. There's no advertising today, either. What happens is (for example) Rust/Mozilla foundation's people set out to make every thread on every popular forum about Rust.
- pjmlp 7y agoAny kind of press is an "advertisement". That is why people that write about technology are called advocates.
- AnimalMuppet 7y agoIt is my impression (from 18 years later!) that there was a difference. The articles about C#, back in the day, were kind of frustrating to a programmer (or at least to me). There were a lot of words, a lot of description, but not many details (as a programmer would recognize them). The articles were more written for managers than for programmers. That's marketing. (Or so it seems to me. It could be, however, that 18 years ago, I lacked the depth to see the details that were there.) In contrast, Go's "marketing" is much more aimed at programmers. It's got programmer-level details. It's not trying to sell your manager on the language. > What happens is (for example) Rust/Mozilla foundation's people set out to make every thread on every popular forum about Rust. I completely disagree with this characterization.
- matthewmacleod 7y agoThis is true. It is also the worst part about it.
- hu3 7y agoYes. Together with Jetbrain's Goland IDE, Go's simplicity allows for most engineers to hit the ground running in Go projects despite not having familiarity with the language. At least that was my experience while working in a team with newcomers. The lingering issue was package management but then came Go modules and slowly but surely the community is migrating to it from godep and other tools.
- TallGuyShort 7y agoShows me the power of a good standard library. Such a light weight language, but so many tasks that require third-party libraries in other languages are built right in with equally light weight interfaces.
- mfer 7y agoYou forgot that the 3rd co-creator was Ken Thompson.
- candiodari 7y agoYeah but he's become a bit less reachable since.
- mfer 7y agoThe op was talking about being Rob Pike. Just responding that it wasn't just being Rob because Ken was on it, too. Also, Rob mostly doesn't work on Go anymore. Russ Cox now leads it and has for some time.
- dmoy 7y agoThere's a step 1.5 in there about making sawzall too
- meddlepal 7y agoPretty much this, the only reason anyone gave Go any attention was: 1. The pedigree of the creators 2. Google's developer marketing And now we are stuck with it thanks to traction.
- Thaxll 7y agoWhere exactly Google marketed the language, please gave us any example.
- jayd16 7y agoThey talk about it at Google IO, for example.
- Insanity 7y agoBut then to be fair, they also talk about Kotlin and other languages..
- Thaxll 7y agoGoogle I/O has 0 materials about Go.
- coldtea 7y agoToday, because Go has its own conventions. It used to have in 2012, 2013, 2014, etc... https://blog.golang.org/go-videos-from-google-io-2012 https://blog.golang.org/go-videos-from-google-io-2012
- privateSFacct 7y agoAvoid messy, gobbledygook, weak and no typed programming languages along with giant bloatware languages.
- kerkeslager 7y agoWhen Go fanboys say stuff like "avoid weak and no typed programming languages" in relation to Go, it just shows they don't know much about type systems. "No typed programming languages" aren't a thing. Some type is inherent to any programming language that runs on a computer, because at some point you have to shove the data into a range of memory and it will either fit or it won't. Assembly has types. They are very weak types, but they are types. On a continuum of weak vs. strong types, Go is very much a weakly-typed language. If you think it's strongly typed, it's probably because of two things: 1) you don't have any experience with a strongly typed language like Haskell or OCaml, and 2) you don't know the difference between strong/weak types and static/dynamic types. There's a widespread misconception among Go programmers that Go has a stronger type system than Python, which is pretty false: Go's type system is more static than Python's, but it's definitely weaker than Python's in a few ways. Go does have a stronger type system than C, but that's not saying much.
- privateSFacct 7y agoThanks for the follow-up
- root_axis 7y agoWhat qualifies a language as "pretty basic" and why is that a bad or a good thing?
- pjmlp 7y agoBeing basically a copy of Limbo with Oberon-2 method syntax, although we are a bit further than 1992, to start with. And while at it, offering less features as Algol used to have.
- lugg 7y agoI'd love to see algol come back with a fresh syntax.
- dilyevsky 7y agoOffering less features was literally their goal in which they succeeded
- coldtea 7y agoDoesn't change the fact that it can be called "basic" for that...
- weberc2 7y agoYes, I always find it surprising that people evaluate languages on the sheer number of features. As though the hallmark of a good language is having lots of complexity.
- pjmlp 7y agoBecause, the complexity doesn't go away, gets dumped into developers that keep re-writing boilerplate libraries that kind of compensate for the lacking features. It happens all the time. Language gets introduced at the sound of simplicity trumpet, tons of boilerplate libraries eventually appear, then if the language manages to make it in the mainstream, half baked features get introduced 'cause backwards compatibility.
- mattcaldwell 7y agoExcept the Go scheduler is actually pretty complex and really good at what it does...
- eloff 7y agoThe language is simple, the implementation is anything but.
- coldtea 7y agoFrom everything I've read, by people versed in compilers, the implementation is pretty basic too (regarding optimizations, shortcuts, compiler design, etc). In fact, the Go core team themselves have said time and again that they preferred simple implementations and implementation convenience over more powerful but complex ones...
- pcwalton 7y agoThe Go implementation has gotten more sophisticated over time. It now has an optimizing SSA backend, a rather intricate GC, etc. I still disagree with a fair number of the Go implementation design decisions, but I certainly wouldn't call the compiler a basic implementation anymore.
- binarycrusader 7y agoHaving worked on the Go port for SPARC with another person (don't know if it was ever completed), I have to agree with the parent here. The implementation of Go itself (based on 1.5-1.8 when I worked on it) was actually very complex. Large swaths of the codebase were completely uncommented and much of the knowledge about how the system is intended to work resides in the heads of the core Go team.
- arcticbull 7y agoIf only y’all could have just used llvm