Ruby experts compared the scripting languages of the rival PHP (Hypertext Preprocessor) language and Java during a panel session at the CommunityOne conference in San Francisco on Monday.
After an audience member asked why he should choose Ruby over PHP, panelists cited benefits such as test-driven development.
"There's a culture that's sprung up around Ruby," and the companion Ruby on Rails framework that is different from PHP, said Charles Nutter, a Sun engineer who has worked on the JRuby project. JRuby provides a version of Ruby to run on the Java Virtual Machine.
"You are pretty much ostracized from the Ruby world unless you're doing test-driven development," and writing good tests, Nutter said.
With PHP, everyone has his or her own way of doing applications, he said. Testing and tried-and-true design patterns are not part of PHP culture, Nutter said.
PHP, said moderator Mark Driver, an analyst at Gartner, is "ridiculously easy to learn." PHP and ColdFusion enable developers to do an "amazing" amount of work, he said.
"But you do tend to hit the limit when your architectural complexity goes beyond a certain space," Driver said.
The panel also pondered whether Ruby could compete with the Java language. Driver said developers he has spoken with have used words like "elegant" and "beautiful" to describe Ruby. These, Driver said, were "things I hadn't heard in the Java world, quite frankly."
Panelist Thomas Enebo, a JRuby core developer at Sun, said Ruby was created to be fun. "If something is fun to you, it is going to end up being productive as a byproduct," Enebo said.
Java, said panelist David Koontz, president of Happy Camper Studios, is a higher level system language whereas Ruby is an application language. A system language is faster when an application needs to be fast, he said.
Unlike Java Ruby does not have a formal design body for the language, an audience member said. Java is overseen by the Java Community Process (JCP). He wondered if Ruby would need a formal standardization process.
Ruby has lured people who want to create their own language features, said panelist Sarah Mei, an independent developer. But Ruby has been attracting more people who want a formal process and that is probably the way it will go, Mei said.
Nutter cited a project that spawned out of the Rubinius virtual machine effort that would create specification tests for Ruby. "That's really probably going to start helping us define what Ruby is today," and help determine what happens tomorrow, he said.
Also, Ruby implementers have gotten together to determine features planned for Ruby via the IRC effort, Nutter said.
Asked about efforts to run Ruby on multi-core systems, Nutter said JRuby is native-threaded, supporting multiple threads. Efforts are afoot for the standard implementation of Ruby to support this as well, he said. Fine-grained locks will be needed around C structures in Ruby, he said.
Panelists also cited NetBeans and CodeGear's 3rdRail as useful tools for Ruby and Ruby on Rails.
Latest on Java
- New Groovy cozies up to Java, SQL
- Sun to shed light on latest Java technologies
- Ruby shining on Java, Windows, and Mac OS
- Benioff trumpets Force.com platform's success
- Apache readies Tomcat Java servlet container upgrade
- Java, BlackBerry desktop get security bug fixes
- PayPal launches competition for Aussie devs
- Interview: PayPal's developer network senior director, Naveed Anwar, and VP, platform and emerging technologies, Osama Bedier
- Ruby apps development readied for Android
- Stock service's data warehouse now delivers in seconds, not hours
Development Essentials
- Security experts name top 25 programming screw-ups
- Top 10 wicked cool algorithms
- Facebook app verification fee draws criticism
- Microsoft's openness stressed
- Yahoo's developer platform to launch this week
- Microsoft starts new developer portal
- Google API allows creating apps that can track laptops
- PHP, JavaScript, Ruby, Perl, Python, and Tcl Today: The State of the Scripting Universe
- Analyst: In-house app development fraught with waste
- Is unit testing doomed?
- Instructional Designer (Training Developer) (s15)10/02/2010
Other
I.T. & T
Instructional Designer (Training Developer) (s15) - BUSINESS DEVELOPMENT MANAGER - CONTENT MANAGEMENT SYSTEMS, INTRANETS,10/02/2010
Other
I.T. & T
BUSINESS DEVELOPMENT MANAGER - CONTENT MANAGEMENT SYSTEMS, INTRANETS, - Informatica PowerCenter Consultants10/02/2010
Other
I.T. & T
Informatica PowerCenter Consultants - WEB CONTENT MANAGEMENT SYSTEMS - BUSINESS DEVELOPMENT MANAGER10/02/2010
Other
I.T. & T
WEB CONTENT MANAGEMENT SYSTEMS - BUSINESS DEVELOPMENT MANAGER - Senior Tester9/02/2010
Other
I.T. & T
Senior Tester
Whitepapers
-
A Fundamental Failure | The legal risks of neglecting an IT security assessment -
CIO Executive Guide | Unlocking the Potential of Automated Accounts Payable -
Legacy Tools: Not Built for Today’s Helpdesk -
The Pathways ICT Leadership Development Program | Turning today’s ICT professionals into tomorrow’s business leaders -
Computerworld Strategy Guide: Business Intelligence
TechWorld Blogs
Recent blog posts
- Talk about mobile computing
- iPad arrives: can Apple crack the tablet?
- Linux.conf.au 2010 kicks off in New Zealand
- VMware jumps further into SaaS with Zimbra
- Amarok 2.2.2 released – rock on!
- Happy Nexus Year
- So long 2009, and thanks for another decade in tech
- KDE 4.4 enters beta, bring on mainstream computing
- Chromium OS source released: another way of thinking
- Dell goes Android for mobile market entrance
Recent comments
- Buy 2 get 1 free: Apple iphone 3gs 32gb,Nokia N97,BB Bold,HTC HD
4 hours 39 min ago - My Take:
4 hours 56 min ago - PDA Smart phone users
14 hours 9 min ago - Touch Phone Accessories
14 hours 16 min ago - joo joo
15 hours 8 min ago - Thanks!
1 day 10 hours ago - Transcription mistake
2 days 11 hours ago - Freeway is hardly Australian
2 days 13 hours ago - Great Business Initiative
3 days 8 hours ago - www.mintfly.com
3 days 12 hours ago - also creating unemployment
4 days 5 hours ago - How to save in one page???
5 days 7 hours ago - Well it's 2010 now...
5 days 16 hours ago - Man, catch up. You're being
6 days 17 hours ago - Rhapsody in Australia
6 days 18 hours ago - ipad reaction
1 week 8 hours ago - Capacity Bollenecks
1 week 23 hours ago - not only for "young folks"
1 week 1 day ago - Take action now
1 week 2 days ago - u guys are a idiots. i have
1 week 2 days ago







Comments
Post new comment