Emrubyconf

718
-1

Published on

Presentation about Rubinius at EMRubyConf during RailsConf11

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
718
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Emrubyconf

  1. 1. RubiniusRubiniusRubiniusRubinius
  2. 2. +1
  3. 3. http://www.flickr.com/photos/sukaina/3506948906/
  4. 4. What isRubinius?
  5. 5. Architecture your application core library standard lib C-API JIT primitives garbagevirtual machine collector
  6. 6. bytecodevirtual machine
  7. 7. Virtual Machine Method Constant Primitive Dispatch Lookup Operations IO Threads Garbage Collector Bytecode Interpreter
  8. 8. generational GC
  9. 9. Generational GC Young Mature Nursery Semi- Space Immix Large Object Space
  10. 10. just-in-time compiler
  11. 11. nativethreads
  12. 12. nativefibers
  13. 13. channels
  14. 14. non-blocking IO
  15. 15. Ruby
  16. 16. threads are good
  17. 17. VM
  18. 18. Array::create(STATE, …)
  19. 19. nativethreads
  20. 20. GIL
  21. 21. globalinterpreter lock
  22. 22. n.times { Thread.new { work() }}
  23. 23. there can be only one
  24. 24. Ruby
  25. 25. many
  26. 26. ~50
  27. 27. Ruby
  28. 28. GC
  29. 29. slab
  30. 30. state localallocation buffer
  31. 31. JIT
  32. 32. non-blocking (mostly)
  33. 33. Ruby
  34. 34. a = []Thread.new { a << rand}Thread.new { a << rand}p a
  35. 35. rvm install rbx-2.0pre
  36. 36. gh:evanphx/rubinius http://rubini.us @rubinius #rubinius
  37. 37. Letʼs discuss...

×