how to use ruby code after its written, is it standalone or need to be in a web application? -
confused little on ruby. know makes .rb
files, make exe or com files or used as web application?
i know bit writing code, files after.
the question bit broad.
you have step , @ how source code in general ends being executed (i.e. used).
in case of programming languages (e.g. c/c++) it's compiled native form , can executed directly afterwards;
in case of other languages it's compiled intermediate form (e.g. java/c#) , executed vm (jvm/clr)
in case of yet other languages interpreted @ runtime (e.g. ruby/python).
so in specific case of ruby, have interpreter loads rb files , runs them. can in context of standalone apps or in th e context of web server, have interpreter making sense of ruby files. don't executable same way languages compiled machine code.
Comments
Post a Comment