News for hackers. Stuff that matters.
Re:Brad Fitzpatrick on the future of Go by tptacek on Tuesday October 14, 2014 @04:56PM (#8455761)
People love to say this, but the observation falls apart quickly under scrutiny. People working in Java are doing so to retain access to the JVM and to the zillion libraries built on it. The JVM with its ecosystem is a colossal asset for Java; one of the greatest in all of commercial software development. (I say this as someone who does not enjoy Java).

Meanwhile: Golang neatly fills in a sweet spot just "below" Python and Ruby, where finer-grained control of memory and more predictable performance characteristics are required, but bare-metal performance isn't. That sweet spot actually describes a huge fraction of all the use cases for C/C++ in Internet software.

So this is a meme I'd like to see die. It somehow manages to simultaneously get Golang, Java, and C++ wrong all at the same time. The only way to make it worse would be to work in some kind of Lisp comparison, based on Golang's parsimony with parenthesis.

Re:Brad Fitzpatrick on the future of Go by nextw33k on Friday October 17, 2014 @03:33AM (#8469822)
That observation is based on history. COBOL used to reign where Java sits now. The nature of corporations is changing, for the last nearly 20 years Java has enabled corporates to capitalise on investments in new hardware at a greater pace than COBOL did.

Golang is the new Java, you are watching it being born. Its not ready for the corporate world, its not on any large organisations radar (apart from its creator for course). The point is that Golang solves the problems of the future, it offer parallel execution to normal programmers.

In the future banks and large companies are going to stop having data centres of their own, CPU's are going to have 32+ cores. Java does not solve those problems natively.

Java is great, its got 40+ years of life left in it, but don't say that Java is strong because of its ecosystem. Ecosystems change from decade to decade.

Re:Brad Fitzpatrick on the future of Go by threeseed on Tuesday October 14, 2014 @06:49PM (#8456253)
Couldn't agree more.

Anyone who thinks Go will ever be a replacement for Java is frankly clueless about enterprise software development. Go has almost non-existant integration with enterprise systems e.g. SAP, Hadoop. It lacks operational management capabilities e.g. JMX. And seriously the range of libraries on the JVM covers pretty much everything e.g. banking/finance use cases.

And concerningly there is not a single reasonably sized Go project to get an understanding of how it works with 20, 50, 100 or 500+ developers working on the same codebase.

Re:Brad Fitzpatrick on the future of Go by kyrra on Tuesday October 14, 2014 @07:23PM (#8456391)
Docker is fairly large, cloc output:

   ----------------------------------------------------------
   Language             files     blank    comment       code
   ----------------------------------------------------------
   Go                     750     14601       9901     115877
   CSS                      8       107        194      10010
   HTML                    11       362         21       3594
   Bourne Shell            28       391        323       2044
   Bourne Again Shell      25       249        185       1475
   Javascript              12       111         48        756
   Python                   1        23         24        192
   C                        1        20         19        179
   YAML                     4        25         13        162
   XML                      1         6          2         60
   make                     2        27          5         60
   Perl                     1        11         37         29
   vim script               2         8          3         13
   ----------------------------------------------------------
   SUM:                   846     15941      10775     134451
   ----------------------------------------------------------
And I believe there are a number of projects internally within Google but they tend not to talk about internal product technologies (at least at how large they are).
Re:Brad Fitzpatrick on the future of Go by threeseed on Tuesday October 14, 2014 @07:42PM (#8456459)
No Docker is not fairly large. It's tiny. 1M - 10M LOC is the size of most of the codebases I've worked on.

Most people simply don't have an understanding of enterprise applications. The majority of the apps are single codebase, Servlet/Spring type monstrosities. They are 10+ years old and have had hundreds of contract developers who come in, add a few new features and then go onto the next contract.

And my point is that I am yet to see what Go would be like in these situations.

Re:Brad Fitzpatrick on the future of Go by tptacek on Tuesday October 14, 2014 @07:59PM (#8456524)
It seems a little unfair to ding Golang for not providing evidence of something Golang was designed to avoid. "Where's all the boilerplate? Where are all the 10 layers of XML mapping? What would an AbstractStrategyFactory even look like?"
Re:Brad Fitzpatrick on the future of Go by pjmlp on Wednesday October 15, 2014 @03:06AM (#8457445)
Rest assured, if Go manages to become a success in the enterprise you will get them.

It happened to every language without exception.

Re:Brad Fitzpatrick on the future of Go by mlvljr on Wednesday October 15, 2014 @07:00AM (#8457867)
But will it happen to one without exceptions, as well?? :)
Re:Brad Fitzpatrick on the future of Go by placeybordeaux on Wednesday October 15, 2014 @10:24AM (#8458543)
Panic/Recover will be used as expections.
Re:Brad Fitzpatrick on the future of Go by ayrx on Tuesday October 14, 2014 @10:46PM (#8456959)
If "enterprise applications" mean over-architectured monstrosities filled with boilerplate code, a hundred levels of indirection and horrible XML configuration files then thank god Go doesn't encourage that.
Re:Brad Fitzpatrick on the future of Go by kasey_junk on Tuesday October 14, 2014 @08:09PM (#8456559)
I think when people claim that Go is a replacement for Java, what they really mean is "Go has similar performance characteristics as the JVM and also doesn't require manual memory management".

Anyone who has ever worked in enterprise software can tell you, Go is (currently) exceptionally poorly suited for that style of development. I don't think that is an accident though. I think there is at least the implication that enterprise software development models and architectures are flawed at the core. Go seems to be designed from the start to prevent you from developing that way.

I may be reading more into the Go culture than I should, and I certainly don't think that there is proof that enterprise software can't be successful, but Go clearly steers you into building small, self contained servers that do one thing well and can go without change for a long time.

Re:Brad Fitzpatrick on the future of Go by cnbuff410 on Tuesday October 14, 2014 @07:06PM (#8456324)
> there is not a single reasonably sized Go project

I'm not sure if I misunderstood your statement, but Go has Docker, CoreOS and numerous other projects which have more than 20 developers working on the same codebase.

Re:Brad Fitzpatrick on the future of Go by threeseed on Tuesday October 14, 2014 @07:29PM (#8456416)
Docker and CoreOS are tiny compared to many enterprise Java apps. And they don't have 20 full time, active developers all contributing at the same time (at least not from the commit log).

Take for example eBay or Amazon and the huge array of different use cases they support. Those are the typical sized Java applications we are talking about. Insurance, Banking, Finance etc. Legacy integration, payments, reporting, various web front ends. One codebase.

Re:Brad Fitzpatrick on the future of Go by socket on Tuesday October 14, 2014 @10:44PM (#8456951)
You are mistaken if you think Amazon is backed by "enterprise" Java apps from a single codebase.
Re:Brad Fitzpatrick on the future of Go by e12e on Wednesday October 15, 2014 @04:31AM (#8457602)
For what it's worth, a pristine checkout of Eucalyptus[1], that has parts written in Java, appears to be around 430k loc of java (comments and white space included).

Also, OT, didn't realize Eucalyptus had worked so much towards friendly development, and was moving towards including RiakCS as a S3 work-a-like backend[2].

[1] https://github.com/eucalyptus/eucalyptus [2] https://github.com/eucalyptus/eucalyptus/wiki/Scalable-Walru...

[edit: yes, I realize you were probably talking about Amazon the shopping cart, not Amazon the IT infrastructure provider]

Re:Brad Fitzpatrick on the future of Go by SiVal on Wednesday October 15, 2014 @02:28AM (#8457386)
I was under the impression that Amazon was primarily a collection of services written mostly in Perl. Socket, do you know?
Re:Brad Fitzpatrick on the future of Go by kyllo on Wednesday October 15, 2014 @09:57AM (#8458418)
What I've heard from a friend who's a SDE there is that because they have a Service-Oriented Architecture the individual teams can use just about whatever language they feel is best for the particular job. The other teams don't care because they're just making service calls. I'm sure that was mostly Perl in the 90s, but today it is mostly Java, because their HR strategy is basically to hoover up all the fresh CS grads, whose strongest language is almost always Java. And also because when Amazon started building their SOA, Java/XML/SOAP was all the rage.