Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

Iain Buclaw ibuclaw at ubuntu.com
Thu Jul 5 09:59:20 PDT 2012


On 5 July 2012 17:51, H. S. Teoh <hsteoh at quickfur.ath.cx> wrote:
> On Thu, Jul 05, 2012 at 12:26:01PM -0400, Andrei Alexandrescu wrote:
>> Check this out: on http://dlang.org you can actually click in the code
>> example and edit it, then click "Run" and pronto, you see the output!
>>
>> Damian is actively working on the UI as I'm writing this. Feel free to
>> chime in with feedback!
> [...]
>
> Won't that be open to abuse? Like if somebody wrote a fork bomb and
> tried to run it...
>
> Unless the backend server has tight resource control over the code
> sample executor, of course
>

If it's using the same engine as dpaste ( http://dpaste.dzfl.pl ),
then it is fairly locked down.


-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the Digitalmars-d mailing list