May 19, 2021

Is it also possible to use D with N-API,the newer interface Node-js recommends writing native addons in?

I Just wanted to share how I have managed to interface node.js with D using C++ bridge and NAN. So far I have been using C++ and rust for this but for obvious reasons (that would be a long story to explain) I wanted to go with D. One of the show stoppers was the lack of well established (or I don't know if that exists) library of framework to help with that.

https://www.prepaidgiftbalance.vip/

May 19, 2021

On Wednesday, 19 May 2021 at 11:33:44 UTC, Tyler51 wrote:

>

Is it also possible to use D with N-API,the newer interface Node-js recommends writing native addons in?

I Just wanted to share how I have managed to interface node.js with D using C++ bridge and NAN. So far I have been using C++ and rust for this but for obvious reasons (that would be a long story to explain) I wanted to go with D. One of the show stoppers was the lack of well established (or I don't know if that exists) library of framework to help with that.

https://www.prepaidgiftbalance.vip/

I found node_dlang on code.dlang.org, but I haven't tried it.