(no title)
frehpt | 13 years ago
-Write your application in Go
Option B: -Write application in Ruby
-Profile Ruby application to identify code to be rewritten in C
-Learn C if you don't already know it
-Rewrite various parts of your application in C
-Run Valgrind to search for memleaks
-Ensure that your target systems all have required libs installed
Option A seems much simpler...
awj|13 years ago
papsosouid|13 years ago
Now replace go with ruby and ruby with perl. Go has libraries for 99% of what people are doing with ruby. If you are in that 1%, then you need to evaluate whether or not it is worth writing the library you need or if you should use another language.
threeseed|13 years ago
Option A only seems simpler because you ignore the time/complexity in coding the task at hand.
jthol|13 years ago
frehpt|13 years ago
That's what they used to say about Java...
kgabis|13 years ago
nfm|13 years ago
espadrine|13 years ago
That said, Go wasn't necessarily the better choice, because of the subtlety that made the Go program overflow silently. Writing the solution in Scala or even in JS would have probably given him less of an issue.
reactor|13 years ago