SAOC - Looking for a mentor

Sebastiaan Koppe mail at skoppe.eu
Fri Aug 9 07:42:28 UTC 2019


On Friday, 9 August 2019 at 05:50:22 UTC, Ionuț Mihalache wrote:
> I have here [1] my project proposal, could you give me some 
> opinions about it(if it's ok, what should be changed or added, 
> maybe removed).

> Thanks,
> Ionuț

I would first work out some real-world mixed-compilation 
scenario's that you would want to write support for. In the very 
least that will give you (and others) a clear and understandable 
goal. Right now I have no idea what you intend to support and 
what not.

There have been countless post on the forum of compilation setups 
that dub doesn't support.

I think the most common one (for me) is having a C/C++ library 
that first needs to be compiled into a static library before 
compiling the D code.

A more advances use case for myself is a code generation scenario 
I often use. E.g. first compile one program (if modified), run it 
to generate code, then use that to compile another program. Here, 
either one could be in D or C/C++. (currently I have one in 
Typescript)

With those scenario's you can structurize your proposal a bit 
better. For instance you can describe a common scenario (the 
problem), then describe what you want to support (scope it) and 
finally describe the method or way your are going to implement it 
(while also looking at more advanced scenario's that you don't 
support right away, but can be implemented in the future). Right 
now it is in a very draft form and goes too much into dub's 
details.

Hope that helps.


More information about the Digitalmars-d-announce mailing list