Upgrade to Pro — share decks privately, control downloads, hide ads and more …

MRuby: Change the Embedded Development Way

E822acb0564c5632aae69fef35f85b3d?s=47 Scalone
March 11, 2015

MRuby: Change the Embedded Development Way

MRuby (Minimalistc Ruby) is a new Ruby implementation made with resources saving in mind. MRuby is a perfect fit for embedded systems world and for limited responsibility applications. Let's understand the state of embedded system development today from the payment devices perspective. In the talk we'll learn how beautiful and useful MRuby is on a device-browser integration or in command line tool.

E822acb0564c5632aae69fef35f85b3d?s=128

Scalone

March 11, 2015
Tweet

Transcript

  1. @Scalone Mruby: Change The Embedded Development Way

  2. None
  3. None
  4. None
  5. None
  6. Cloudwalk What We Do?

  7. Thiago Scalone Cloudwalk Day A Day

  8. None
  9. Mruby: Change The Embedded Development Way

  10. Internet Of Things What? The Internet of Things (IoT) is

    the network of physical objects or “things" … Each thing is uniquely identifiable through its embedded computing system but is able to interoperate within the existing Internet infrastructure. Internet embedded by Wikipedia
  11. None
  12. None
  13. None
  14. None
  15. None
  16. Internet Of Things Why??

  17. “devices will be wirelessly connected” By ABI Research 30 BILLION

    Internet Of Things Why??
  18. “devices on the Internet of Things by 2020” By Gartnet

    26 BILLION “devices will be wirelessly connected” By ABI Research 30 BILLION Internet Of Things Why??
  19. “is size of market expected” By Cisco CEO 19 TRILLION

    “devices will be wirelessly connected” By ABI Research 30 BILLION Internet Of Things Why?? “devices on the Internet of Things by 2020” By Gartner 26 BILLION
  20. “are produced for the embedded world” By Embedded Portal 95%

    OF CHIPS “devices will be wirelessly connected” By ABI Research 30 BILLION “is size of market expected” By Cisco CEO 19 TRILLION Internet Of Things Why?? “devices on the Internet of Things by 2020” By Gartner 26 BILLION
  21. Point of Sale devices on Brazil 3 MILLIONS “are produced

    for the embedded world” By Embedded Portal 95% OF CHIPS “devices on the Internet of Things by 2020” By Gartner 26 BILLION “is size of market expected” By Cisco CEO 19 TRILLION “devices will be wirelessly connected” By ABI Research 30 BILLION Internet Of Things Why??
  22. Really?!

  23. None
  24. Backend Developer Thiago Scalone Backend Developer Love Tests, Code and

    Beer
  25. Delivery the code and collect feedback CONTINUOUS DELIVERY Backend App

    Used To Have Run the entire suite with one command TEST Beautiful code and easy to maintainable BEAUTIFUL API Documentation from code DOCUMENTATION
  26. Moving To Cloudwalk Improvement Thiago Scalone Backend Developer Love Tests,

    Code and Beer
  27. None
  28. WINDOWS XP Eclipse :(

  29. Point Of Sale What Is?

  30. or even a good filesystem NO OS Point Of Sale

    What Is?
  31. for example pipe or fork LIMITED SYSCALL Point Of Sale

    What Is? or even a good filesystem NO OS
  32. OsModemOpen(); OsPrnOpen(); OsPrnClose(); POORLY API Point Of Sale What Is?

    for example pipe or fork LIMITED SYSCALL or even a good filesystem NO OS
  33. open, read, close NO POSIX Point Of Sale What Is?

    for example pipe or fork LIMITED SYSCALL OsModemOpen(); OsPrnOpen(); OsPrnClose(); POORLY API or even a good filesystem NO OS
  34. your on spec NO ANSIC Point Of Sale What Is?

    open, read, close NO POSIX or even a good filesystem NO OS for example pipe or fork LIMITED SYSCALL OsModemOpen(); OsPrnOpen(); OsPrnClose(); POORLY API
  35. Development Workflow DEVELOPMENT .C PHYSICALLY UPLOAD CUSTOMER FEEDBACK GENERATE .O

    SIGN TEST MASSIFICATION DEVELOPMENT .C 6 MONTHS …
  36. Development Workflow PHYSICALLY UPLOAD 30.000

  37. ANYTHING NEW Runtime

  38. Mruby Minimalistic Ruby Static C/Ruby Gems High Portable ANSI C

    Bare Metal Resource Saving Small
  39. None
  40. How???

  41. Around The World Open Source MRBGEMS SSL (PolarSSL) IO Socket

    Regex Zip/Unzip (Miniz)
  42. Da Funk Open Source API TO IOTS NEEDS Notifications (Serf)

    Communication (HTTP, ISO8583, Serial…) Application update Networking (GPRS, WIFI, ETHERNET…) Hardware Abstraction
  43. Da Funk + Around DEVICE (IOT) DA FUNK MRBGEMS AROUND

    SDK/SO APP IO …
  44. Da Funk + Around DEVICE (IOT) DA FUNK MRBGEMS AROUND

    SDK/SO APP IO …
  45. Command Line Tool Go(Cgo) + Mruby

  46. Command Line Tool Go(Cgo) + Mruby

  47. Emulation Go + Thrust + Webruby

  48. Notifications With Serf Gossip Protocol By Hashicorp SERF HANDSHAKE KEEP

    ALIVE (ACK) GIT PUSH EVENT SERF STREAM DOWNLOAD APP
  49. So…

  50. Embedded

  51. Developing

  52. As Backend App

  53. New Development Workflow DEVELOPMENT RB FEEDBACK TEST DEPLOY MINUTES

  54. Demo

  55. Mruby: Change The Embedded Development Way

  56. Beautiful Embedded Apps

  57. Good Ecosystem

  58. Is Posible

  59. None
  60. Please Feedbacks Https://Cli.Cloudwalk.Io/

  61. Thanks