www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Online programming playground

reply Vishal Rana <vr labstack.com> writes:
Folks,

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

Thanks.
Sep 20 2019
next sibling parent reply Max Haughton <maxhaton gmail.com> writes:
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
Sep 20 2019
parent reply Vishal Rana <vr labstack.com> writes:
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`.
Sep 20 2019
next sibling parent rikki cattermole <rikki cattermole.co.nz> writes:
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.
Sep 20 2019
prev sibling parent reply Max Haughton <maxhaton gmail.com> writes:
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
Sep 20 2019
parent Vishal Rana <vr labstack.com> writes:
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`.
Sep 20 2019
prev sibling next sibling parent reply Dennis <dkorpel gmail.com> writes:
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.
Sep 20 2019
parent Vishal Rana <vr labstack.com> writes:
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.
Sep 20 2019
prev sibling next sibling parent John Colvin <john.loughran.colvin gmail.com> writes:
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
Sep 20 2019
prev sibling next sibling parent Jonathan Marler <johnnymarler gmail.com> writes:
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.
Sep 20 2019
prev sibling next sibling parent Guillaume Piolat <first.last gmail.com> writes:
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.
Cool, much faster than ideone!
Sep 21 2019
prev sibling parent a11e99z <black80 bk.ru> writes:
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.
"Share" button is disabled. should i be logged in? why?
Sep 21 2019