running linked-in drivers outside of erts?

Scott Lystig Fritchie fritchie@REDACTED
Mon Mar 1 18:37:04 CET 2004


>>>>> "sp" == Shawn Pearce <spearce@REDACTED> writes:

sp> Has anyone thought about writing a driver compatability layer that
sp> would offer most of the driver_* APIs, but in an external shell?
sp> This would let the a driver written for erl_ddll to be loaded in
sp> an external port process.

See the EDTK source, http://www.snookles.com/erlang/edtk/, for just
such an example.  It's pretty simple, but the edtk/pipe-main program
does enough to get EDTK-generated shared libraries to run as an
external process and communicate using a serialized protocol ... and
the shared library is none the wiser.

Caveat: I've never tried using it under Windows.

-Scott



More information about the erlang-questions mailing list