[GSoC] Trying to find a good topic

Dan Printzell xwildn00bx at gmail.com
Sat Mar 23 18:30:46 UTC 2019


On Thursday, 21 March 2019 at 21:01:51 UTC, kinke wrote:
> I'm sure you'd be of great help. :)

Thanks :)

> Wrt. DIP1014, I tried to point out in the discussion that it 
> probably needs a D ABI change (I know that it definitely will 
> for LDC). We're not talking about a trivial minor adaptation, 
> but a change affecting all non-POD arguments passed by value - 
> don't copy in registers or on the stack anymore and let callEE 
> destruct it, but have callER create a temporary, pass it by ref 
> and then destruct it by callER (also when callEE throws), just 
> like C++. As a nice side-effect, this will also fix C++ interop 
> in this regard.

I missed that it would require an ABI changes, thanks for 
mentioning
this! Because of this I do not feel confrontable to try and 
implement
this DIP and it is probably better to focus on the bare metal 
runtime
topic.

> IMO, it should indeed be something like a druntime-lite without 
> any external dependencies, and druntime build on top of it. 
> Containing the 'absolutely essential runtime bits for the core 
> features' (to be defined ;) - e.g., (most?) runtime functions 
> implicitly invoked by the compiler, e.g., for array 
> copying/initializing). As a goal, it should be fairly simple to 
> add support for any new target, e.g., WebAssembly and a new OS 
> like your PowerNex.

Thanks, I added these requirements to my notes.


More information about the Digitalmars-d mailing list