Hacker News new | ask | show | jobs
by lmm 4182 days ago
If I'm on a semi-obscure platform like Solaris or GNU/kFreeBSD I'd rate my odds much more highly with Ruby than with something that builds binaries.
3 comments

Why? If you are using a platform like that, would you not be adept at building packages from source?

I agree that Ruby is likely already installed on those, but having watched co-workers fight version dependency problems with Ruby Gems on OSX, I tend to believe nothing is a universal solution.

Adept at building C programs that use standard autoconf? Yes. Adept at building go programs? Not so much, and I probably don't even have the tools installed (unlike with ruby). We'll probably reach a point where go is as much a part of the standard unix install as ruby is, but we're not there yet.
The go toolchain bootstraps a small kernel of itself from normal gcc and I have yet to encounter any outrageous configuration issues. It should be at least as simple as building C programs that use standard autoconf, if not simpler.

I've done some work cross-compiling golang on platforms that are not yet officially supported. I think you'll find the support is really remarkably good.

> I probably don't even have the tools installed (unlike with ruby)

Provided correct versions are in place.

In my aforementioned observations, Gem installation was complicated when the parent app relied on gem versions below the code currently in GitHub.

This is of course a problem not unique to Ruby (see: Default Python version on CentOS), based on the number of versioning utilities for Go. I have also had plenty of problems with autoconf's that don't work.

> and I probably don't even have the tools installed (unlike with ruby)

So your arguments is basically "I'm a Ruby user" ?

I'm neither a Go nor a Ruby user, but I have Go installed on more machines than Ruby... and Ruby is a requisite for running unlike Go!

It takes 2 minutes to google for Go support on all of these platforms. Did you even bother? Go is supported on Solaris and kfreebsd platforms.
brew install go, apt-get install golang, etc
I have ruby installed on those servers right now. Not so much go. I'm not saying go would be impossible, just that it would be harder.
Ok? I bet you can figure this out and I bet it's just as easy as Ruby. http://golang.org/doc/install
Given that getting Ruby installed on those servers involves doing literally nothing, no, it isn't as easy.
You're basically arguing a technicality at this point. How important is it that it takes N time to do X and N+epsilon time to do Y? And how much should this affect one's decision for choosing which programming language to use?
Like C?
Yes. I bet it would take less effort to get a random ruby program running on those machines than a random C program.
You could've installed Go on all your machines with a provisioning script in the amount of time you've wasted being deliberately obtuse in this thread.