Re: run.dlang.io - a modern way to run D code

2018-01-13 Thread Seb via Digitalmars-d-announce
On Thursday, 14 December 2017 at 15:46:03 UTC, Walter Bright wrote: On 12/12/2017 10:37 AM, Seb wrote: After it has been in stealth mode for quite a while, I'm happy to announce that there's https://run.dlang.io Very impressive! Nice work! Can I add a suggestion? Have an option to show the

Re: run.dlang.io - a modern way to run D code

2017-12-18 Thread Walter Bright via Digitalmars-d-announce
On 12/18/2017 10:11 AM, Iain Buclaw wrote: Lacks any form of line number information to let you see clearly which set of instructions relates to which expression. i.e: https://explore.dgnu.org/g/7WNiyt This is incorrect (if you compile with debug info on). Besides, it's not particularly

Re: run.dlang.io - a modern way to run D code

2017-12-18 Thread Iain Buclaw via Digitalmars-d-announce
On 18 December 2017 at 04:37, Seb via Digitalmars-d-announce wrote: > On Sunday, 17 December 2017 at 22:57:58 UTC, Walter Bright wrote: >> >> On 12/16/2017 2:45 AM, Iain Buclaw wrote: >>> >>> However dmd doesn't do assembly output. ;-) >> >> >> dmd -c test >>

Re: run.dlang.io - a modern way to run D code

2017-12-18 Thread Iain Buclaw via Digitalmars-d-announce
On 17 December 2017 at 23:57, Walter Bright via Digitalmars-d-announce wrote: > On 12/16/2017 2:45 AM, Iain Buclaw wrote: >> >> However dmd doesn't do assembly output. ;-) > > > dmd -c test > obj2asm test.obj >test.asm Lacks any form of line number

Re: run.dlang.io - a modern way to run D code

2017-12-17 Thread Seb via Digitalmars-d-announce
On Sunday, 17 December 2017 at 22:57:58 UTC, Walter Bright wrote: On 12/16/2017 2:45 AM, Iain Buclaw wrote: However dmd doesn't do assembly output. ;-) dmd -c test obj2asm test.obj >test.asm FYI: There's http://asm.dlang.org which seems to be a bit outdated. Moreover, there's an open issue

Re: run.dlang.io - a modern way to run D code

2017-12-17 Thread Walter Bright via Digitalmars-d-announce
On 12/16/2017 2:45 AM, Iain Buclaw wrote: However dmd doesn't do assembly output. ;-) dmd -c test obj2asm test.obj >test.asm

Re: run.dlang.io - a modern way to run D code

2017-12-16 Thread Iain Buclaw via Digitalmars-d-announce
On 16 December 2017 at 11:01, Walter Bright via Digitalmars-d-announce wrote: > On 12/15/2017 4:10 AM, Radu wrote: >> >> You can use this one for nice assembly outputs https://d.godbolt.org/ > > > That is indeed nice and very useful. It should do dmd, too!

Re: run.dlang.io - a modern way to run D code

2017-12-16 Thread Walter Bright via Digitalmars-d-announce
On 12/15/2017 4:10 AM, Radu wrote: You can use this one for nice assembly outputs https://d.godbolt.org/ That is indeed nice and very useful. It should do dmd, too!

Re: run.dlang.io - a modern way to run D code

2017-12-15 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, Dec 14, 2017 at 02:33:13PM +, Ivan Kazmenko via Digitalmars-d-announce wrote: > On Thursday, 14 December 2017 at 01:52:29 UTC, H. S. Teoh wrote: > > ... > > This can, of course, be bound to a custom keybinding, then you'll > > have your one-stop shop for compiling D snippets without

Re: run.dlang.io - a modern way to run D code

2017-12-15 Thread Radu via Digitalmars-d-announce
On Thursday, 14 December 2017 at 15:46:03 UTC, Walter Bright wrote: On 12/12/2017 10:37 AM, Seb wrote: After it has been in stealth mode for quite a while, I'm happy to announce that there's https://run.dlang.io Very impressive! Nice work! Can I add a suggestion? Have an option to show the

Re: run.dlang.io - a modern way to run D code

2017-12-14 Thread Walter Bright via Digitalmars-d-announce
On 12/12/2017 10:37 AM, Seb wrote: After it has been in stealth mode for quite a while, I'm happy to announce that there's https://run.dlang.io Very impressive! Nice work! Can I add a suggestion? Have an option to show the assembler created. Being able to quickly look at the assembler output

Re: run.dlang.io - a modern way to run D code

2017-12-14 Thread Ivan Kazmenko via Digitalmars-d-announce
On Thursday, 14 December 2017 at 01:52:29 UTC, H. S. Teoh wrote: ... This can, of course, be bound to a custom keybinding, then you'll have your one-stop shop for compiling D snippets without ever seeing (much less typing) any temporary filenames. And without needing an internet connection.

Re: run.dlang.io - a modern way to run D code

2017-12-14 Thread Seb via Digitalmars-d-announce
On Thursday, 14 December 2017 at 13:22:54 UTC, Mengu wrote: On Thursday, 14 December 2017 at 06:43:58 UTC, Mike Franklin wrote: On Thursday, 14 December 2017 at 06:26:16 UTC, Seb wrote: It's interesting to see that no one complained about gdc not being there - I thought that this would be the

Re: run.dlang.io - a modern way to run D code

2017-12-14 Thread Mengu via Digitalmars-d-announce
On Thursday, 14 December 2017 at 06:43:58 UTC, Mike Franklin wrote: On Thursday, 14 December 2017 at 06:26:16 UTC, Seb wrote: It's interesting to see that no one complained about gdc not being there - I thought that this would be the first comment. Allow me to be the first. But seriously,

Re: run.dlang.io - a modern way to run D code

2017-12-14 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-13 02:14, Seb wrote: Also the storage on the machine is limited and we can't drop an unlimited amount of Docker images there. There could be a job that cleans up the local Docker images. If a Docker image is needed it will be pulled down again automatically. Of course there can

Re: run.dlang.io - a modern way to run D code

2017-12-13 Thread Mike Franklin via Digitalmars-d-announce
On Thursday, 14 December 2017 at 06:26:16 UTC, Seb wrote: It's interesting to see that no one complained about gdc not being there - I thought that this would be the first comment. Allow me to be the first. But seriously, considering the use case for run.dlang.io, I don't see the need for

Re: run.dlang.io - a modern way to run D code

2017-12-13 Thread Seb via Digitalmars-d-announce
On Thursday, 14 December 2017 at 02:57:42 UTC, David Nadlinger wrote: On Wednesday, 13 December 2017 at 01:14:26 UTC, Seb wrote: Also the storage on the machine is limited and we can't drop an unlimited amount of Docker images there. Shouldn't the overhead from that be fairly manageable?

Re: run.dlang.io - a modern way to run D code

2017-12-13 Thread David Nadlinger via Digitalmars-d-announce
On Wednesday, 13 December 2017 at 01:14:26 UTC, Seb wrote: Also the storage on the machine is limited and we can't drop an unlimited amount of Docker images there. Shouldn't the overhead from that be fairly manageable? After all, the last layer would only be as large as a single DMD/LDC

Re: run.dlang.io - a modern way to run D code

2017-12-13 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Dec 13, 2017 at 04:59:00PM -0800, H. S. Teoh via Digitalmars-d-announce wrote: [...] > Sadly, `dmd - -run` currently doesn't quite work just yet. I should look > into fixing that. And *then* we wouldn't need to invent a temporary > filename for the executable in our keybinding. [...]

Re: run.dlang.io - a modern way to run D code

2017-12-13 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, Dec 14, 2017 at 12:22:15AM +, Meta via Digitalmars-d-announce wrote: > On Wednesday, 13 December 2017 at 00:54:07 UTC, H. S. Teoh wrote: > > On Wed, Dec 13, 2017 at 12:50:40AM +, Meta via > > Digitalmars-d-announce wrote: > > > On Tuesday, 12 December 2017 at 18:37:38 UTC, Seb

Re: run.dlang.io - a modern way to run D code

2017-12-13 Thread Meta via Digitalmars-d-announce
On Wednesday, 13 December 2017 at 00:54:07 UTC, H. S. Teoh wrote: On Wed, Dec 13, 2017 at 12:50:40AM +, Meta via Digitalmars-d-announce wrote: On Tuesday, 12 December 2017 at 18:37:38 UTC, Seb wrote: > After it has been in stealth mode for quite a while, I'm > happy to announce that

Re: run.dlang.io - a modern way to run D code

2017-12-13 Thread Jonathan M Davis via Digitalmars-d-announce
On Wednesday, December 13, 2017 08:33:36 rikki cattermole via Digitalmars-d- announce wrote: > On 13/12/2017 8:11 AM, Jonathan M Davis wrote: > > On Wednesday, December 13, 2017 08:04:19 rikki cattermole via > > Digitalmars-d-> > > announce wrote: > >> On 13/12/2017 7:56 AM, Jonathan M Davis

Re: run.dlang.io - a modern way to run D code

2017-12-12 Thread Jonathan M Davis via Digitalmars-d-announce
On Wednesday, December 13, 2017 06:53:02 rikki cattermole via Digitalmars-d- announce wrote: > On 13/12/2017 6:46 AM, bauss wrote: > > On Wednesday, 13 December 2017 at 01:14:26 UTC, Seb wrote: > >> On Wednesday, 13 December 2017 at 00:32:11 UTC, rikki cattermole wrote: > >>> On 12/12/2017 6:37

Re: run.dlang.io - a modern way to run D code

2017-12-12 Thread Seb via Digitalmars-d-announce
On Wednesday, 13 December 2017 at 06:53:02 UTC, rikki cattermole wrote: On 13/12/2017 6:46 AM, bauss wrote: On Wednesday, 13 December 2017 at 01:14:26 UTC, Seb wrote: On Wednesday, 13 December 2017 at 00:32:11 UTC, rikki cattermole wrote: On 12/12/2017 6:37 PM, Seb wrote: === Supported D

Re: run.dlang.io - a modern way to run D code

2017-12-12 Thread Mike Franklin via Digitalmars-d-announce
On Tuesday, 12 December 2017 at 18:37:38 UTC, Seb wrote: After it has been in stealth mode for quite a while, I'm happy to announce that there's https://run.dlang.io I've actually been using it a lot recently to communicate bugs/ideas/patterns with others. Due to the nightlies, I can

Re: run.dlang.io - a modern way to run D code

2017-12-12 Thread Seb via Digitalmars-d-announce
On Wednesday, 13 December 2017 at 00:50:40 UTC, Meta wrote: This is a real life saver considering dpaste is blocked at work. It gets very tedious having to create a file, invoke the compiler, and run it in 3 separate steps just to test out some quick snippet. Great to hear that it's useful

Re: run.dlang.io - a modern way to run D code

2017-12-12 Thread Seb via Digitalmars-d-announce
On Wednesday, 13 December 2017 at 00:32:11 UTC, rikki cattermole wrote: On 12/12/2017 6:37 PM, Seb wrote: === Supported D Compilers === * Latest DMD nightly * Latest DMD beta * Latest DMD * Latest LDC beta * Latest LDC The Docker images are rebuilt every day automatically. Can we please

Re: run.dlang.io - a modern way to run D code

2017-12-12 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Dec 13, 2017 at 12:50:40AM +, Meta via Digitalmars-d-announce wrote: > On Tuesday, 12 December 2017 at 18:37:38 UTC, Seb wrote: > > After it has been in stealth mode for quite a while, I'm happy to > > announce that there's https://run.dlang.io [...] > This is a real life saver

Re: run.dlang.io - a modern way to run D code

2017-12-12 Thread Meta via Digitalmars-d-announce
On Tuesday, 12 December 2017 at 18:37:38 UTC, Seb wrote: After it has been in stealth mode for quite a while, I'm happy to announce that there's https://run.dlang.io === Features === * Color-highlighted DMD errors * Format source code with dfmt * Generate a short URL for link sharing *

Re: run.dlang.io - a modern way to run D code

2017-12-12 Thread rikki cattermole via Digitalmars-d-announce
On 12/12/2017 6:37 PM, Seb wrote: After it has been in stealth mode for quite a while, I'm happy to announce that there's https://run.dlang.io === Features === * Color-highlighted DMD errors * Format source code with dfmt * Generate a short URL for link sharing s/shorten/permalink/ Or