Thick bingings and Deimos

rikki cattermole rikki at cattermole.co.nz
Thu Jan 24 10:57:02 UTC 2019


On 24/01/2019 11:55 PM, Victor Porton wrote:
> On Thursday, 24 January 2019 at 10:52:22 UTC, rikki cattermole wrote:
>> You do not have to follow the rules of Deimos for your own 
>> libraries/bindings. But I would recommend heavily to separate the 
>> binding from the wrapper for cleaner code.
> 
> Huh? Create a separate module with just two-three structs and methods?
> 
> Are you REALLY super that binding and wrapper should be in different repos?

Not so much different repos, just different packages so you have a clean 
separation. LuaD[0] is a good example even though it was created prior 
to dub.

[0] https://github.com/JakobOvrum/LuaD



More information about the Digitalmars-d mailing list