<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 22 Jun 2016, at 11:38 AM, Chris Double <a href="mailto:chris.double@double.co.nz" class="">chris.double@double.co.nz</a> [self-interest] <<a href="mailto:self-interest@yahoogroups.com" class="">self-interest@yahoogroups.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="ygrp-mlmsg" style="font-size: 13px; font-family: Arial, helvetica, clean, sans-serif; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); position: relative;" class=""><div id="ygrp-msg" style="line-height: 1.22em; z-index: 1;" class=""><div id="ygrp-text" style="line-height: 1.22em; font-family: Georgia;" class=""><p style="line-height: 1.22em; margin: 0px 0px 1em;" class="">On Wed, Jun 22, 2016 at 1:28 PM, Russell Allen<span class="Apple-converted-space"> </span><a href="mailto:mail@russell-allen.com" style="line-height: 1.22em; font-family: Verdana;" class="">mail@russell-allen.com</a><br style="line-height: 1.22em;" class="">[self-interest] <<a href="mailto:self-interest@yahoogroups.com" style="line-height: 1.22em; font-family: Verdana;" class="">self-interest@yahoogroups.com</a>> wrote:<br style="line-height: 1.22em;" class="">> If anyone feels like helping, on the Self side, at the moment I just call out to a c compiler or assembler. It would be nice if there was a pure Self x86 assembler, or even a simple compiler from a C level language (which would help retargeting if we do that later).<br style="line-height: 1.22em;" class=""><br style="line-height: 1.22em;" class="">Would linking to LLVM be useful? Or is that too heavyweight a<br style="line-height: 1.22em;" class="">dependency? If an LLVM backend was made that would also ease porting<br style="line-height: 1.22em;" class="">to 64 bit. I'm not a big fan of using it since it moves further away<br style="line-height: 1.22em;" class="">from pure Self code.<br style="line-height: 1.22em;" class=""></p></div></div></div></div></blockquote><div><br class=""></div><div>I’m not sure what LLVM gives us. We’re only talking fragments of code, so I doubt we need much optimisation. I suppose it gives us some portability but so does just calling out to a C compiler (in fact that’s more so because we’re not locked into a single compiler)</div><br class=""><blockquote type="cite" class=""><div class=""><div id="ygrp-mlmsg" style="font-size: 13px; font-family: Arial, helvetica, clean, sans-serif; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); position: relative;" class=""><div id="ygrp-msg" style="line-height: 1.22em; z-index: 1;" class=""><div id="ygrp-text" style="line-height: 1.22em; font-family: Georgia;" class=""><p style="line-height: 1.22em; margin: 0px 0px 1em;" class="">Klein has an assembler but I think it is Sparc and PowerPC. It might<br style="line-height: 1.22em;" class="">serve as a base to add x86 though.<br style="line-height: 1.22em;" class=""></p></div></div></div></div></blockquote><div>Interesting. I’ll have a look.</div><div><br class=""></div><div>Russell </div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div id="ygrp-mlmsg" style="font-size: 13px; font-family: Arial, helvetica, clean, sans-serif; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); position: relative;" class=""><div id="ygrp-msg" style="line-height: 1.22em; z-index: 1;" class=""><div id="ygrp-text" style="line-height: 1.22em; font-family: Georgia;" class=""><p style="line-height: 1.22em; margin: 0px 0px 1em;" class=""><br style="line-height: 1.22em;" class="">--<span class="Apple-converted-space"> </span><br style="line-height: 1.22em;" class=""><a href="http://bluishcoder.co.nz/" style="line-height: 1.22em; font-family: Verdana;" class="">http://bluishcoder.co.nz</a><br style="line-height: 1.22em;" class=""></p></div><div style="line-height: 1.22em; color: rgb(255, 255, 255); height: 0px;" class=""></div></div></blockquote></div><br class=""></body></html>