5 ms·
Typhon is a Python implementation for the Rubinius (ruby) VM
- andrewvc 16y agoFor more information about Rubinius: http://rubini.us/ http://rubini.us/ More language implementations on top of Rubinius: http://rubini.us/projects/ http://rubini.us/projects/
- andrewvc 16y agoOne other thing a lot of people don't know about Rubinius is that its fundamental concurrency primitive is Rubinius::Channel, similar to channels in Go. For example, see Rubinius' implementation of class Mutex: https://github.com/evanphx/rubinius/blob/master/lib/thread.rb#L42 https://github.com/evanphx/rubinius/blob/master/lib/thread.r... Quoth MenTaLguY: MenTaLguY: Channels are the basic communication primitive in Rubinius; everything else is implemented atop them. The fundamental concurrency model is more or less the asynchronous pi calculus minus replication and a few common extensions like non-deterministic choice (which potentially requires channel operations to be centrally arbitrated). I advocated pi calculus channels because of their simplicity, which generally translates to performance and maintainability. http://www.infoq.com/articles/actors-rubinius-interview http://www.infoq.com/articles/actors-rubinius-interview
- 1337p337 16y agoThis is like the bizarro version of the late _why's unHoly ( http://github.com/whymirror/unholy http://github.com/whymirror/unholy ), the README for which contained this: "You know, it's crazy that Python and Ruby fans find themselves battling so much. While syntax is different, this exercise proves how close they are to each other!" ...Which is the apparent reason for naming the codebase "unHoly". A code ambassador to try to mediate a peaceful resolution to the holy wars. (Pyhad? Rusades? I bet _why could have come up with a better name.)
- steveklabnik 16y ago> Maybe Rubinius VM does what Parrot was originally intended to. ( Running many dynamic languages ) This is the most interesting part, to me. Especially given that Ruby has pretty much been my personal successor to Perl... I wonder if we'll see more of this in the future, as rbx matures.
- t0mas 16y agoCalling Ruby code from Python. http://twitter.com/vborja/status/22350595050438657 http://twitter.com/vborja/status/22350595050438657 Awesome!! seems to work like from __future__ in python.