<div dir="ltr">On 8 April 2013 19:26, Jacob Carlborg <span dir="ltr"><<a href="mailto:doob@me.com" target="_blank">doob@me.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 2013-04-08 10:31, Manu wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
D for embedded, like PROPER embedded (microcontrollers, or even<br>
raspberry pi maybe?) is one area where most users would be happy to use<br>
a custom druntime like the ones presented earlier in this thread where<br>
it's strategically limited in scope and designed not to allocate.<br></div><div class="im">
'Really embedded' software tends not to care so much about portability.<br>
A bigger problem is D's executable size, which are rather 'plump' to be<br>
frank :P<br>
Last time I tried to understand this, one main issue was objectfactory,<br>
and the inability to strip out unused classinfo structures (and other<br>
junk). Any unused data should be stripped, but D somehow finds reason to<br>
keep it all. Also, template usage needs to be relaxed. Over-use of<br>
templates really bloats the exe. But it's not insurmountable, D could be<br>
used in 'proper embedded'.<br>
</div></blockquote>
<br>
I agree with the templates, Phobos is full of them. Heck, I created a D-Objective-C bridge that resulted in a 60MB GUI Hello World exeuctable. Full of template and virtual methods bloat.</blockquote><div><br></div><div style>
Haha, yeah I remember discussing that with you some time back when we were discussing iPhone.</div><div style>Rather humorous ;)</div><div style><br></div><div style>I do wonder if there's room in D for built-in Obj-C compatibility; extern(ObjC) ;)</div>
<div style>OSX and iOS are not minor platforms by any measure. At least support for the most common parts of the Obj-C calling convention. D doesn't offer full C++ either, but what it does offer is very useful, and it's important that it's there.</div>
</div></div></div>