1 / 64

GT.M interface to Ruby

GT.M interface to Ruby. The Performance of M combined with the Flexibility of Ruby. September 18 2013. Contents. Who did it What is Ruby Why a new Language Teaching the Next Generation GT.M from Ruby Globals from Ruby. Who did it ?. Who did it ?. Rob Tweed. Luis Ibanez.

happy
Download Presentation

GT.M interface to Ruby

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. GT.M interface to Ruby The Performance of M combined with the Flexibility of Ruby September 18 2013

  2. Contents • Who did it • What is Ruby • Why a new Language • Teaching the Next Generation • GT.M from Ruby • Globals from Ruby

  3. Who did it ?

  4. Who did it ? Rob Tweed Luis Ibanez

  5. What is it ? M Language M Database

  6. What is it ? Ruby M Database

  7. What is Ruby ?

  8. Ruby Interpreter Compiler

  9. Ruby Large Number of Packages Very Large Community

  10. Ruby

  11. Ruby There is a Ruby Gem for that…

  12. Why a new language ?

  13. What is Spoken ? http://www.ohloh.net/languages/compare 41,642 Open Source Ruby Projects

  14. Significant Project: Cypress

  15. Teaching the Next Generation

  16. Teaching M Language http://www.opensourcesoftwarepractice.org/M-Tutorial/ https://github.com/OSEHR/M-Tutorial

  17. Teaching M Language http://opensource.com/health/12/2/join-m-revolution

  18. Teaching M Language http://rpi.edu/about/index.html

  19. Teaching M Language http://www.albany.edu/cci

  20. Teaching M Language http://www.osehra.org/blog/teaching-m-database-and-m-language-suny-albany-spring-2013-part-i

  21. Teaching M Language MUMPS Exposure Rate 30 97 110 81 28 Fall 2011 Spring 2012 Fall 2012 Spring 2013 Fall 2013

  22. Teaching M Language MUMPS Retention Rate Classes Internships Jobs

  23. Plan B Ruby 54,922 Developers M Database NoSQL https://www.ohloh.net/languages/ruby

  24. Plan B https://www.ohloh.net/languages/ruby

  25. Plan B 327 Million Lines of Code 54,922 Developers 41 Thousand Projects Training https://www.ohloh.net/languages/ruby

  26. Plan B Google: “Ruby Tutorial” http://www.ohloh.net/languages/ruby

  27. Plan B

  28. GT.M from Ruby

  29. GT.M from Ruby Ruby Binary Package SWIG Wrapping C++ Wrapper C - API GT.M

  30. GT.M – C API http://tinco.pair.com/bhaskar/gtm/doc/books/pg/UNIX_manual/ch11s05.html

  31. Code, Code, Code ! Talk is Cheap, Show me the Code ! Linus Torvalds

  32. Technical Journal Article http://code.osehra.org/journal/browse/publication/28

  33. gtm-bindings https://github.com/OSEHRA-Sandbox/gtm-bindings

  34. Tests / Examples https://github.com/OSEHRA-Sandbox/gtm-bindings/tree/master/Testing

  35. Example 01

  36. How to Install First install GT.M apt-get install gtm Coming soon !

  37. How to Install Install gtmruby package: sudogem install gtm

  38. gtm: Ruby Gem

  39. Post-Installation http://www.osehra.org/blog/gtm-binding-ruby

  40. Post-Install export GTMCI= /home/ibanez/src/m.js/Source/gtm_access.ci The full path to gtm_access.ci

  41. Post-Install cp_gtmaccess.m fileto Routines dir It might be at /home/ibanez/src/gtm-bindings/Source

  42. Post-Install Add libgtmshr.so DIRto LD_LIBRARY_PATH Otherwise it must be installed in /usr/lib/fis-gtm/V6.0-000/libgtmshr.so

  43. Example 02 – Set Global

  44. Example 03 – Get Global

  45. Example 04 – Kill global

  46. Example 05 – Order

  47. Example 06 – Query

  48. Example 07 – Execute

  49. Example 08 – Lock Bug ?

  50. Example 09 – Execute more

More Related