Learn basic concepts and techniques that will help you when using mruby with the goal of improving productivity & maintainability.
Learn and Build Strong Foundation on MRuby In this Comprehensive Course for Beginners
Embedding Ruby In Your Applications
Ruby is one of the most popular language among web developers today. The idea behind mruby, however, is to apply Ruby among other fields as well, such as in embedded systems. The goal is to enable a large community of programmers and users take advantages of Ruby in a wide range of areas. mruby promises to help improve productivity & maintainability and gives flexibility to end user. In this basic course you will learn why and how to use Ruby in your applications.
Content and Overview
I will start from very basic concepts such as language features, advantages, limitations etc. Since we will be working on a Linux system, I will first teach you some basic command usage on Linux terminal. You will learn installation and different methods of executing mruby code along with the pros & cons of each method. Lastly I will give you a basic idea of how to use Ruby in an embedded system application. Once you finish this course, you will have a clear idea of what is mruby and how to use it.
While, I write, compile and execute code, you will be able to see this on my terminal and can follow those instruction to work on your own system. Frequently main concepts will be shown on slides so that you can read and remember those concepts. Lecture-1 and 2 cover most important theoretical concepts, so make sure that you understand those concepts very well. Because of the limited scope of the course, I have skipped many concepts and I encourage you to google those concepts and enhance your understanding.
There are 8 short lectures and each lecture ends with a short quiz. You are encouraged to ask questions and have a discussion with fellow participants.
In this lecture I will give you an overview of whole course as well as I will explain some basic concepts about Ruby. Specifically I will explain its main features. Lab sessions will start from next lecture
In this lecture I will go in more depth on mruby. I will explain benefits and limitations of mruby. I will also give an overview to few Linux commands and demonstrate its usage on terminal. This will be useful for this course and also in upcoming advance courses.
This lecture is about installing mruby on your Linux machine. Follow these instructions to get started on your machine.
The installation process as discussed in lecture 3 would generate certain binaries. Those barriers will be used for exciting your mruby code. This particular lecture will explain about two such binaries; mruby and mirb. I show you on terminal some sample code to explain my point.
This lecture is basically a continuation of lecture 4, in which we discuss one more binary , namely mrbc. I will explain using sample code how this binary is used for executing mruby code.
This lecture explains how to embed ruby code in your application and compile and finally execute it. By now you would have clear idea of how mruby is used in different cases and what are its benefits and limitations.
In this lecture I will give you pointers to some of the most important resources related to mruby. This will be very useful whenever you are stuck at any point.
This lecture summarizes what all we discussed in this course., It also explains in brief how to work with mruby for an embedded system with and without operating system. A detailed discussion on mruby on embedded system will be presented in advance course.
Go through the lecture once again and try answering the questions.
I hold a master's degree in technology with specialization in Communication & Information Systems from AMU, India. After graduation I founded my company HBConsort focusing on education and software development services on GPGPU (General Purpose computation on Graphics Processing Unit) & Embedded Systems. From the year 2014 my company started providing combined service of Prototyping plus Intellectual Property helping inventors/investors at early stages of business.
In 2011 I conducted India's first FDP on OpoenCL in association with AMD, India. My other training programs were also sponsored by NVIDIA Corporation. I also conducted short term course at India Institute of Technology consecutively for two years.
For close to eight years I worked on PoCs and Prototypes for our clients in USA and Japan. I also developed products on Imaging, LED testing and 3D printing.
Over all during my professional career I developed softwares on x86 CPUs, GPUs, FPGAs and Microcontrollers with focus on performance issues.
In 2014 I started working on Easy Way Science part-time and worked with kids to learn & teach how Science , Technology , Engineering & Maths (STEM) relate to each other in our daily life.
I am always fascinated about computers and how they work and love teaching related subjects.