4 ms·
I daresay you'd be better off writing a C extension to Ruby than you would bolting a Node app onto a Rails codebase.
by vinceguidry 13y ago
I daresay you'd be better off writing a C extension to Ruby than you would bolting a Node app onto a Rails codebase.
- FooBarWidget 13y agoOnly if you're proficient in C. I think that for a lot of people writing Javascript is the easier option.
- vinceguidry 13y agoA C extension in Ruby can be nothing more than an algorithm implementation accepting strings or numbers and returning such. Where you need proficiency in C is when you're building something substantial in it. The problem with Node is, you have to load up a runtime. That can not only kill your performance gains, but actually make things slower.