digitalmars.D.learn - Good repos to learn D
- Imperatorn (3/3) Sep 19 2020 What are some good examples of pretty large/medium size, good
- Jacob Carlborg (20/23) Sep 19 2020 Here are some examples of large projects:
- Imperatorn (4/9) Sep 19 2020 Thanks, I'll check them out!
- H. S. Teoh (10/12) Sep 19 2020 [...]
- Imperatorn (2/13) Sep 20 2020 Thanks! I'll take a look 🌈
- =?UTF-8?B?0JLQuNGC0LDQu9C40Lkg0KTQsNC0?= =?UTF-8?B?0LXQtdCy?= (3/6) Sep 21 2020 I often looked into the D std source code:
- WebFreak001 (5/8) Sep 21 2020 I would include vibe.d in there of course!
What are some good examples of pretty large/medium size, good structured repos in D? I'm looking for examples to learn from Thanks!
Sep 19 2020
On Saturday, 19 September 2020 at 08:26:36 UTC, Imperatorn wrote:What are some good examples of pretty large/medium size, good structured repos in D? I'm looking for examples to learn from Thanks!Here are some examples of large projects: * DWT [1]. This is one of the largest D projects I'm aware of. It's a port from Java so it's structured like a Java project. I think it works pretty well for D projects as well. But it's not common to have the reverse domain name package structure like in Java. It's more common to have the top level package be named after the project. * Mecca [2]. This one is not as large as DWT, but I think it nicely shows how to separate the platform specific code from the platform independent code. Instead of having `version` statements sprinkled all over the code most platform specific code is located in the `platform` packages. Then it provides a common interface that is used by the rest of the project. * Ocean [3]. This one is quite large as well. [1] https://github.com/d-widget-toolkit/dwt [2] https://github.com/weka-io/mecca [3] https://github.com/sociomantic-tsunami/ocean -- /Jacob Carlborg
Sep 19 2020
On Saturday, 19 September 2020 at 13:13:58 UTC, Jacob Carlborg wrote:On Saturday, 19 September 2020 at 08:26:36 UTC, Imperatorn wrote:Thanks, I'll check them out! /Forsberg[...]Here are some examples of large projects: [...]
Sep 19 2020
On Sat, Sep 19, 2020 at 08:26:36AM +0000, Imperatorn via Digitalmars-d-learn wrote:What are some good examples of pretty large/medium size, good structured repos in D? I'm looking for examples to learn from[...] Phobos itself. I have to say, it's the most readable programming language standard library that I've come across. I've tried to read glibc code before, and I will never ever do that again(!). Phobos, by contrast, is a pleasure to read (except for a small number of dark corners). T -- Unix was not designed to stop people from doing stupid things, because that would also stop them from doing clever things. -- Doug Gwyn
Sep 19 2020
On Sunday, 20 September 2020 at 04:27:59 UTC, H. S. Teoh wrote:On Sat, Sep 19, 2020 at 08:26:36AM +0000, Imperatorn via Digitalmars-d-learn wrote:Thanks! I'll take a look 🌈What are some good examples of pretty large/medium size, good structured repos in D? I'm looking for examples to learn from[...] Phobos itself. I have to say, it's the most readable programming language standard library that I've come across. I've tried to read glibc code before, and I will never ever do that again(!). Phobos, by contrast, is a pleasure to read (except for a small number of dark corners). T
Sep 20 2020
On Saturday, 19 September 2020 at 08:26:36 UTC, Imperatorn wrote:What are some good examples of pretty large/medium size, good structured repos in D? I'm looking for examples to learn from Thanks!I often looked into the D std source code: C:\D\dmd2\src\phobos\std
Sep 21 2020
On Saturday, 19 September 2020 at 08:26:36 UTC, Imperatorn wrote:What are some good examples of pretty large/medium size, good structured repos in D? I'm looking for examples to learn from Thanks!I would include vibe.d in there of course! https://github.com/vibe-d/vibe.d Some legacy cruft regarding the module separation, but otherwise really solid and tons of stuff just working.
Sep 21 2020