Thread overview | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
September 20, 2019 Online programming playground | ||||
---|---|---|---|---|
| ||||
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 Re: Online programming playground | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vishal Rana | 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 Re: Online programming playground | ||||
---|---|---|---|---|
| ||||
Posted in reply to Max Haughton | 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 Re: Online programming playground | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vishal Rana | 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 Re: Online programming playground | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vishal Rana | 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 Re: Online programming playground | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vishal Rana | 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 Re: Online programming playground | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vishal Rana | 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 Re: Online programming playground | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dennis | 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 Re: Online programming playground | ||||
---|---|---|---|---|
| ||||
Posted in reply to Max Haughton | 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 Re: Online programming playground | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vishal Rana | 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.
|
Copyright © 1999-2021 by the D Language Foundation