640 likes | 901 Views
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.
E N D
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 ? Rob Tweed Luis Ibanez
What is it ? M Language M Database
What is it ? Ruby M Database
Ruby Interpreter Compiler
Ruby Large Number of Packages Very Large Community
Ruby There is a Ruby Gem for that…
What is Spoken ? http://www.ohloh.net/languages/compare 41,642 Open Source Ruby Projects
Teaching the Next Generation
Teaching M Language http://www.opensourcesoftwarepractice.org/M-Tutorial/ https://github.com/OSEHR/M-Tutorial
Teaching M Language http://opensource.com/health/12/2/join-m-revolution
Teaching M Language http://rpi.edu/about/index.html
Teaching M Language http://www.albany.edu/cci
Teaching M Language http://www.osehra.org/blog/teaching-m-database-and-m-language-suny-albany-spring-2013-part-i
Teaching M Language MUMPS Exposure Rate 30 97 110 81 28 Fall 2011 Spring 2012 Fall 2012 Spring 2013 Fall 2013
Teaching M Language MUMPS Retention Rate Classes Internships Jobs
Plan B Ruby 54,922 Developers M Database NoSQL https://www.ohloh.net/languages/ruby
Plan B https://www.ohloh.net/languages/ruby
Plan B 327 Million Lines of Code 54,922 Developers 41 Thousand Projects Training https://www.ohloh.net/languages/ruby
Plan B Google: “Ruby Tutorial” http://www.ohloh.net/languages/ruby
GT.M from Ruby Ruby Binary Package SWIG Wrapping C++ Wrapper C - API GT.M
GT.M – C API http://tinco.pair.com/bhaskar/gtm/doc/books/pg/UNIX_manual/ch11s05.html
Code, Code, Code ! Talk is Cheap, Show me the Code ! Linus Torvalds
Technical Journal Article http://code.osehra.org/journal/browse/publication/28
gtm-bindings https://github.com/OSEHRA-Sandbox/gtm-bindings
Tests / Examples https://github.com/OSEHRA-Sandbox/gtm-bindings/tree/master/Testing
How to Install First install GT.M apt-get install gtm Coming soon !
How to Install Install gtmruby package: sudogem install gtm
Post-Installation http://www.osehra.org/blog/gtm-binding-ruby
Post-Install export GTMCI= /home/ibanez/src/m.js/Source/gtm_access.ci The full path to gtm_access.ci
Post-Install cp_gtmaccess.m fileto Routines dir It might be at /home/ibanez/src/gtm-bindings/Source
Post-Install Add libgtmshr.so DIRto LD_LIBRARY_PATH Otherwise it must be installed in /usr/lib/fis-gtm/V6.0-000/libgtmshr.so
Example 08 – Lock Bug ?