Comment #0 by jansen.gerald — 2015-09-11T16:19:53Z
The sample program on the home page that demonstrates curl+json gives this error message when the "Run" button is clicked:
Compilation output: (9 Killed)
This doesn't make a very good impression for a casual visitor.
========
// D is like...
pragma(lib, "curl");
import std.functional, std.json, std.net.curl, std.stdio;
alias getJSON = pipe!(get, parseJSON);
void main()
{
auto json = getJSON(
"itsthisforthat.com/api.php?json");
writefln("So, basically D is like a %s for %s",
json["this"].str, json["that"].str);
}
Comment #1 by jansen.gerald — 2015-09-11T16:34:05Z
Hmm, the example "// Round floating point numbers"
also crashes, but with message:
Compilation error: (255 Unknown signal 255)
unable to fork: Cannot allocate memory
Comment #2 by schveiguy — 2015-09-11T18:07:59Z
*** This issue has been marked as a duplicate of issue 12210 ***