Re: [dwm] OT : suckless foreign function interface

From: Anselm R Garbe <>
Date: Tue, 18 Nov 2008 20:18:10 +0000

Hi Fernan,

2008/11/15 Fernan Bolando <>:
> 1. Generate small C programs and call them via system() inside the
> scheme interpreter.
> 2. Add custom code into the scheme interpreter and link in the lib
> 3. Develop some sort of foreign function interface

What about a 9P interface? Here is a scheme implementation:

> If you guys have an example of implementing some sort of suckless
> approach to foreign function that would be cool.

The advantage is, 9P can be used in an universal way, network
transparently and without any platform/language boundaries. The only
tricky part is defining a sane synthetic fs for abstracting the RPCs
you are looking for. However, there are non-Plan9ish examples in the
procfs (might not be the best reference though).

Kind regards,
Received on Tue Nov 18 2008 - 20:18:10 UTC

This archive was generated by hypermail 2.2.0 : Tue Nov 18 2008 - 20:24:04 UTC