Settings

Theme

nobject: dead-simple remote objects for Ruby, inspired by Elixir/Go/Actor model

github.com

3 points by normalocity 10 months ago · 4 comments

Reader

normalocityOP 10 months ago

Most of my code is in Ruby, but I've been watching languages like Go, Elixir, and ideas around the Actor model for years, trying to take the best ideas from these and applying them in my own system.

Inspired by all of these examples, but desiring a dead-simple solution for the Ruby applications I maintain - I created nobject.

It's not quite RPC. It's not quite the Actor model. It's not quite lightweight processes/channels. It's the ability to instantiate an object in one process but then push it to another process, yet be able to use that remote object like it's still local.

The example code in the repo's README will get you up-an-running in minutes.

Alifatisk 10 months ago

Isn't this like DRuby?

  • normalocityOP 10 months ago

    huh, maybe. I didn't know about this or find it when I was looking around. thanks, I'll check this out.

    • normalocityOP 10 months ago

      it does seem very similar. the instantiation syntax and the way you handle things is very, very similar for sure.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection