Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails meta programming and performance

Rails conventions force framework and gem writers to make extensive use of reflection/meta programming. I've always assumed meta programming to be less efficient, and with the trend of using an ever growing number of gems, the question is - whats the PERFORMANCE impact?

like image 419
Syed Ali Avatar asked Sep 10 '26 07:09

Syed Ali


1 Answers

Programmer productivity >> Software Performance (usually)

Really, don't worry about this... in practice correct algorithms, correct architecture, correct database model and so on are much more important than pure language performance...

X effort not spent on fighting the language (java xml hell, c compilation) is effort spent on designing better algorithms, UX which results in better and more user friendlier application

like image 160
Gregory Mostizky Avatar answered Sep 12 '26 05:09

Gregory Mostizky



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!