D kernel for Jupyter notebook

Nicholas Wilson iamthewilsonator at hotmail.com
Sat Sep 15 09:39:57 UTC 2018


On Saturday, 15 September 2018 at 08:12:37 UTC, Peter Alexander 
wrote:
> On Sunday, 19 August 2018 at 23:49:21 UTC, Nicholas Wilson 
> wrote:
>> On Sunday, 19 August 2018 at 20:33:45 UTC, Laeeth Isharc wrote:
>>> [...]
>>
>> Note that the D repl will only work on platforms where drepl 
>> works i.e. platform with shared library support. It will 
>> _build_ on OSX due to 
>> https://github.com/kaleidicassociates/jupyterd/blob/master/source/jupyterd/kernel.d#L393 but it won't work.
>
> The drepl README on github says it works for OSX. Is that not 
> correct?
>
> "Works on any OS with full shared library support by DMD 
> (currently linux, OSX, and FreeBSD)."

https://github.com/dlang/druntime/blob/master/src/rt/sections_elf_shared.d#L534

vs.

https://github.com/dlang/druntime/blob/master/src/rt/sections_osx_x86_64.d

^F rt_loadLibrary

> Not found.

As a result it fails to link. Probably not hard to fix, though.


More information about the Digitalmars-d-announce mailing list