One can use C without an OS on any of the Atmel microcontroller range... why would D need an OS to support it? <br><br><div class="gmail_quote">On Sat, Feb 4, 2012 at 12:45 AM, 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>All high level languages require a runtime library, even C, despite what 
many people think.</div>
<div> </div>
<div>Now in this case what would be nice would be the possibility to generate 
code that runs on top of the arduino without any</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><span class="HOEnZb"><font color="#888888">
<div> </div>
<div>--</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>