digitalmars.D - Having fun making tutorials
- Andrej Mitrovic (7/7) Feb 01 2011 I've just uploaded this page:
- Walter Bright (2/4) Feb 01 2011 Thanks for doing these. Such tutorials are a nice help.
- Jesse Phillips (3/14) Feb 02 2011 This is great. I suggest writing a tutorial on anything that you are lea...
- Andrej Mitrovic (8/10) Feb 02 2011 Yeah. A contributor doesn't have to be very experienced to write
- spir (8/12) Feb 02 2011 Yop!
- Andrej Mitrovic (7/7) Feb 05 2011 I've added a section on calling conventions and compiling/using
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
Andrej Mitrovic wrote:I've just uploaded this page: http://prowiki.org/wiki4d/wiki.cgi?D__Tutorial/CompilingLinkingDThanks for doing these. Such tutorials are a nice help.
Feb 01 2011
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
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
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
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