SAOC Project
Seb
seb at wilzba.ch
Sun Aug 4 21:01:52 UTC 2019
On Sunday, 4 August 2019 at 16:06:59 UTC, Ionuț Mihalache wrote:
> Hi everyone,
>
> My name is Ionuț and I am interested in one of the SAOC
> projects, the one about DUB: D's package manager. What I would
> like to know are the parts about git support and C/C++ support.
> Can you tell me which one is more important for the community
> and what are the next steps for SAOC and maybe more details
> about what exactly is already implemented if there is
> something, in order for me to know where to start exactly.
>
> Thank you.
Hi Ionuț,
thanks a lot for your interest!
As you probably saw on
https://github.com/dlang/projects/issues/3, there are quite a few
potential projects.
As Andre already answered on the git steps, let me give try to
give an answer for C/C++ support:
- start with https://github.com/dlang/dub/wiki/DEP5
- look at how other package managers deal with this (e.g. cargo)
- study dub's existing code
- you probably have to change the Compiler interface to
"DCompiler"
(https://github.com/dlang/dub/blob/master/source/dub/compilers/compiler.d) and introduce a C/C++ compiler abstraction.
- start with a simple example (e.g. linenoise). Instead of L14 in
the dub.sdl
(https://github.com/MartinNowak/linenoise/blob/master/dub.sdl#L14), dub should be able to handle this more elegantly
- provide more advanced examples and settings (cflags, cppflags)
I hope this helps to get you started. Please feel free to ask
more questions here, on the DUB repository or on Slack/IRC.
Good luck!
More information about the Digitalmars-d
mailing list