www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Having fun making tutorials

reply Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
I've just uploaded this page:
http://prowiki.org/wiki4d/wiki.cgi?D__Tutorial/CompilingLinkingD

It's a small guide on using DMD and Optlink, and the usual confusion with
linker errors when using the import switch. Still it's too Windows specific and
it doesn't discuss DLLs. I think they're special enough to warrant a new page,
and I might be writing about them soon. I'm no expert though.

A few days ago I've also written a small guide on how a typical D template
works from the ground up (in this case unaryFun):
http://prowiki.org/wiki4d/wiki.cgi?D__Tutorial/D2Templates

I'm trying not to duplicate the effort and re-explain everything that TDPL
already explains perfectly. What other areas are newbies typically struggling
with when it comes to D?

Actually, I could use a good tutorial or two for myself! :)
Feb 01 2011
next sibling parent Walter Bright <newshound2 digitalmars.com> writes:
Andrej Mitrovic wrote:
 I've just uploaded this page:
 http://prowiki.org/wiki4d/wiki.cgi?D__Tutorial/CompilingLinkingD
Thanks for doing these. Such tutorials are a nice help.
Feb 01 2011
prev sibling parent reply Jesse Phillips <jessekphillips+D gmail.com> writes:
This is great. I suggest writing a tutorial on anything that you are learning,
even if you are using a tutorial to learn it. If you don't really have a place
to get started you can look through existing stuff on Wiki4D or questions on
StackOverflow for some ideas.

A lot of the existing stuff on Wiki4D is greatly outdated, but it is much more
fun to write something new in your own style, so if there is something that
interests you feel free to replace it.

Andrej Mitrovic Wrote:

 I've just uploaded this page:
 http://prowiki.org/wiki4d/wiki.cgi?D__Tutorial/CompilingLinkingD
 
 It's a small guide on using DMD and Optlink, and the usual confusion with
linker errors when using the import switch. Still it's too Windows specific and
it doesn't discuss DLLs. I think they're special enough to warrant a new page,
and I might be writing about them soon. I'm no expert though.
 
 A few days ago I've also written a small guide on how a typical D template
works from the ground up (in this case unaryFun):
 http://prowiki.org/wiki4d/wiki.cgi?D__Tutorial/D2Templates
 
 I'm trying not to duplicate the effort and re-explain everything that TDPL
already explains perfectly. What other areas are newbies typically struggling
with when it comes to D?
 
 Actually, I could use a good tutorial or two for myself! :)
Feb 02 2011
next sibling parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 2/2/11, Jesse Phillips <jessekphillips+D gmail.com> wrote:
 This is great. I suggest writing a tutorial on anything that you are
 learning, even if you are using a tutorial to learn it.
Yeah. A contributor doesn't have to be very experienced to write anything, and more people should know that! If someone makes a mistake when writing a tutorial, there's always someone more knowledgeable that can correct the errors. That's the great thing about wiki's. The not-so-great part is that wikis tend to get abandoned or severely outdated. But again, the reason for that is lack of contributors.
Feb 02 2011
prev sibling next sibling parent spir <denis.spir gmail.com> writes:
On 02/02/2011 07:12 PM, Andrej Mitrovic wrote:
 If someone makes a mistake when writing a tutorial, there's always
 someone more knowledgeable that can correct the errors
... instead of criticizing the original author ;-)
 That's the
 great thing about wiki's.
Yop! Denis -- _________________ vita es estrany spir.wikidot.com
Feb 02 2011
prev sibling parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
I've added a section on calling conventions and compiling/using
interface files with static libraries. I should also add a section on
using htod and discuss the issue with omf vs coff.

There should be another page for actually using C libraries, although
I think there are some already (there's one in the manual for sure).

After that I'll hopefully write a few things about DLLs, which are
often problematic for newbies.
Feb 05 2011