SlideShare ist ein Scribd-Unternehmen logo
1 von 34
Downloaden Sie, um offline zu lesen
Rava on JRuby
                      Koichiro Ohba / Akasaka.rb
                       大場光一郎 / 赤坂.rb




                2010-08-28;Tsukuba International Congress Center
2010年8月29日日曜日
Self intro.
                •System Integrator

                • JRuby contributer

                • Readline-ffi
                • github.com/koichro/readline-ffi

2010年8月29日日曜日
2010年8月29日日曜日
JRuby is a
                     Ruby
                implementation
                      on
                   JavaVM
2010年8月29日日曜日
A Ruby
                 Implementation
                must meet Ruby s
                  specification

2010年8月29日日曜日
compatibility


2010年8月29日日曜日
High
                priority
2010年8月29日日曜日
RubySpec

2010年8月29日日曜日
Runnable
                 Specs
2010年8月29日日曜日
be maniac
                 to achieve
                compatibility

2010年8月29日日曜日
POSIX
                compatib
2010年8月29日日曜日
Threre are
                 many Ruby
                   API s
                 which are
                based on libc
2010年8月29日日曜日
That s why
                JRuby should
                  have libc
                  features
2010年8月29日日曜日
Java Application

                   Abstraction of JavaVM

                Glibc       Libc        MSVCRT
  POSIX


                    Linux     FreeBSD      Windows




2010年8月29日日曜日
JRuby

                   Abstraction of JavaVM

                Glibc       Libc        MSVCRT
  POSIX


                    Linux     FreeBSD      Windows




2010年8月29日日曜日
MacOS(x86_64)
                FreeBSD(i386/x86_64)
                Linux(i386/ppc/s390x/
                        x86_64)
                OpenBSD(i386/x86_64)
                  SunOS(i386/sparc)
                Windows(i386/x86_64)
                       AIX(ppc)

2010年8月29日日曜日
port
                everything,
                even bugs

2010年8月29日日曜日
"foon".lines('').to_a
                # =>
                ArrayIndexOutOfBoundsEx
                ception




2010年8月29日日曜日
JRUBY-4987

                >jruby -v
                jruby 1.5.2
                >jirb
                irb(main):001:0> "foon".lines('').to_a
                Java::JavaLang::ArrayIndexOutOfBou
                ndsException: 4
                      from
                org.jruby.RubyString.each_lineComm
                on(RubyString.java:6530)
2010年8月29日日曜日
完全に一致
                  Absolute
                Compatibility

2010年8月29日日曜日
Rava
2010年8月29日日曜日
Koichi SASADA aka ko1
2010年8月29日日曜日
Rava
                • JavaVM
                 implemented in
                 Ruby

                •Open Source

2010年8月29日日曜日
                • Ruby License
Why Rava is
                choosed in my
                    demo
2010年8月29日日曜日
OOPARTS
2010年8月29日日曜日
Java   Ruby

                Rava   JRuby

                Ruby    Java

                Rava   JRuby
2010年8月29日日曜日
JRuby

                Rava

                JRuby

                Java



2010年8月29日日曜日
Java on JRuby on Rava on JRuby
           on Rava on ....
      Rava      JRuby   Rava    JRuby
     JRuby      Rava    JRuby   Rava
      Rava      JRuby   Rava    JRuby
     JRuby      Rava    JRuby   Rava
      Rava      JRuby   Rava    JRuby
     JRuby      Rava    JRuby   Rava
       Java
2010年8月29日日曜日
2010年8月29日日曜日
JRuby
                Rava
                JRuby
                Rava
                JRuby
                Rava
                JRuby
                Rava
                JRuby
                Rava
                JRuby
                Rava
                JRuby
                Rava
                JRuby
                Rava
                JRuby
                Java
2010年8月29日日曜日
DEMO

2010年8月29日日曜日
github.com/koichiro/rava




2010年8月29日日曜日
Thank
                 you!
2010年8月29日日曜日
Creative Commons
                •   http://www.flickr.com/photos/nasebaer/149146311/

                    •   By datenhamster.org

                •   http://www.flickr.com/photos/recompile_net/
                    4612052730/

                    •   by Naoto Takai

                •   http://www.flickr.com/photos/zen/1867453178/

                    •   by zen Sutherland

                •   http://www.flickr.com/photos/adam79/2393395696/

                    •   by adam79

                •   http://www.flickr.com/photos/alternativetaxonomy/
                    205846749/

                    •   by Olly Wright
2010年8月29日日曜日

Weitere ähnliche Inhalte

Ähnlich wie Rava on JRuby

The Essence of Using Ruby on Rails in Corporations 2nd
The Essence of Using Ruby on Rails in Corporations 2ndThe Essence of Using Ruby on Rails in Corporations 2nd
The Essence of Using Ruby on Rails in Corporations 2nd
Koichiro Ohba
 
20100626-We-Think-We-Act
20100626-We-Think-We-Act20100626-We-Think-We-Act
20100626-We-Think-We-Act
Koji SHIMADA
 
20101001-Introduction-to-Developer-Testing-With-Ruby
20101001-Introduction-to-Developer-Testing-With-Ruby20101001-Introduction-to-Developer-Testing-With-Ruby
20101001-Introduction-to-Developer-Testing-With-Ruby
Koji SHIMADA
 
Rubyを楽しくする第一歩!ブロックを理解する!
Rubyを楽しくする第一歩!ブロックを理解する!Rubyを楽しくする第一歩!ブロックを理解する!
Rubyを楽しくする第一歩!ブロックを理解する!
Kanako Kobayashi
 
"Ordinary" System Development
"Ordinary" System Development"Ordinary" System Development
"Ordinary" System Development
Shintaro Kakutani
 
MacRuby を使ってみました
MacRuby を使ってみましたMacRuby を使ってみました
MacRuby を使ってみました
Yoshiyuki MIYAGI
 

Ähnlich wie Rava on JRuby (10)

RubyによるMac OS Xデスクトップアプリケーション開発入門--Snow Leopard対応版
RubyによるMac OS Xデスクトップアプリケーション開発入門--Snow Leopard対応版RubyによるMac OS Xデスクトップアプリケーション開発入門--Snow Leopard対応版
RubyによるMac OS Xデスクトップアプリケーション開発入門--Snow Leopard対応版
 
Ruby
RubyRuby
Ruby
 
The Essence of Using Ruby on Rails in Corporations 2nd
The Essence of Using Ruby on Rails in Corporations 2ndThe Essence of Using Ruby on Rails in Corporations 2nd
The Essence of Using Ruby on Rails in Corporations 2nd
 
20100626-We-Think-We-Act
20100626-We-Think-We-Act20100626-We-Think-We-Act
20100626-We-Think-We-Act
 
20101001-Introduction-to-Developer-Testing-With-Ruby
20101001-Introduction-to-Developer-Testing-With-Ruby20101001-Introduction-to-Developer-Testing-With-Ruby
20101001-Introduction-to-Developer-Testing-With-Ruby
 
Rubyを楽しくする第一歩!ブロックを理解する!
Rubyを楽しくする第一歩!ブロックを理解する!Rubyを楽しくする第一歩!ブロックを理解する!
Rubyを楽しくする第一歩!ブロックを理解する!
 
Reading 1st dRuby
Reading 1st dRubyReading 1st dRuby
Reading 1st dRuby
 
"Ordinary" System Development
"Ordinary" System Development"Ordinary" System Development
"Ordinary" System Development
 
JRuby on Rails
JRuby on RailsJRuby on Rails
JRuby on Rails
 
MacRuby を使ってみました
MacRuby を使ってみましたMacRuby を使ってみました
MacRuby を使ってみました
 

Mehr von Koichiro Ohba

20140517 岡山オープンセミナー
20140517 岡山オープンセミナー20140517 岡山オープンセミナー
20140517 岡山オープンセミナー
Koichiro Ohba
 
Agile Shibuya github_enterprise
Agile Shibuya github_enterpriseAgile Shibuya github_enterprise
Agile Shibuya github_enterprise
Koichiro Ohba
 
Cuvic OnDemand on JRuby
Cuvic OnDemand on JRubyCuvic OnDemand on JRuby
Cuvic OnDemand on JRuby
Koichiro Ohba
 
Social Coding With JRuby
Social Coding With JRubySocial Coding With JRuby
Social Coding With JRuby
Koichiro Ohba
 
Abstraction of JRuby Kaigi2010
Abstraction of  JRuby Kaigi2010Abstraction of  JRuby Kaigi2010
Abstraction of JRuby Kaigi2010
Koichiro Ohba
 
Introduction of JRuby Kaigi 2010
Introduction of JRuby Kaigi 2010Introduction of JRuby Kaigi 2010
Introduction of JRuby Kaigi 2010
Koichiro Ohba
 
AppEngine/Jruby at SendaiRubyKaigi02
AppEngine/Jruby at SendaiRubyKaigi02AppEngine/Jruby at SendaiRubyKaigi02
AppEngine/Jruby at SendaiRubyKaigi02
Koichiro Ohba
 
The Power to Produce Termtter
The Power to Produce TermtterThe Power to Produce Termtter
The Power to Produce Termtter
Koichiro Ohba
 
JRuby Hot Topics 2008-12-12
JRuby Hot Topics 2008-12-12JRuby Hot Topics 2008-12-12
JRuby Hot Topics 2008-12-12
Koichiro Ohba
 
The Essence of Using Ruby on Rails in Corporations
The Essence of Using Ruby on Rails in CorporationsThe Essence of Using Ruby on Rails in Corporations
The Essence of Using Ruby on Rails in Corporations
Koichiro Ohba
 

Mehr von Koichiro Ohba (18)

20140517 岡山オープンセミナー
20140517 岡山オープンセミナー20140517 岡山オープンセミナー
20140517 岡山オープンセミナー
 
サラリーマン
サラリーマンサラリーマン
サラリーマン
 
Ruby which Supports Social Platform
Ruby which Supports Social PlatformRuby which Supports Social Platform
Ruby which Supports Social Platform
 
グリーを支えるソーシャルコーディングのすべて
グリーを支えるソーシャルコーディングのすべてグリーを支えるソーシャルコーディングのすべて
グリーを支えるソーシャルコーディングのすべて
 
Agile Shibuya github_enterprise
Agile Shibuya github_enterpriseAgile Shibuya github_enterprise
Agile Shibuya github_enterprise
 
Cuvic OnDemand on JRuby
Cuvic OnDemand on JRubyCuvic OnDemand on JRuby
Cuvic OnDemand on JRuby
 
Social Coding With JRuby
Social Coding With JRubySocial Coding With JRuby
Social Coding With JRuby
 
MessagePack for Ruby
MessagePack for RubyMessagePack for Ruby
MessagePack for Ruby
 
Abstraction of JRuby Kaigi2010
Abstraction of  JRuby Kaigi2010Abstraction of  JRuby Kaigi2010
Abstraction of JRuby Kaigi2010
 
Introduction of JRuby Kaigi 2010
Introduction of JRuby Kaigi 2010Introduction of JRuby Kaigi 2010
Introduction of JRuby Kaigi 2010
 
AppEngine/Jruby at SendaiRubyKaigi02
AppEngine/Jruby at SendaiRubyKaigi02AppEngine/Jruby at SendaiRubyKaigi02
AppEngine/Jruby at SendaiRubyKaigi02
 
The Power to Produce Termtter
The Power to Produce TermtterThe Power to Produce Termtter
The Power to Produce Termtter
 
Introduction of record_with_operator
Introduction of record_with_operatorIntroduction of record_with_operator
Introduction of record_with_operator
 
Happy Life Hacking Ruby on Rails
Happy Life Hacking Ruby on RailsHappy Life Hacking Ruby on Rails
Happy Life Hacking Ruby on Rails
 
JRuby Hot Topics 2008-12-12
JRuby Hot Topics 2008-12-12JRuby Hot Topics 2008-12-12
JRuby Hot Topics 2008-12-12
 
The Essence of Using Ruby on Rails in Corporations
The Essence of Using Ruby on Rails in CorporationsThe Essence of Using Ruby on Rails in Corporations
The Essence of Using Ruby on Rails in Corporations
 
「愛されたい!」と思ったときにJavaで書くRubyクラス
「愛されたい!」と思ったときにJavaで書くRubyクラス「愛されたい!」と思ったときにJavaで書くRubyクラス
「愛されたい!」と思ったときにJavaで書くRubyクラス
 
逆引きクイックセミナー
逆引きクイックセミナー逆引きクイックセミナー
逆引きクイックセミナー
 

Rava on JRuby

  • 1. Rava on JRuby Koichiro Ohba / Akasaka.rb 大場光一郎 / 赤坂.rb 2010-08-28;Tsukuba International Congress Center 2010年8月29日日曜日
  • 2. Self intro. •System Integrator • JRuby contributer • Readline-ffi • github.com/koichro/readline-ffi 2010年8月29日日曜日
  • 4. JRuby is a Ruby implementation on JavaVM 2010年8月29日日曜日
  • 5. A Ruby Implementation must meet Ruby s specification 2010年8月29日日曜日
  • 7. High priority 2010年8月29日日曜日
  • 9. Runnable Specs 2010年8月29日日曜日
  • 10. be maniac to achieve compatibility 2010年8月29日日曜日
  • 11. POSIX compatib 2010年8月29日日曜日
  • 12. Threre are many Ruby API s which are based on libc 2010年8月29日日曜日
  • 13. That s why JRuby should have libc features 2010年8月29日日曜日
  • 14. Java Application Abstraction of JavaVM Glibc Libc MSVCRT POSIX Linux FreeBSD Windows 2010年8月29日日曜日
  • 15. JRuby Abstraction of JavaVM Glibc Libc MSVCRT POSIX Linux FreeBSD Windows 2010年8月29日日曜日
  • 16. MacOS(x86_64) FreeBSD(i386/x86_64) Linux(i386/ppc/s390x/ x86_64) OpenBSD(i386/x86_64) SunOS(i386/sparc) Windows(i386/x86_64) AIX(ppc) 2010年8月29日日曜日
  • 17. port everything, even bugs 2010年8月29日日曜日
  • 18. "foon".lines('').to_a # => ArrayIndexOutOfBoundsEx ception 2010年8月29日日曜日
  • 19. JRUBY-4987 >jruby -v jruby 1.5.2 >jirb irb(main):001:0> "foon".lines('').to_a Java::JavaLang::ArrayIndexOutOfBou ndsException: 4 from org.jruby.RubyString.each_lineComm on(RubyString.java:6530) 2010年8月29日日曜日
  • 20. 完全に一致 Absolute Compatibility 2010年8月29日日曜日
  • 22. Koichi SASADA aka ko1 2010年8月29日日曜日
  • 23. Rava • JavaVM implemented in Ruby •Open Source 2010年8月29日日曜日 • Ruby License
  • 24. Why Rava is choosed in my demo 2010年8月29日日曜日
  • 26. Java Ruby Rava JRuby Ruby Java Rava JRuby 2010年8月29日日曜日
  • 27. JRuby Rava JRuby Java 2010年8月29日日曜日
  • 28. Java on JRuby on Rava on JRuby on Rava on .... Rava JRuby Rava JRuby JRuby Rava JRuby Rava Rava JRuby Rava JRuby JRuby Rava JRuby Rava Rava JRuby Rava JRuby JRuby Rava JRuby Rava Java 2010年8月29日日曜日
  • 30. JRuby Rava JRuby Rava JRuby Rava JRuby Rava JRuby Rava JRuby Rava JRuby Rava JRuby Rava JRuby Java 2010年8月29日日曜日
  • 33. Thank you! 2010年8月29日日曜日
  • 34. Creative Commons • http://www.flickr.com/photos/nasebaer/149146311/ • By datenhamster.org • http://www.flickr.com/photos/recompile_net/ 4612052730/ • by Naoto Takai • http://www.flickr.com/photos/zen/1867453178/ • by zen Sutherland • http://www.flickr.com/photos/adam79/2393395696/ • by adam79 • http://www.flickr.com/photos/alternativetaxonomy/ 205846749/ • by Olly Wright 2010年8月29日日曜日