Relative efficiency of external interfacing methods

Claes Wikstrom klacke@REDACTED
Sat May 22 20:44:08 CEST 1999


> 
> On Sat, May 22, 1999 at 12:21:33AM +0200, Claes Wikstrom wrote:
> > 
> > > 
> > > Is there any significant performance difference between using ports
> > > and the newer, more direct method?
> > > 
> > 
> > 
> > What do you mean by "newer, more direct method" ??
> > 
> 
> he probally meant the dynamic share library version, a linked in driver. :)
> 

In that case the difference in performance between
calling a c-func in a linked driver versus calling a 
c-func in another os process is enormous. It of
cource depends on the underlying OS, but on unix'es it's high
and on win32 it's extremely++ high.

The advantage of a linked-in driver is speed, the disadvantages are
the difficulties that are associated with running together with
the erlang runtime system. No blocking syscalls etc.


> 
> Speaking of the C interface, what are the plans for IG ?

Yes, I'd like to know too ??

/klacke



More information about the erlang-questions mailing list