One Stop Shop?

Israel via Digitalmars-d digitalmars-d at puremagic.com
Sun Aug 31 10:06:01 PDT 2014


On Saturday, 30 August 2014 at 19:19:48 UTC, Sativa wrote:
> I think it would be helpful to have the d lang site host 
> tutorials/lessons on various aspects of D. D is hard to use for 
> certain things like gui's, graphics(ogl, dx, etc), etc... not 
> necessarily because D can't do these things but because the 
> information is not out there.

Youre right about alot of things and nobody here can disagree.
Although the situation is different from what you would expect. D
is a community backed language so everything is done by the
community for the community, even documentation.

Tutorials and stuff like that are extremely difficult to find
because not everyone has had experience. I myself am trying to
understand how to use GFM for graphics and stuff using SDL.

Actually, if you want to do some graphics and stuff, look at the
gfm code package. "http://code.dlang.org/packages/gfm". Make sure
to download and install the SDL library -
"https://www.libsdl.org/download-2.0.php". Then add these
dependencies to your dub.json file. Everything will just
download, compile and work right out of the box.

"gfm:core": ">=0.0.0",
"gfm:math": ">=0.0.0",
"gfm:image": ">=0.0.0",
"gfm:sdl2": ">=0.0.0"

"https://github.com/d-gamedev-team/gfm/blob/master/sdl2/gfm/sdl2/window.d"

This is the crappiest part about D, you have to look through
peoples source code and try to understand how to use it. Its
terrible i know, but its the only way...


More information about the Digitalmars-d mailing list