67 karma · joined February 21, 2013
I was very sad to find out that Xlisp-Stat had not been ported and maintained in CL :-/ ... perhaps a good project for a motivated, if fringe, *SoC project :-)
I had to laugh :-) That reads like it's out of the Moonual ...
Second comment: LFE is a Lisp, but it's a Lisp whose first and foremost goal was to allow one to build fully Erlang (and OTP)-compatible systems in Lisp. Clojure's Lisp has a Java flavour; LFE's Lisp has an Erlang flavour. They are both very real and compelling Lisps :-)
We've chatted about this before, and I guess I just got used to (funcall ...) in CL. There's no question, though, that being able to call functions without that is very clean.
You know, if you squint just right, the name/arity uniqueness in Erlang is a pretty nice match for a Lisp-2 ;-)
Did you ever check out LFE afterwards. to compare your approach with Robert's?
However, if you're spending your day in an LFE REPL and want to be able to parallelize computation out to multiple Python instances, then this tool will be for you ("will be" because parallelization is in the queue: https://github.com/lfex/py/issues/38).
As things stand right now (without parallelization), this library means that Erlang, Elixir, LFE, Joxa, etc., hackers don't have to context switch out of their preferred mode into another language, but can do it from the comfort of their regular daily routine. (I know Erlang hackers who refuse to fire up a Python interpreter...)
In other words, this is very much like an IPython for the Erlang world (where the ZeroMQ messaging architecture of IPython isn't needed, since that all comes for free in Erlang).
Disco is brilliant stuff (I greatly prefer to to Hadoop), and the fact that it has a distributed file system should really clarify its use cases (any why one would choose to use it over something life LFE py which doesn't have one!).
(As you can see, I can't help myself from saying great things about Disco :-))
As for Hy: LFE py comes with custom ErlPort encoders/decoders, and I came this close to writing those in Hy. However, I did want anyone with a Python background to be able to easily read and contribute, not just Lispers ;-)
Regardless, it would be nice to use with Hy (and probably trivial: a requirements.txt update, and then adding some Hy modules in ./python/lfe, at which point you should be able to access them from LFE).
* A more detailed follow-up to that post is here: http://blog.lfe.io/tutorials/2014/12/03/1828-erlport-and-pyt...
* There's now an even easier way to use Python from Erlang/LFE that wraps ErlPort: https://github.com/lfex/py
Also, the original post was re-blogged here, where the code is much more legible: http://blog.lfe.io/tutorials/2014/11/21/1508-erlport-using-p...