Thread overview | ||||||
---|---|---|---|---|---|---|
|
March 17, 2021 Nodejs extension in D using N-API | ||||
---|---|---|---|---|
| ||||
Is it also possible to use D with [`N-API`](https://github.com/nodejs/node-addon-api/), the newer interface Node-js recommends writing native addons in? https://forum.dlang.org/post/tkblbdujrmzrpxjbzorb@forum.dlang.org On Friday, 5 January 2018 at 11:47:07 UTC, Ervin Bosenbacher wrote: > Hi > > 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. > > [...] |
March 18, 2021 Re: Nodejs extension in D using N-API | ||||
---|---|---|---|---|
| ||||
Posted in reply to Amin | On Wednesday, 17 March 2021 at 00:25:08 UTC, Amin wrote:
> Is it also possible to use D with [`N-API`](https://github.com/nodejs/node-addon-api/), the newer interface Node-js recommends writing native addons in?
>
> https://forum.dlang.org/post/tkblbdujrmzrpxjbzorb@forum.dlang.org
>
> On Friday, 5 January 2018 at 11:47:07 UTC, Ervin Bosenbacher wrote:
>> Hi
>>
>> 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.
>>
>> [...]
I'm also interested in this. Perhaps use the "fastcall" library.
Anyone have experience with Node<->D?
|
March 18, 2021 Re: Nodejs extension in D using N-API | ||||
---|---|---|---|---|
| ||||
Posted in reply to James Lu | On Thursday, 18 March 2021 at 19:03:44 UTC, James Lu wrote: > On Wednesday, 17 March 2021 at 00:25:08 UTC, Amin wrote: >> Is it also possible to use D with [`N-API`](https://github.com/nodejs/node-addon-api/), the newer interface Node-js recommends writing native addons in? >> >> https://forum.dlang.org/post/tkblbdujrmzrpxjbzorb@forum.dlang.org >> >> On Friday, 5 January 2018 at 11:47:07 UTC, Ervin Bosenbacher wrote: >>> [...] > > I'm also interested in this. Perhaps use the "fastcall" library. > > Anyone have experience with Node<->D? https://code.dlang.org/packages/node_dlang https://forum.dlang.org/thread/tkblbdujrmzrpxjbzorb@forum.dlang.org |
March 23, 2021 Re: Nodejs extension in D using N-API | ||||
---|---|---|---|---|
| ||||
Posted in reply to Imperatorn | On Thursday, 18 March 2021 at 19:13:27 UTC, Imperatorn wrote:
> https://code.dlang.org/packages/node_dlang
>
Thanks! This is exactly what I was looking for.
|
Copyright © 1999-2021 by the D Language Foundation