|
|
|
|
|
by p4lindromica
1958 days ago
|
|
Code size in an embedded context is one use case for the modularity here. Another is limiting access of Ruby code to the host system. For example, one may wish to use Artichoke in a game engine for scene scripting. It’s probably undesirable for Ruby code run in this context to modify the host environment, so `ENV` can be disabled at compile time. But maybe you have existing code that uses `ENV`. Toggle a compile time flag and you can get a compatible `ENV` implementation that is backed by a hash map. |
|