Polyglot Rails Applications in Rubinius

Polyglot Rails Applications in Rubinius

Talk given at Eurucamp 2012 (Berlin).

3db71281264f6125e764d9f3788301e0?s=128

Josep M. Bach (Txus)

August 19, 2012
Tweet

Transcript

  1. Polyglot Rails Applications with Rubinius

  2. Txus /tʃus/

  3. barcelona / berlin

  4. Open Source Warrior

  5. None
  6. LANGUAGE

  7. None
  8. Sapir-Whorf hypothesis

  9. We think through language.

  10. Ruby is expressive.

  11. None
  12. ( LISP )

  13. LANGUAGE is a good thing POLYGAMY

  14. n languages one vm

  15. Why on earth.

  16. EXPRESS ALL THE THINGS

  17. REUSE ALL THE LIBRARIES

  18. HIRE ALL THE TALENT

  19. WHAT DO YOU MEAN I CAN CREATE MY OWN PROGRAMMING

    LANGUAGE
  20. AHA TELL ME MORE

  21. OBJECT ORIENTED NOSCRIPT PROTOTYPAL INHERITANCE TRAIT-BASED COMPOSITION

  22. None
  23. RUBINIUS

  24. Ruby... in Ruby. vm in c++ llvm jit generational gc

    real concurrency
  25. convenient platform for language developers

  26. rubini.us/projects

  27. ruby code ast rubinius bytecode 2 + 3 2 +

    3 push_int 2 push_int 3 meta_send_op_plus
  28. apricot code ast rubinius bytecode (+ 2 3) 2 +

    3 push_int 2 push_int 3 meta_send_op_plus HAPPENED WTF JUST
  29. None
  30. COEXISTENCE IS POSSIBLE

  31. None
  32. None
  33. CALLING RUBY FROM NOSCRIPT

  34. CALLING NOSCRIPT FROM RUBY

  35. LIVE CODING

  36. THANKS! QUESTIONS? @txustice github.com/txus