<div class="gmail_quote">On 3 February 2012 16:45, Paulo Pinto <span dir="ltr"><<a href="mailto:pjmlp@progtools.org">pjmlp@progtools.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">
<div dir="ltr">
<div style="font-size:12pt;font-family:'Calibri'">
<div>The only language without runtime is pure assembly.</div></div></div></div></blockquote><div><br></div><div>And C.. there's no requirement to link the CRT in a C app. In fact, in many of my projects, I don't.</div>
<div>I frequently find that the ONLY function I use from the CRT is sprintf... which I really should write(/copy) my own version of, so I can never link a CRT again :P</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div dir="ltr"><div style="font-size:12pt;font-family:'Calibri'">
<div><span style="font-size:12pt">All high level languages require a runtime library, even C, despite what 
many people think.</span></div></div></div></div></blockquote><div><br></div><div>Wrong, the C <u>language</u> depends on NOTHING in the CRT. I prefer to avoid linking it wherever possible. Strangely enough, I find the 'standard' C library to be one of the least standard libraries out there, and avoid it for that reason.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div style="font-size:12pt;font-family:'Calibri'">
<div><span style="font-size:12pt">Now in this case what would be nice would be the possibility to generate 
code that runs on top of the arduino without any</span></div>
<div>real OS. This is a common use case in embedded systems and here the runtime 
has even an higher value as it takes the</div>
<div>role of an OS.</div></div></div></div></blockquote><div><br></div><div>All that's required is a toolchain that's capable of producing an exe without the requirement to link any compulsory library.</div><div>
<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div style="font-size:12pt;font-family:'Calibri'"><span class="HOEnZb"><font color="#888888">
<div><span style="font-size:12pt">--</span></div>
<div>Paulo</div>
<div> </div>
<div style="BORDER-BOTTOM-COLOR:#000000;BORDER-LEFT:#000000 4px solid;BORDER-TOP-COLOR:#000000;PADDING-LEFT:5px;BORDER-RIGHT-COLOR:#000000;MARGIN-LEFT:5px">
<div style="font-size:small;font-style:normal;text-decoration:none;font-family:'Calibri';display:inline;font-weight:normal">
<div>"Manu" <<a href="mailto:turkeyman@gmail.com" target="_blank">turkeyman@gmail.com</a>> wrote in message 
news:mailman.312.1328277504.25230.digitalmars-d@puremagic.com...</div></div></div>
</font></span><div style="BORDER-BOTTOM-COLOR:#000000;BORDER-LEFT:#000000 4px solid;BORDER-TOP-COLOR:#000000;PADDING-LEFT:5px;BORDER-RIGHT-COLOR:#000000;MARGIN-LEFT:5px">
<div style="font-size:small;font-style:normal;text-decoration:none;font-family:'Calibri';display:inline;font-weight:normal">
<div class="gmail_quote"><div class="im">On 3 February 2012 15:37, Alex_Dovhal <span dir="ltr"><<a href="mailto:alex_dovhal@yahoo.com" target="_blank">alex_dovhal@yahoo.com</a>></span> 
wrote:<br>
</div><div><div class="h5"><blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><u></u>
  <div bgcolor="#ffffff">
  <div>>Andrea Fontana" <<a href="mailto:advmail@katamail.com" target="_blank">advmail@katamail.com</a>> wrote:</div>
  <div>
  <div>>In this case can we hope for a d frontend?<br></div><font face="Arial">That depends if it's MCU or MPU. If it will be MCU(like ARM7TDMI), 
  which means Harvard Architecture (where Program code and RAM are physically 
  different). Also internal RAM of a few KB and no Linux.</font></div>
  <div><font face="Arial">If it'll be MCU then it can have Linux OS, so 
  theoretically it can have GDC ported.</font></div></div></blockquote></div></div></div>
<div> </div><div class="im">
<div>Eh? Why would GDC depend on linux at all? If you disable the GC (and 
dependent language functionality), and manage to do something about the horrible 
exe bloat, there's no reason it shouldn't be able to target anything...</div>
<div>The obvious advantage over C is the syntax features. Clearly D as a 
*language* shouldn't DEPEND on the druntime, other than some language features 
that imply GC, like dynamic arrays/etc.</div>
<div> </div>
<div>Is the toolchain not capable of producing a working exe without linking any 
library? Surely you can write a totally raw app with no libs at all? (assuming 
you avoid language features that make implicit druntime 
calls)</div></div></div></div></div></div></div>
</blockquote></div><br>