FORUM WARNING [2] Division by zero (Line: 2933 of /srcsgcaop/boardclass.php)
Should Wikipedia's software be rewritten in Ruby on Rails? -
     
 
The Wikipedia Review: A forum for discussion and criticism of Wikipedia
Wikipedia Review Op-Ed Pages

Welcome, Guest! ( Log In | Register )

> Should Wikipedia's software be rewritten in Ruby on Rails?
Rating  5
LamontStormstar
post
Post #1


Postmaster
*******

Group: Regulars
Posts: 2,360
Joined:
Member No.: 342



Should Wikipedia's software be rewritten in Ruby on Rails? Discuss.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
LamontStormstar
post
Post #2


Postmaster
*******

Group: Regulars
Posts: 2,360
Joined:
Member No.: 342



Java would probably be even slower than PHP. Whenever I go to a website with a java applet, if it is really complex it slows my computer way down.

I know mediawiki spends a whole bunch a month on server costs alone so more efficient coding would save them a lot of mine. I forgot the number and the last time I looked was quite a ways back but my guess is they spend per month about 1/10th of what one of those rich executives the USA gave trillions of dollars to (in the bailout that after it passed the stock markets crashed because investors thought it was a bad bill) spend per day on executive retreats.

So mediawiki spends a lot.

I wouldn't be sure the right language, though I've heard ruby on rails is the new thing. There's also python.

This post has been edited by LamontStormstar:
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Kelly Martin
post
Post #3


Bring back the guttersnipes!
********

Group: Regulars
Posts: 3,270
Joined:
From: EN61bw
Member No.: 6,696



QUOTE(LamontStormstar @ Sat 11th October 2008, 8:35am) *
Java would probably be even slower than PHP. Whenever I go to a website with a java applet, if it is really complex it slows my computer way down.
Server side Java is nothing like client-side java. The slowness you're experiencing is due to your browser launching a JVM inside the browser. Server side Java doesn't have this problem; the JVM is already running in the server and all you get is the same HTML you'd get from the PHP app -- it's just generated that much faster. A properly implemented Java webapp will run rings around a PHP app.

MediaWiki runs 25% faster just by running it within Quercus, which is pretty much just a PHP interpreter written in Java. A full reimplementation in Java would be 50% to 75% faster.

I doubt that a Ruby on Rails implementation would be that much faster as RoR is, like PHP, a fully interpreted language (although the odds are that the RoR interpreter is more efficient than PHP, as PHP's is just about the worst-performing interpreter there is in common use). Java is at least compiled to JVM code. The only way to get faster than that would be to go to a fully compiled language like C or C++.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic
LamontStormstar   Should Wikipedia's software be rewritten in Ruby on Rails?  
Lar   Should Wikipedia's software be rewritten in R...  
Milton Roe   But I tell my clients not to replace perfectly go...  
KamrynMatika   Ruby is slower than PHP. Ruby can be 20x slower th...  
Somey   Personally, now that Delphi for PHP exists, I can...  
LamontStormstar   Personally, now that Delphi for PHP exists, I can...  
Somey   I'm not sure what Delphi for PHP is about. De...  
gomi   Hmm... isn't the native PHP interpreter writt...  
The Joy   I thought Brion Vibber and friends had switched to...  
KamrynMatika   I thought Brion Vibber and friends had switched t...  
Kelly Martin   The PHP interpreter is written in C or C++ (I forg...  
Somey   PHP is a fantastically crappy language. It's a...  
gomi   PHP is a fantastically crappy language. Yes, it is...  
Kelly Martin   PHP is a fantastically crappy language.Yes, it is ...  
GlassBeadGame   [quote name='gomi' post='135661' date='Mon 13th O...  
Kelly Martin   I'm a rank beginner compared to many of you bu...  
GlassBeadGame   I'm a rank beginner compared to many of you b...  
LamontStormstar   I know the site Twitter runs on RoR. Kelly, what ...  
LamontStormstar   Hmmm I thought Python was faster than PHP and Perl...  
gomi   Hmmm I thought Python was faster than PHP and Per...  
dogbiscuit   In the old days MySQL was a no no compared with Po...  


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

-   Lo-Fi Version Time is now:
 
     
FORUM WARNING [2] Cannot modify header information - headers already sent by (output started at /home2/wikipede/public_html/int042kj398.php:242) (Line: 0 of Unknown)