Hacker News new | ask | show | jobs
by pjmlp 4129 days ago
So a monolith application gets ported to microservices from an interpreter based version of Ruby to a compiled version of Go and the author is surprised about the gains.

Why do people keep getting amazed about the performance they get when using native code in their applications instead of a naive interpreter?

Not bashing Go, the title could be "From a Ruby monolith to microservices in <pick your language with native compiler available>".

Hey, this could probably even be possible in Ruby, if something like RubyMotion was generally available.

1 comments

Exactly right any language could have worked, and we didn't replaced Ruby, just few part of our big application is rewritten.

I did in Go not because of language is better, ecosystem and culture is better but not language part. I will suggest you to do small real life project in Go.

I wasn't hitting at Go, just making the point any language that native code compilers will do.

Thanks for the suggestion, maybe you should check my history.

Sure. I did :) One question: Why you mentioned RubyMotion as alternative for server application?
Sadly it is not an alternative, because they only sell it for mobile apps.

RubyMotion as an AOT compiler would bring many of the same benefits in terms of performance, while staying in Ruby.

Apparently only Lisp, Scheme and Dylan enjoy the existence of AOT compilers in their toolchains.