I am testing simple code in Geany (Windows 7, DMD compiler):
import std.stdio,std.net.curl;
void main()
{
// Return a char[] containing the content specified by an URL
auto content = get("dlang.org");
}
It compiled ok, but I get error after running exe file:
object.Error@(0): Access Violation
Current implementation of d-runtime relies on a lot of symbols
from libc, librt, libpthread, which makes it hard to create a
minimal runtime used for embedded devices. Although there are
some unofficial minimal versions of d-runtime, many of them lack
maintenance and outdates rapidly. I was
On Thursday, 19 July 2018 at 11:35:00 UTC, Seb wrote:
Well, since 2.079 it's actually possible to use D without a
dependency any runtime (even libc):
https://dlang.org/changelog/2.079.0.html#minimal_runtime
Also with -betterC you can actually use lots of things from
core that don't depend
Hi,
I built a simple program with dmd a.d and tried to observe
symbols with nm --demangle=dlang ./a. However, I can observe that
only part of the symbols (e.g., std.stdio.File.size()) are
demangled, while others remain in their original name (e.g.,
_D3std5stdio4File8opAssignMFNfSQBdQBcQzZv).