Is it possible to use the Ruby language to create an entire new mobile operating system or desktop operating system, that is, it can be used in system programming?
Well, now there are several operating systems that use languages of a higher level than C. In principle, the Ruby interpreter itself would need to write something low-level, and there should be some loading boot code that loaded the full-featured ruby interpreter into memory as a standalone core. After the ruby interpreter is loaded and launched in kernel mode (or in one of the internal calls ), there will be nothing that will prevent you from creating the entire OS on top of it.
, , , . , , . , , . , , " " C.
, . ( 3... 2...)
: .
, ( - ;-), Ruby run-time .
" " - , - , C " " - , , BitC. ( Ruby.)
.
: "Lisp " . Ruby, / () Lisp : Lisp /, - Ruby... , , ;-) OCaml ...
, Rails Ruby, Ruby , .. .. .
, Ruby , C, OS , . , if .. end, C , C- . , , Ruby, , .
if .. end
, ( ) , .
, . , , , , : " , ?".
API Ruby. , , Android Java, RubyPhone Ruby. Ruby . . , , .
Ruby ( ), Linux- , - linux.
, disclamer.. , . ruby, , , linux-ish . , Android: fork Linux ( Linux), - -, - Java Android . IE, Android - Java- , Ruby Java java