<div dir="ltr"><div dir="ltr">Hi Pierre,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 1, 2019 at 11:03 PM pierre misse <<a href="mailto:pierre_misse25@msn.com">pierre_misse25@msn.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hello,</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I'm currently trying to create a "high" level language to that aims to express low level concepts through transpilation to C.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I have a limited experience building such programs, and thought people who build virtual machines would be the right group of people to ask what they need in low level programing! </div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I've also made some research, and stumbled Slang, on which i found little documentation (probably because i didn't find the right combination of words).</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
So if you have a bit of time to share, i'd love to know:</div>
<div>
<ul>
<li><font color="#000000" face="Calibri, Helvetica, sans-serif">What you kind of concepts you need</font></li></ul></div></div></blockquote><div><br></div><div>That depends pn the architecture you choose.  There are static and dynamic approaches, approaches centered around optimization and JIT com platoon and approaches centered around embedding a domain-specific language (DSL) in a high-level language to allow for specific low-level code to be generated.</div><div><br></div><div>I would love for you to direct your attention to Ronie Salgado's work on Lowcode, and Clément Béra's and my work on Sista and Scorch.  Ronie's work is a combination of providing a DSL for communicating with graphics renderers.  This fairs within the extensions to the bytecode set Clément and I have designed for aggressive adaptive optimization in the context of a JIT.  Note that Ronie's subset of bytecodes has also shown speedups in a pure interpreter.  We have papers on both systems.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><ul><li><font color="#000000" face="Calibri, Helvetica, sans-serif">What's not required, but interesting  </font></li></ul></div></div></blockquote><div>I don't have time or resources to explore the inessential ;-) </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><ul><li><font color="#000000" face="Calibri, Helvetica, sans-serif">What you'd wish to hide from C to be taken care of by the transpiler</font></li></ul></div></div></blockquote><div>For me C is an implementation language; a portable assembler.  There really isn't any need to hide anything from C.  But the only time I pay attention to C is when I have to debug the system in the C world, which is thankfully rare, or shen the transpolar has a bug which manifests as a failure for the C to compiler.  So it's not an issue of hiding or revealing things to C.  It's an issue of C not being a useful context in which to get work done.  It's effectively write-only.</div><div> </div><div>HTH</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>
<div><font color="#000000" face="Calibri, Helvetica, sans-serif">Thank you in advance.</font></div>
<div><font color="#000000" face="Calibri, Helvetica, sans-serif"><br>
</font></div>
<div><font color="#000000" face="Calibri, Helvetica, sans-serif">Regards, </font></div>
<div><font color="#000000" face="Calibri, Helvetica, sans-serif">Pierre Misse.</font></div>
</div>
</div>

<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div>