RE: Euphoria as an extension language

new topic     » goto parent     » topic index » view thread      » older message » newer message

This is a multipart message in MIME format

--27286227-POCO-51627530

<HTML><HEAD>
</HEAD>
<BODY>
<div>&nbsp;</div>
<FONT FACE=3D"Arial" SIZE=3D3> </FONT><div><FONT FACE=3D"Arial" SIZE=3D3>=
 Phil Russell wrote:</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;Hi=
 All,</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080">=
 &gt;</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;Could you not=
 implement the variable passing as message calls?=
 e.g.</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080">=
 &gt;</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;- eu script=
 invoked by c++ / delphi program</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;- eu script=
 sends user-defined msg to program</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3> =A0</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> While working on=
 a debugger for Bach, I settled on anonymous pipes for=
 inter-process communication, because of their simplicity and=
 because they are implemented on both windows and=
 linux.</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3> =A0</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> I have attached=
 the (windows) demo code for those who are=
 interested.</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> A few=
 points:</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> 1) Should be fast=
 (in-memory)</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> 2) The pipes can=
 be passed to the child as STDIN and STDOUT, or as separate=
 handles (as here).</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> 3) Either the=
 parent or child can be translated easily to C.</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> 4) Written for=
 Bach but should translate to EU easily. (only minor features of=
 Bach used).</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3> =A0</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> Karl=
 Bochert</FONT></div>

--27286227-POCO-51627530
Content-Type: application/x-zip-compressed; name="Pipes.zip"

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu