run.dlang.io compilation timeouts

Anonymouse zorael at gmail.com
Sun Dec 6 15:16:06 UTC 2020


I use run.dlang.io extensively to test snippets of code, and the 
"all dmd compilers" function is handy at times. Concretely I 
today wanted to confirm that std.algorithm.remove took its 
argument by ref since forever. A short enough example, 
https://run.dlang.io/is/diMup5.

import std.algorithm;
import std.stdio;

void main()
{
     int[] arr = [ 1, 2, 3, 4, 5 ];
     auto barr = arr.remove!(SwapStrategy.unstable)(2);
     if (barr != [ 1, 2, 5, 4 ]) writeln(barr);
}

But it results in a "Server error:".

Is it very unreasonable to ask that the timeout be increased? Is 
there some other mechanic at play?


More information about the Digitalmars-d mailing list