Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
RubyConf AU 2014: http://www.rubyconf.org.au JRuby is a fast implementation of the Ruby language on the Java Virtual Machine. You may wonder if it can be faster. You may have heard of the slow startup time. Can it load faster? You may have heard that your favorite C extension does not work on JRuby. What about cross-platform C extension API? This talk will discuss these questions. This year (2014), the project will release a major milestone: JRuby 9000 (仮). Main new features of this release include: Ruby 2.1 compatibility New compiler Better InvokeDynamic experience
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In the talk "State of JRuby 2014" presented by Hiro Asari at RubyConf AU 2014, the speaker discusses the current state and future of JRuby, highlighting its advantages and upcoming features. JRuby is a Ruby language implementation on the Java Virtual Machine (JVM) that offers several benefits compared to the standard Ruby implementation (MRI). Throughout the presentation, key points include: - **Performance Comparisons**: JRuby can utilize multiple cores due to its thread management, unlike MRI's global interpreter lock (GIL) which can limit performance on multi-core machines. The JVM's mature garbage collectors also contribute to better performance for memory-intensive tasks. - **Web Server Options**: For Rails developers, JRuby offers various web server options such as TorqueBox, Puma, and Trinidad, which can provide integrated services that optimize deployments. - **Benchmarks and Performance Gains**: The presenter cites several benchmarks demonstrating that JRuby generally outperforms Ruby 2.0 in tasks like JSON serialization and database queries. These improvements are attributed to both JRuby and the TorqueBox framework. - **History and Development**: JRuby has evolved since its inception in 2001, gaining significant features like C extension support and invoke dynamic support in the subsequent versions. The transition to JRuby 9000 aims to bring compatibility with Ruby 2.1 and improve overall performance through architectural updates, including a new intermediate representation (IR) and the experimental Truffle compiler. - **Addressing Startup Times**: One of JRuby’s significant pain points is slow startup times. Optimizations such as Nailgun and Drip are introduced to mitigate these issues, enhancing execution speed by maintaining a warm JVM instance. - **Future Directions**: Looking forward, JRuby will continue to evolve with improvements in performance metrics as the JVM updates. Community involvement is encouraged through Google Summer of Code mentorship opportunities. The main takeaway is that JRuby is not only a viable alternative to MRI but shows promise for substantial performance gains with ongoing development and optimizations, making it worthy of consideration for Ruby developers looking for performance improvements in their applications.
Suggest modifications
Cancel