<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Current heap allocation (thanks to Anthony) is much much faster than it used to be, as each thread has it's own "current page to alloc from". Not like stack alloc, but also not limited as stack alloc.<div><br></div><div>Your C++ compiler will cull those 60% of C++ standard? I can't wait to see it! :)</div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div>Divided by a common language</div><div><br></div><div>Dragiša Durić</div><div><a href="mailto:dragisha@m3w.org">dragisha@m3w.org</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Oct 3, 2012, at 4:39 PM, Jay wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div bgcolor="#FFFFFF"><div>Growable stack is basically nonsense.</div><div><br></div><div><br></div><div>True that stack allocation has large downside that picking a stack size is impossible. But it is super fast.</div><div><br></div><div><br></div><div>Once we have NT/C backend that doesn't use a thread local, & we have cooperative suspend,  I'd like to try writing an NT driver with Modula-3.. limited stack space there. :)</div><div>(hm...what if we <span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">can't wrap the thread entry? Maybe ok.)</span></div><div><br></div><div><br></div><div>Right, C++ is the answer, once I have my own compiler. :)</div><div><br></div><div><br> - Jay (briefly/pocket-sized-computer-aka-phone)</div><div><br>On Oct 2, 2012, at 12:53 PM, Dragiša Durić <<a href="mailto:dragisha@m3w.org">dragisha@m3w.org</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>I don't need stack allocated object. <div><br></div><div>I don't need to have lot's of big stacks in my multithreaded program. Can you implement growable stack? Is it worth your while?</div><div><br></div><div>I need even less a hassle of hand-selecting stack size, for threads where I need stack objects and other threads.</div><div><br></div><div>As Anthony said. At this time and age…  </div><div><br></div><div>I am sorry to even mention that, but maybe you just need C++? Or C++ without "a bit" of fat? Like..., 60% of language.</div><div><br></div><div>I think we just need even better collector that we currently have. One passing Mika's thread test :).</div><div><br></div><div>dd</div><div>
<br><div><div>On Sep 30, 2012, at 8:06 AM, Jay K wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: Calibri; font-size: 16px; "><div><font face="Calibri, sans-serif">I don't just want UNTRACED OBJECT.</font></div><div><font face="Calibri, sans-serif">I also want stack allocated objects.</font></div></span></span></blockquote></div><br></div></div></blockquote></div></blockquote></div><br></div></body></html>