digitalmars.D.announce - I wrote a little socket tutorial
- Adam D. Ruppe (4/4) Nov 12 2019 A lot of people ask me how to use sockets in Phobos, so I wrote
- Soulsbane (2/6) Nov 13 2019 Thanks Adam it's just what I was looking for!
- Martin Tschierschke (12/16) Nov 13 2019 Thank you!
- SrMordred (4/8) Nov 13 2019 Thanks u very much!
- bauss (5/9) Nov 15 2019 Back when I first started D I wish this existed because there was
- JN (3/15) Nov 15 2019 I used this to get started back in the day:
- Adam D. Ruppe (4/6) Nov 15 2019 yeah, that's one of the samples from my "D Cookbook" and I wrote
- JN (7/13) Nov 15 2019 Such code snippets are amazing for starting out. Too many
- Adam D. Ruppe (12/15) Nov 15 2019 Aye. That's why my doc gen actually has hidden secret features to
- Ferhat =?UTF-8?B?S3VydHVsbXXFnw==?= (2/6) Nov 16 2019 Very nice tutorial. Absolutely it is worth it to bookmark.
A lot of people ask me how to use sockets in Phobos, so I wrote it up with a few samples. Not every detail you could ever need, but I tried to be reasonably comprehensive for new users. http://dpldocs.info/this-week-in-d/Blog.Posted_2019_11_11.html
Nov 12 2019
On Tuesday, 12 November 2019 at 18:03:44 UTC, Adam D. Ruppe wrote:A lot of people ask me how to use sockets in Phobos, so I wrote it up with a few samples. Not every detail you could ever need, but I tried to be reasonably comprehensive for new users. http://dpldocs.info/this-week-in-d/Blog.Posted_2019_11_11.htmlThanks Adam it's just what I was looking for!
Nov 13 2019
On Tuesday, 12 November 2019 at 18:03:44 UTC, Adam D. Ruppe wrote:A lot of people ask me how to use sockets in Phobos, so I wrote it up with a few samples. Not every detail you could ever need, but I tried to be reasonably comprehensive for new users. http://dpldocs.info/this-week-in-d/Blog.Posted_2019_11_11.htmlThank you! I would like to ask you and other writers of tutorials, to place them in the D wiki. [1] I have put it already under the General section, maybe you would like to move it elsewhere. Or directly in the Articles section? [2] Recently many new tutorials were published and they should be more visible then just in the Announce Forum. [1] https://wiki.dlang.org/Articles [2] https://dlang.org/articles/index.html
Nov 13 2019
On Tuesday, 12 November 2019 at 18:03:44 UTC, Adam D. Ruppe wrote:A lot of people ask me how to use sockets in Phobos, so I wrote it up with a few samples. Not every detail you could ever need, but I tried to be reasonably comprehensive for new users. http://dpldocs.info/this-week-in-d/Blog.Posted_2019_11_11.htmlThanks u very much! I remember being one of the things that I felt missing when first started with D!
Nov 13 2019
On Tuesday, 12 November 2019 at 18:03:44 UTC, Adam D. Ruppe wrote:A lot of people ask me how to use sockets in Phobos, so I wrote it up with a few samples. Not every detail you could ever need, but I tried to be reasonably comprehensive for new users. http://dpldocs.info/this-week-in-d/Blog.Posted_2019_11_11.htmlBack when I first started D I wish this existed because there was virtually nothing regarding sockets back then. It would have helped me a lot in terms of using it. Great tutorial, 10/10.
Nov 15 2019
On Friday, 15 November 2019 at 18:41:02 UTC, bauss wrote:On Tuesday, 12 November 2019 at 18:03:44 UTC, Adam D. Ruppe wrote:I used this to get started back in the day: http://arsdnet.net/dcode/book/chapter_02/03/A lot of people ask me how to use sockets in Phobos, so I wrote it up with a few samples. Not every detail you could ever need, but I tried to be reasonably comprehensive for new users. http://dpldocs.info/this-week-in-d/Blog.Posted_2019_11_11.htmlBack when I first started D I wish this existed because there was virtually nothing regarding sockets back then. It would have helped me a lot in terms of using it. Great tutorial, 10/10.
Nov 15 2019
On Friday, 15 November 2019 at 19:40:51 UTC, JN wrote:I used this to get started back in the day: http://arsdnet.net/dcode/book/chapter_02/03/yeah, that's one of the samples from my "D Cookbook" and I wrote this new thing primarily to expand upon the text there from the book (which was minimal).
Nov 15 2019
On Friday, 15 November 2019 at 20:01:01 UTC, Adam D. Ruppe wrote:On Friday, 15 November 2019 at 19:40:51 UTC, JN wrote:Such code snippets are amazing for starting out. Too many libraries just throw the API documentation at you and figure out how to set up things. Especially in non-OOP languages, with OOP the dependencies kinda flow much better (oh, for this I need object of this class, so I make this, oh and now I need this object).I used this to get started back in the day: http://arsdnet.net/dcode/book/chapter_02/03/yeah, that's one of the samples from my "D Cookbook" and I wrote this new thing primarily to expand upon the text there from the book (which was minimal).
Nov 15 2019
On Friday, 15 November 2019 at 21:07:45 UTC, JN wrote:Such code snippets are amazing for starting out. Too many libraries just throw the API documentation at you and figure out how to set up things.Aye. That's why my doc gen actually has hidden secret features to make *complete* examples inside D's documented unittest thing. I've written a bunch of basic games with my other libs, a big one I always point newbies to is the pong sample: http://dpldocs.info/experimental-docs/arsd.simpledisplay.html#pong and my view is it is more fun to copy/paste something that actually works, then modify it to make it your own. (the blog btw is built with my doc gen too, and the socket samples are all D unittests using my special features so I can compile and run it as well, my way of making sure my stuff actually compiled lol)
Nov 15 2019
On Tuesday, 12 November 2019 at 18:03:44 UTC, Adam D. Ruppe wrote:A lot of people ask me how to use sockets in Phobos, so I wrote it up with a few samples. Not every detail you could ever need, but I tried to be reasonably comprehensive for new users. http://dpldocs.info/this-week-in-d/Blog.Posted_2019_11_11.htmlVery nice tutorial. Absolutely it is worth it to bookmark.
Nov 16 2019