SlideShare a Scribd company logo
1 of 19
Download to read offline
#include <stdio.h>

int main(void)
{
  printf(quot;Hello, World!nquot;);
  return 0;
}
class Sample
 def initialize(str)
   @str=str
 end
 def str
   @str
 end
 def str=(str)
   @str=str
 end
end
http://www.rubyist.net/~matz/20071013.html
                                                                             Love/Hate
             1a      1b      2a      2b       3a      3b      4a     4b
                                                                             Ratio

Ruby         10800   11700   914     9850     3140    3970    150    173     7.189

Lisp         758     528     7010    5650     2620    8       216    149     4.536

Python       9420    9860    9340    11600    6820    5430    316    388     4.356

Smalltalk    191     200     2060    3020     8       6       116    647     3.806

Perl         14500   705     15600   916      7060    4930    801    1410    2.859

JavaScript   949     1170    5410    4280     1890    1480    1300   941     1.773

Java         813     23000   955     20800    13900   506     800    13600   1.605

C            6520    6550    795     651      14900   12500   2450   1850    0.766

PHP          852     759     668     652      4260    5170    1110   1180    0.324


       google         Love Like              Hate
Java                                       Ruby
class Sample{
  public static void main(String[] argv) {
    System.out.println(“Hello world”);       print “Hello world¥n”
  }
}




                   Perl                                      Ruby
if ($a==0) {                                 if a==0
  print “Hello world¥n”;                       print “Hello world¥n”
}                                            end
http://www.flickr.com/photos/88413250@N00/780869683/
Tohoku Open Source Conference 2008
Tohoku Open Source Conference 2008
Tohoku Open Source Conference 2008
Tohoku Open Source Conference 2008
Tohoku Open Source Conference 2008

More Related Content

More from xibbar

札幌Ruby会議03のlt
札幌Ruby会議03のlt札幌Ruby会議03のlt
札幌Ruby会議03のltxibbar
 
Fukushima.rb#00
Fukushima.rb#00Fukushima.rb#00
Fukushima.rb#00xibbar
 
仙台Ruby会議02 Pdf
仙台Ruby会議02 Pdf仙台Ruby会議02 Pdf
仙台Ruby会議02 Pdfxibbar
 
地域振興論2009
地域振興論2009地域振興論2009
地域振興論2009xibbar
 
栃木Ruby会議02 Lt途中まで
栃木Ruby会議02 Lt途中まで栃木Ruby会議02 Lt途中まで
栃木Ruby会議02 Lt途中までxibbar
 
tDiaryなどのレガシーウェブアプリをRuby1.9で動かす方法
tDiaryなどのレガシーウェブアプリをRuby1.9で動かす方法tDiaryなどのレガシーウェブアプリをRuby1.9で動かす方法
tDiaryなどのレガシーウェブアプリをRuby1.9で動かす方法xibbar
 
1000speakers仙台
1000speakers仙台1000speakers仙台
1000speakers仙台xibbar
 
More Better Nested Set
More Better Nested SetMore Better Nested Set
More Better Nested Setxibbar
 
Ruby&Active Support for expert 3
Ruby&Active Support for expert 3Ruby&Active Support for expert 3
Ruby&Active Support for expert 3xibbar
 
RubyとActive Support for expert 2
RubyとActive Support for expert 2RubyとActive Support for expert 2
RubyとActive Support for expert 2xibbar
 
Ruby and ActiveSupport for expart
Ruby and ActiveSupport for expartRuby and ActiveSupport for expart
Ruby and ActiveSupport for expartxibbar
 
acts_asを使ってみよう
acts_asを使ってみようacts_asを使ってみよう
acts_asを使ってみようxibbar
 
Rails2 Pr
Rails2 PrRails2 Pr
Rails2 Prxibbar
 

More from xibbar (13)

札幌Ruby会議03のlt
札幌Ruby会議03のlt札幌Ruby会議03のlt
札幌Ruby会議03のlt
 
Fukushima.rb#00
Fukushima.rb#00Fukushima.rb#00
Fukushima.rb#00
 
仙台Ruby会議02 Pdf
仙台Ruby会議02 Pdf仙台Ruby会議02 Pdf
仙台Ruby会議02 Pdf
 
地域振興論2009
地域振興論2009地域振興論2009
地域振興論2009
 
栃木Ruby会議02 Lt途中まで
栃木Ruby会議02 Lt途中まで栃木Ruby会議02 Lt途中まで
栃木Ruby会議02 Lt途中まで
 
tDiaryなどのレガシーウェブアプリをRuby1.9で動かす方法
tDiaryなどのレガシーウェブアプリをRuby1.9で動かす方法tDiaryなどのレガシーウェブアプリをRuby1.9で動かす方法
tDiaryなどのレガシーウェブアプリをRuby1.9で動かす方法
 
1000speakers仙台
1000speakers仙台1000speakers仙台
1000speakers仙台
 
More Better Nested Set
More Better Nested SetMore Better Nested Set
More Better Nested Set
 
Ruby&Active Support for expert 3
Ruby&Active Support for expert 3Ruby&Active Support for expert 3
Ruby&Active Support for expert 3
 
RubyとActive Support for expert 2
RubyとActive Support for expert 2RubyとActive Support for expert 2
RubyとActive Support for expert 2
 
Ruby and ActiveSupport for expart
Ruby and ActiveSupport for expartRuby and ActiveSupport for expart
Ruby and ActiveSupport for expart
 
acts_asを使ってみよう
acts_asを使ってみようacts_asを使ってみよう
acts_asを使ってみよう
 
Rails2 Pr
Rails2 PrRails2 Pr
Rails2 Pr
 

Tohoku Open Source Conference 2008

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6. #include <stdio.h> int main(void) { printf(quot;Hello, World!nquot;); return 0; }
  • 7. class Sample def initialize(str) @str=str end def str @str end def str=(str) @str=str end end
  • 8.
  • 9.
  • 10. http://www.rubyist.net/~matz/20071013.html Love/Hate 1a 1b 2a 2b 3a 3b 4a 4b Ratio Ruby 10800 11700 914 9850 3140 3970 150 173 7.189 Lisp 758 528 7010 5650 2620 8 216 149 4.536 Python 9420 9860 9340 11600 6820 5430 316 388 4.356 Smalltalk 191 200 2060 3020 8 6 116 647 3.806 Perl 14500 705 15600 916 7060 4930 801 1410 2.859 JavaScript 949 1170 5410 4280 1890 1480 1300 941 1.773 Java 813 23000 955 20800 13900 506 800 13600 1.605 C 6520 6550 795 651 14900 12500 2450 1850 0.766 PHP 852 759 668 652 4260 5170 1110 1180 0.324 google Love Like Hate
  • 11.
  • 12. Java Ruby class Sample{ public static void main(String[] argv) { System.out.println(“Hello world”); print “Hello world¥n” } } Perl Ruby if ($a==0) { if a==0 print “Hello world¥n”; print “Hello world¥n” } end
  • 13.