<div dir="ltr"><div>@ilya: regarding -betterC 's stated goal to bypass druntime:</div><div><br></div>besides static linking (which can be inefficient), why not use runtime shared libraries to distribute mir (eg GLAS) to C clients ?<div><br></div><div>IIRC, from a single C++ program, I am able to dlopen & dlsym & run D functions defined in shared libraries built with different compilers (eg dmd and ldc) even if they use GC (and therefore dmd's and ldc's druntime) ; pseudocode:</div><div><br></div><div>// main.cpp</div><div>```</div><div>void main(){</div><div>  dlopen, dlsym, and run "void fun1()" from libfun_dmd.so</div><div>  dlopen, dlsym, and run "void fun2()" from libfun_ldc.so</div><div>}<br></div><div>```</div><div><br></div><div>That would provide the needed isolation without suffering from disadvantages of static libraries (eg bloat); compared to the betterC alternative, you'd have access to all of druntime/phobos and not have to reinvent the wheel</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 20, 2016 at 1:06 AM, Paolo Invernizzi via Digitalmars-d <span dir="ltr"><<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tuesday, 20 December 2016 at 08:15:35 UTC, Dicebot wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
On 12/18/2016 11:26 AM, Ilya Yaroshenko wrote:><br>
<br></span><span class="">
This actually may be even possible to do within a linear deprecation process. On the other hand I doubt such drastic change to structure is possible to be sold to community.<br>
</span></blockquote>
<br>
Consider that plan sold to me...<br>
<br>
---<br>
Paolo<br>
<br>
</blockquote></div><br></div>