News for hackers. Stuff that matters.
Re:Go’s march to low-latency GC by loeg on Wednesday July 06, 2016 @12:31PM (#12044163)
Go is Java 2.0, but from Google instead of Sun. At least the syntax is a little nicer and less boilerplated.
Re:Go’s march to low-latency GC by fishnchips on Wednesday July 06, 2016 @01:54PM (#12044747)
I sincerely hope Go does not go in that direction. The 'less is more' approach is so far very strong among the Go steering committee.
Re:Go’s march to low-latency GC by Gankro on Wednesday July 06, 2016 @06:31PM (#12046324)
The cruel irony here is that simplicity was a foundational goal and major rallying point for Java. Here's a website from 1997 describing it: http://www.cafeaulait.org/course/week1/16.html

Ignoring the last part that obsesses over the glory of OOP, replacing Java with Go in that page is... pretty spookily familiar!

Re:Go’s march to low-latency GC by fishnchips on Thursday July 07, 2016 @03:36AM (#12047996)
Maybe it's a bit too early to judge but IMO Go has not introduced any new language complexity since its public launch.
Re:Go’s march to low-latency GC by spriggan3 on Wednesday July 06, 2016 @02:27PM (#12044934)
> I sincerely hope Go does not go in that direction. The 'less is more' approach is so far very strong among the Go steering committee.

There is no "less is more" approach in Go. It's more like you can't write something really complex in Go so people use it for trivial things like servers that do almost nothing aside from de-serializing JSON. Try write a large LOB app in pure Go or a fully featured CRM. And see if you can get away with "less is more" when you need to reason about complex business rules, data validation, complex routing, mapping RDBMS data to values, and what not. "less is more" is a mirage. Go short comings will show up pretty fast.

Re:Go’s march to low-latency GC by fishnchips on Wednesday July 06, 2016 @02:37PM (#12044992)
All you're really saying is that Go is not great for web apps. I admit, it is not. So is C. I would not write a CRM in either of these languages.

At codebeat (codebeat.co) we use Go for our backend - very CPU-heavy, complex static analysis workflows. Our frontend is in Rails which is not ideal but probably the best bang for the buck for an early stage startup. This is the beauty of having many tools to choose from.

Re:Go’s march to low-latency GC by spriggan3 on Wednesday July 06, 2016 @04:49PM (#12045808)
> All you're really saying is that Go is not great for web apps. I admit, it is not. So is C.

C is 30 years old, so it has an excuse. Go has none. The fact that it's extremely difficult to write a classic, complex webapp in Go is a proof that this language has serious flaws.

Re:Go’s march to low-latency GC by fishnchips on Wednesday July 06, 2016 @06:43PM (#12046369)
It is just as easy as doing it in Rust or Swift - both being thoroughly modern languages. It's more about the lack of comprehensive frameworks than the language being somehow flawed. I used Go as a backend for mobile apps and it was OK but where it really shines is the kind of workload we do when analysing source code: where you need excellent performance and low memory footprint, all that while keeping the code readable.
Re:Go’s march to low-latency GC by koffiezet on Friday July 08, 2016 @06:38AM (#12054598)
> It's more like you can't write something really complex in Go

Have you recently checked out the bigger projects that are currently being written in Go? You'd be surprised...

> Try write a large LOB app in pure Go or a fully featured CRM.

Woah. Have you tried doing that in C, C++ or Rust? Has anybody? Every language has it's strengths and weaknesses. Sure it's possible to do so in them - but is it a good idea? Not necessarily. I'm not going to write a database engine in Python - but we have timeseries databases being written in Go.

> Go short comings will show up pretty fast.

Every language has shortcomings. Go's major thing seen as a shortcoming is the classic "lack of generics", which arguably is true to some extend - but not it's GC. The thing is - Go's strong points have become clear long before these shortcomings you're talking about. The entire ops-space jumped on it because it solved a few problems plaguing their tools: memory overhead, slowness, dependencies, hard to make portable. Pretty much every major new project related to infrastructure is created in Go.

One of the biggest attractions of Go is it's ability to create programs that perform a lot better than the same thing written in Ruby or Python, which then again allows developers to undertake more ambitious projects.

Re:Go’s march to low-latency GC by buddhu on Wednesday July 06, 2016 @01:10PM (#12044454)
So does that mean Go will finally have generics somewhere around version 5?
Re:Go’s march to low-latency GC by fishnchips on Wednesday July 06, 2016 @01:56PM (#12044754)
Fingers crossed for the Hindley–Milner type system.
Re:Go’s march to low-latency GC by egeozcan on Thursday July 07, 2016 @02:08PM (#12051077)
Even maybe algebraic data types? One can keep dreaming.