Monday, July 16, 2007

Scheme/Erlang interoperability - the sequel

James Long announced today on the Gambit-C mailing list the availability of an Erlang/Gambit interface, based on an idea I had a few months ago.

The motivation behind this interface is to provide the ability to implement Erlang nodes directly in Gambit-C (James thinks that Termite is a little too immature to base any production code on, a view that I share). This way, you have the best of both worlds:
  • Code in Scheme (for those who prefer its syntax over everything else, like me)
  • Use the production-quality Erlang platform and OTP for the deployment of robust, scalable and fault-tolerant distributed applications,
  • Access the Mnesia database from Scheme (this would need a more complex proxy node in Erlang, but this is certainly doable).
Once I have a few minutes of spare time, I will certainly try to add a few functionalities to the MSLUG web site (which is written in Erlang) using this interface. This will provide a great proof of concept and a great migration path from Erlang to Termite.

3 comments:

Pupeno said...

Sounds like a good idea indeed!

James said...

Mnesia is the next step :)

Mike said...

I'd really like to be able to use scheme instead of erlang in yaws.
This sounds great.