Jump to page: 1 2
Thread overview
Online programming playground
Sep 20, 2019
Vishal Rana
Sep 20, 2019
Max Haughton
Sep 20, 2019
Vishal Rana
Sep 20, 2019
rikki cattermole
Sep 20, 2019
Max Haughton
Sep 21, 2019
Vishal Rana
Sep 20, 2019
Dennis
Sep 21, 2019
Vishal Rana
Sep 20, 2019
John Colvin
Sep 21, 2019
Jonathan Marler
Sep 21, 2019
Guillaume Piolat
Sep 21, 2019
a11e99z
September 20, 2019
Folks,

I wanted to shared https://code.labstack.com/d, an online D programming playground. I hope you will find it useful.

Thanks.
September 20, 2019
On Friday, 20 September 2019 at 17:52:26 UTC, Vishal Rana wrote:
> Folks,
>
> I wanted to shared https://code.labstack.com/d, an online D programming playground. I hope you will find it useful.
>
> Thanks.

Unfortunately it's on an ancient compiler build
September 20, 2019
On Friday, 20 September 2019 at 17:54:21 UTC, Max Haughton wrote:
> On Friday, 20 September 2019 at 17:52:26 UTC, Vishal Rana wrote:
>> Folks,
>>
>> I wanted to shared https://code.labstack.com/d, an online D programming playground. I hope you will find it useful.
>>
>> Thanks.
>
> Unfortunately it's on an ancient compiler build

How come? I am using latest `gdd`.
September 20, 2019
On Friday, 20 September 2019 at 17:52:26 UTC, Vishal Rana wrote:
> I wanted to shared https://code.labstack.com/d, an online D programming playground. I hope you will find it useful.

For my online D needs I like run.dlang.org for its versatility (you can also specify flags, format, output the AST, output assembly, output LLVM IR etc.), but it's cool that D is included in labstack.
I like the response times, ideone.com takes 14 seconds to run a Java hello world while labstack takes 1 second.

Did you make the site? I see you are one of the admins.
September 21, 2019
On 21/09/2019 6:00 AM, Vishal Rana wrote:
> On Friday, 20 September 2019 at 17:54:21 UTC, Max Haughton wrote:
>> On Friday, 20 September 2019 at 17:52:26 UTC, Vishal Rana wrote:
>>> Folks,
>>>
>>> I wanted to shared https://code.labstack.com/d, an online D programming playground. I hope you will find it useful.
>>>
>>> Thanks.
>>
>> Unfortunately it's on an ancient compiler build
> 
> How come? I am using latest `gdd`.

The gdc version you used was added to gdc for the purpose of bootstrapping newer versions of gdc.

The frontend version of it is 2.068.
So yes it is very old.

It should support dmd + ldc + gdc they differ on the backends, but dmd is the reference implementation.
September 20, 2019
On Friday, 20 September 2019 at 17:52:26 UTC, Vishal Rana wrote:
> Folks,
>
> I wanted to shared https://code.labstack.com/d, an online D programming playground. I hope you will find it useful.
>
> Thanks.

I like the speed
September 20, 2019
On Friday, 20 September 2019 at 18:00:42 UTC, Vishal Rana wrote:
> On Friday, 20 September 2019 at 17:54:21 UTC, Max Haughton wrote:
>> On Friday, 20 September 2019 at 17:52:26 UTC, Vishal Rana wrote:
>>> Folks,
>>>
>>> I wanted to shared https://code.labstack.com/d, an online D programming playground. I hope you will find it useful.
>>>
>>> Thanks.
>>
>> Unfortunately it's on an ancient compiler build
>
> How come? I am using latest `gdd`.

GCC is still built against DMD 2.068, hopefully this will change soon but if you want more modern features you have to use dmd or ldc. It should really be dmd anyway for faster compiles
September 21, 2019
On Friday, 20 September 2019 at 18:28:16 UTC, Dennis wrote:
> On Friday, 20 September 2019 at 17:52:26 UTC, Vishal Rana wrote:
>> I wanted to shared https://code.labstack.com/d, an online D programming playground. I hope you will find it useful.
>
> For my online D needs I like run.dlang.org for its versatility (you can also specify flags, format, output the AST, output assembly, output LLVM IR etc.), but it's cool that D is included in labstack.
> I like the response times, ideone.com takes 14 seconds to run a Java hello world while labstack takes 1 second.
>
> Did you make the site? I see you are one of the admins.

Thanks for your feedback. Yes, I am the founder.
September 21, 2019
On Friday, 20 September 2019 at 19:25:07 UTC, Max Haughton wrote:
> On Friday, 20 September 2019 at 18:00:42 UTC, Vishal Rana wrote:
>> On Friday, 20 September 2019 at 17:54:21 UTC, Max Haughton wrote:
>>> On Friday, 20 September 2019 at 17:52:26 UTC, Vishal Rana wrote:
>>>> Folks,
>>>>
>>>> I wanted to shared https://code.labstack.com/d, an online D programming playground. I hope you will find it useful.
>>>>
>>>> Thanks.
>>>
>>> Unfortunately it's on an ancient compiler build
>>
>> How come? I am using latest `gdd`.
>
> GCC is still built against DMD 2.068, hopefully this will change soon but if you want more modern features you have to use dmd or ldc. It should really be dmd anyway for faster compiles

I wasn't aware of that. Just upgraded to use `dmd`.
September 21, 2019
On Friday, 20 September 2019 at 17:52:26 UTC, Vishal Rana wrote:
> Folks,
>
> I wanted to shared https://code.labstack.com/d, an online D programming playground. I hope you will find it useful.
>
> Thanks.

You may want to look into making the linux process that runs the executable on your server more secure.  I played around with it and was able to list alot of system files.  I could also make outgoing network requests using the socket API. I could cat /etc/passwd and see all the users.  Not sure what you've done to secure it so far but the allowing the process to have network access is definitely not something you want.  You're opening that machine up to be used as a proxy for network attacks by malicious users.

« First   ‹ Prev
1 2