Language Bindings for Erlang Again
Vance Shipley
vances@REDACTED
Tue Jun 6 21:40:30 CEST 2006
On Tue, Jun 06, 2006 at 08:21:06PM +0200, Ulf Wiger wrote:
}
} You can do this pretty much today, since you can write linked-in drivers
} that are dynamically linked in (using erl_ddll), registered with a unique
} name, and called synchronously using port_call(). There are even support
} functions for letting the driver code return any erlang term. The main
} drawback compared to BIFs is that the data is copied between erlang and C.
I was going to point this out myself. As far as copying goes, as I
understand it, large binaries are not copied.
-Vance
More information about the erlang-questions
mailing list