4 ms·
You could replace `Go` with `erlang`, `haskell`, `rust`, `nodejs`, `c`, `whatever language faster than ruby` and remain true here, amazing!
by issaria 12y ago
You could replace `Go` with `erlang`, `haskell`, `rust`, `nodejs`, `c`, `whatever language faster than ruby` and remain true here, amazing!
- issaria 12y agoPeople, please don't upvote any post that has fancy word 'Go' in the title!
- jerf 12y agoThis is true, but it's a point worth making every so often too. I created a system with Erlang and Perl that punched well above its weight (in terms of resources allocated to it) because I was able to cleanly separate the "concurrency" into the Erlang and the "reusing tons of existing code and working in a language the devs are familiar with" into the Perl. It's a powerful pattern, and if you are, like I was, stuck in a language with poor speed and in the case of perl no significant concurrency story [1], it's important to hear that there are options other than "throw it all out and start over again in a Cooler Language (TM)". [1]: Perl has plenty of event loop choices, but in terms of trying to maintain thousands of live SSL connections at scale it's a terrible, terrible choice for that connection manager. But it was just fine as a service provider.
- thescrewdriver 12y agoAlmost anything with "Go" in the title gets upvotes on HN.
- briandear 12y agoSimilar to the way Bitcoin was HN upvote bait for a long time.
- steveklabnik 12y agoWhile this is true, the strategies for each are different. For example, the ways you include Rust or C into a Ruby program can be much more varied than the others in your list. This article, for example, chooses a 'shell out' option. While you can still do that with C or Rust, you can also compile them as an extension directly to your Ruby. There's upsides and downsides to both approaches.
- halostatue 12y agoHas anyone written a Ruby extension in Rust yet? That would be very cool to see.
- steveklabnik 12y agoI did! https://github.com/steveklabnik/rust_example https://github.com/steveklabnik/rust_example A Ruby extension written in Rust is also one of the first production uses: skylight.io
- BenTheElder 12y agohttp://blog.skylight.io/bending-the-curve-writing-safe-fast-native-gems-with-rust/ http://blog.skylight.io/bending-the-curve-writing-safe-fast-...
- Zikes 12y agoIf the title used any of those other languages, you likely would not have made that comment. But it says Go, because the author used Go, but apparently some people are tired of hearing about Go.