Erlang/OTP Forums

Author Message

<  User Contributions  ~  Generic Erlang Port Driver V0.5 Released

Which have you used more?

Erlang Port Driver  
0%
  [ 0 ]  0%
 
Erlang Port  
100%
  [ 1 ]  100%
 
I don't know the difference  
0%
  [ 0 ]  0%
 

Total Votes : 1
mtruog
Posted: Sat Feb 07, 2009 7:35 am Reply with quote
User Joined: 07 Feb 2009 Posts: 50 Location: San Francisco, CA
Release of the Generic Erlang Port Driver (GEPD), version 0.5
BSD License

PURPOSE
-------------------------------------------------
To automatically generate an Erlang port driver
for C/C++ bindings using a single self-contained file.

test_drv.cpp provides:

- a function binding with only a single line tuple
- efficient passing of function types with no intermediate character buffer
- functionality like the Erlang Driver Tool Kit (EDTK) (no fd handling
though)
- macro expansion to avoid code duplication errors (boost is required)
- floating point type handling

The test_drv.erl code provides a simplistic test of the Erlang port
driver code.

Get the code here:
http://emuddy.svn.sourceforge.net/viewvc/emuddy/lib/emuddy/src/gepd/


Last edited by mtruog on Mon Feb 16, 2009 4:19 am; edited 1 time in total


gepd-v0.5.tar.gz
 Description:
Generic Erlang Port Driver

Download
 Filename:  gepd-v0.5.tar.gz
 Filesize:  10.48 KB
 Downloaded:  1263 Time(s)

View user's profile Send private message AIM Address Yahoo Messenger
mtruog
Posted: Mon Feb 16, 2009 4:08 am Reply with quote
User Joined: 07 Feb 2009 Posts: 50 Location: San Francisco, CA
Get the new version here:
http://forum.trapexit.org/viewtopic.php?p=44406#44406

Version 0.5 contains a race condition for async operations when the function return value is sent back to the Erlang VM. Now, in version 0.6, you can generate an Erlang port in the same way you generate an Erlang port driver.
View user's profile Send private message AIM Address Yahoo Messenger

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum