<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<STYLE>.hmmessage P {
PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
FONT-FAMILY: Tahoma; FONT-SIZE: 10pt
}
</STYLE>
<META name=GENERATOR content="MSHTML 9.00.8112.16440"></HEAD>
<BODY class=hmmessage bgColor=#ffffff>
<DIV><FONT face=Arial>QuickCheck includes a library for calling C APIs from
Erlang, which can call virtually any C function. It just represents the C values
directly on the Erlang side, so for example {ptr,char,123456} represents a
character pointer to the given address. That lets us construct whatever C data
structures we want as arguments to the API, and recover whatever data we want
from the results, with very simple programming on the Erlang side. Of course
that's C, not C++, and also it's not open source. If you're interested, there's
a demo video here:</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial><A
href="http://quviq.com/demos/eqc_c%20demo/eqc_c%20demo.html">http://quviq.com/demos/eqc_c%20demo/eqc_c%20demo.html</A></FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>John </FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=goberman@msn.com href="mailto:goberman@msn.com">ilya goberman</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=erlang-questions@erlang.org
href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, January 09, 2012 6:44
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [erlang-questions] Calling Java
from Erlang</DIV>
<DIV><BR></DIV>
<DIV dir=ltr>
<DIV>Hello,</DIV>We are a market data API vendor. We have APIs to consume
market data in Java, .Net, and C++. One of the clients indicated interest in
using our API from Erlang.
<DIV>So I would like to find out if it is possible to interface with any of
these language APIs from Erlang.<BR>
<DIV><BR></DIV>
<DIV>I looked briefly at jinterface, but it appears to be designed
to make calls from Java to Erlang, but not in the other directions.</DIV>
<DIV>I have found a post <A style="FONT-SIZE: 10pt"
href="http://www.javalimit.com/2010/06/a-java-api-for-erjang.html">http://www.javalimit.com/2010/06/a-java-api-for-erjang.html</A> for
the Erlang-java calls, but it does not seem to be a finished product.</DIV>
<DIV><BR></DIV>
<DIV>What is the best bet to accomplish the integration? </DIV>
<DIV>Any advice is appreciated.</DIV>
<DIV>Thanks</DIV>
<DIV><BR></DIV></DIV></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>erlang-questions
mailing
list<BR>erlang-questions@erlang.org<BR>http://erlang.org/mailman/listinfo/erlang-questions<BR></BLOCKQUOTE></BODY></HTML>