R
R
Roman Vakulchik2015-03-01 12:11:06
ruby
Roman Vakulchik, 2015-03-01 12:11:06

Is it possible to create a low-level application in Ruby?

I would like to create a Ruby application related to computer architecture. Is this possible, or is the language so high-level that it does not allow writing such an application?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Armenian Radio, 2015-03-01
@gbg

Ruby is an interpreted language. There is no question of writing low-level applications.

O
OnYourLips, 2015-03-01
@OnYourLips

You can if you make a processor that can execute ruby ​​bytecode.
By the way, this is not such a difficult task.

T
ttyv0_o, 2015-03-01
@ttyv0_o

You can create a compiled rather than an interpreted application by writing the application in the Crystal language , which is very similar in syntax to Ruby. Or write complex application logic in C, and connect this code to Ruby as an extension.

M
Maxim, 2015-03-01
@1kachan

you can, just file ruby ​​first -> C translator

A
asd111, 2015-03-01
@asd111

Ruby doesn't have the ability to manipulate memory directly. The only option is to write an extension in C++ using SWIG

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question