News for hackers. Stuff that matters.
Re:Go: Planning the 1.5 release by tene on Tuesday December 02, 2014 @03:58AM (#8686287)
There are absolutely some scenarios that can be adequately (or better) handled by communicating with another process! I completely agree with you. There's still a large volume of use cases where linking code in-process is a very good fit for the problem.

I am looking forward to go someday being suitable for producing native shared libraries. If they ever prioritize and complete that work, that's something I'll absolutely be taking advantage of, and will extend the situations where I'm able to reasonably use go.

Re:Go: Planning the 1.5 release by marcus_holmes on Tuesday December 02, 2014 @04:41AM (#8686375)
I moved from C# to Go, and one of the things I really loved is the sudden absence of DLL-Hell. I never have to worry that installing my program on another machine would suddenly cause it to bork.

I guess I'm happy importing everything into monster huge static binaries and not worrying :)

Re:Go: Planning the 1.5 release by pjmlp on Tuesday December 02, 2014 @07:15AM (#8686725)
Coming to C# in the form of .NET Native and vCore on Windows.

Mono always supported static linking.

http://www.mono-project.com/docs/tools+libraries/tools/linke...

http://www.mono-project.com/docs/advanced/aot/

Sometimes I wish people would not mix toolchains with languages.

Re:Go: Planning the 1.5 release by marcus_holmes on Tuesday December 02, 2014 @09:30AM (#8687220)
yeah, I get that. But my actual lived experience of working with C# is Visual Studio, Windows, and DLL-Hell.

Whereas the go toolchain is very much a part of the language. The go team don't tell you whether tabs or spaces are canonical, they tell you to run go fmt on your code.

Re:Go: Planning the 1.5 release by pjmlp on Tuesday December 02, 2014 @10:22AM (#8687512)
While I like Go as a better C, I wouldn't use it instead of C#.
Re:Go: Planning the 1.5 release by zak_mc_kracken on Tuesday December 02, 2014 @08:42AM (#8686975)
DLL hell was solved in .net a decade ago. If you need specific versions, ship with your own version in the local directory. Otherwise, .net assemblies solve the problem elegantly.

Go needs to support shared libraries if it wants to move to the next level of adoption.

Re:Go: Planning the 1.5 release by johnny_reilly on Tuesday December 02, 2014 @06:59AM (#8686689)
Marcus, I'm also giving Go a try at the moment (C# is my day job). What are you using tooling-wise? I'm trying out Lite IDE at the moment and that's the best experience I've had yet.

So far my view is that I really like the language but I'm finding the tooling pretty unappealing. Wonder if I'm missing a trick?

Re:Go: Planning the 1.5 release by okatsu on Tuesday December 02, 2014 @07:24AM (#8686743)
I find that Sublime Text with the GoSublime plugin works pretty well. There's "Intellisense" for imported packages and GsLint actively detects syntax errors. Gofmt also takes care of indentation and formatting for you at every save.
Re:Go: Planning the 1.5 release by bkeroack on Tuesday December 02, 2014 @08:21AM (#8686880)
++ to Sublime Text and GoSublime. It's what I use and anecdotally appears to be the most popular Go dev environment.
Re:Go: Planning the 1.5 release by johnny_reilly on Tuesday December 02, 2014 @08:45AM (#8686983)
Thanks both of you - I haven't had a go with GoSublime yet. Now I will!
Re:Go: Planning the 1.5 release by marcus_holmes on Tuesday December 02, 2014 @09:26AM (#8687204)
My experience: you kinda have to rethink what an IDE is. Go comes from the *nix tradition where the "coding environment" is a text editor and a few terminal windows.

I use GoConvey to automagically run my tests and tell me what I broke. I keep this running in a terminal window (so I can CTRL-C stop it) and a browser window.

I have another terminal tab on the same window for godoc, and that's serving another browser window.

I have a terminal tab for git commands and file manipulation (this is the one the terminal window is normally on).

I moved away from SublimeText to Atom (with go-plus) because while the load times suck, the go language support in the tooling is way better. Not that GoSublime is bad, it's not, but Atom just works better for me. I tried vim, and loved it, but the support for the go tools was never quite there, and configuring the bloody thing was a nightmare.

So every time I save a file it automagically runs gofmt, goimports, compiles and runs my tests in goconvey (and tells me what I broke), and colours my test coverage right in the editor.

It's not quite the integrated experience that Visual Studio is, but it's incredibly powerful, and conforms to the unix philosophy of lots of good, small programs working together.

And just for comparison; today I spent 20 mins trying to get a dark theme on VS2010 and had to give up (or hand-pick every colour in what looked like around 100 options)... whereas I have dark themes galore on everything else ;)

Re:Go: Planning the 1.5 release by colin_mccabe on Wednesday December 03, 2014 @05:19AM (#8692870)
There are a lot of good choices out there. Personally, I use vim plus "gocode" to do context-sensitive code completion. gocode is able to parse go, which means that its autocompletion results are pretty good.
Re:Go: Planning the 1.5 release by pjmlp on Tuesday December 02, 2014 @10:37AM (#8687595)
VS2010 ?!? We are already on 2013 with 2015 around the corner.
Re:Go: Planning the 1.5 release by vetinari on Tuesday December 02, 2014 @01:08PM (#8688673)
Tell that to Oracle, who hasn't bothered with OCI libs for VS2013 yet ;)
Re:Go: Planning the 1.5 release by pjmlp on Tuesday December 02, 2014 @02:46PM (#8689372)
ODP.NET works just fine. :)
Re:Go: Planning the 1.5 release by vetinari on Tuesday December 02, 2014 @05:39PM (#8690512)
Not in C/C++ apps :-(
Re:Go: Planning the 1.5 release by pjmlp on Tuesday December 02, 2014 @06:38PM (#8690871)
I see. My employer has abandoned C++ world in 2005, so I only get to play with C++ on hobby projects.
Re:Go: Planning the 1.5 release by marcus_holmes on Tuesday December 02, 2014 @03:00PM (#8689460)
did I mention DLL-Hell? ;)

actually it's because I have a 2010 licence, but none for 2013. Another advantage of Go...

Re:Go: Planning the 1.5 release by pjmlp on Tuesday December 02, 2014 @03:35PM (#8689682)
I don't have DLL hell in our applications since years.

- DLLs are distributed with applications

- Dependencies to GAC libraries are enforced with full version

- we make use of application manifests when needed

> actually it's because I have a 2010 licence, but none for 2013.

Express and Community editions?

We just use MSDN subscriptions.

> Another advantage of Go...

I see some good uses for Go as an improved C, but tooling when compared with JVM and .NET eco-systems is not one of them.

Re:Go: Planning the 1.5 release by bkeroack on Tuesday December 02, 2014 @06:24PM (#8690809)
Tooling actually is a huge advantage. I can install the latest Go distribution and get everything I need to work (minus a text editor).

On the other hand, on top of the JDK I have to install, eg, Eclipse, maven, etc. Not to mention all the crazy frameworks I would need to get any real project off the ground.

Similarly with .NET I have to install a whole host of stuff with Nuget, LINQPad, etc.

Re:Go: Planning the 1.5 release by pjmlp on Tuesday December 02, 2014 @06:37PM (#8690867)
I rather use VisualVM, Eclipse MAT, dotTrace... offer, not that .ps generated file from Go runtime.

I rather use RAD tooling for GUI design, not spending hours doing design by code.

I also prefer to have visual representation of DB schemas and generate code from it.

I could go on with lots of other examples, Go tooling will get there some day when the language gets enterprise adoption.

Re:Go: Planning the 1.5 release by Dewie on Tuesday December 02, 2014 @12:35PM (#8688399)
> My experience: you kinda have to rethink what an IDE is.

An IDE is an integrated development environment; emphasis on integrated. Having to, by yourself, put together a mixed assortment of tools for your development environment doesn't seem to qualify as being integrated. Though of course someone could come and make a program that bundles a lot of tools together and present them as a coherent, integrated package.

(Personally I'm sceptical of IDEs myself and tend to believe more in being able to make your own work-flow and programming environment, which a lot of loosely coupled (ideally not coupled at all) tools makes simpler.)

Re:Go: Planning the 1.5 release by duaneb on Tuesday December 02, 2014 @01:15PM (#8688726)
Integration is a matter of degrees. The trend with recent editors (textmate, sublime, atom) is that they expose more abilities to integrate with simple editor functions. I don't see how this doesn't qualify as integrated.
Re:Go: Planning the 1.5 release by pjmlp on Tuesday December 02, 2014 @03:13PM (#8689538)
They don't offer the developer experience Smalltalk, Interlisp-D, Lisp Machines, Ceres did, nor what modern IDEs are offering.