Can Ruby be used to create operating systems?

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?

+5
source share
5 answers

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...)

+7

: .

, ( - ;-), Ruby run-time .

" " - , - , C " " - , , BitC. ( Ruby.)

.


: "Lisp " . Ruby, / () Lisp : Lisp /, - Ruby... , , ;-) OCaml ...

+5

,

, Rails Ruby, Ruby , .. .. .

, Ruby , C, OS , . , if .. end, C , C- . , , Ruby, , .

, ( ) , .

, . , , , , : " , ?".

API Ruby. , , Android Java, RubyPhone Ruby. Ruby . . , , .

+3

Ruby ( ), Linux- , - linux.

+1

, disclamer.. , . ruby, , , linux-ish . , Android: ​​ fork Linux ( Linux), - -, - Java Android . IE, Android - Java- , Ruby Java java

0

All Articles