www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Microsoft is introducing infrastructure to generate Win32 bindings

reply Paulo Pinto <pjmlp progtools.org> writes:
Hi,

Microsoft just introduced a project, based on their learnings for 
UWP language projections.

https://blogs.windows.com/windowsdeveloper/2021/01/21/making-win32-apis-more-accessible-to-more-languages/

Just like with UWP, it makes use of .NET metadata format to use 
as input for bindings generation.



This could be a solution for improved Win32 bindings in D as well.
Jan 21
next sibling parent reply Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Friday, 22 January 2021 at 07:19:28 UTC, Paulo Pinto wrote:
 Hi,

 Microsoft just introduced a project, based on their learnings 
 for UWP language projections.

 https://blogs.windows.com/windowsdeveloper/2021/01/21/making-win32-apis-more-accessible-to-more-languages/

 Just like with UWP, it makes use of .NET metadata format to use 
 as input for bindings generation.



 This could be a solution for improved Win32 bindings in D as 
 well.
Yeah, saw that too. Would be nice if a projection for D was on the road map 😁
Jan 22
parent reply Jacob Carlborg <doob me.com> writes:
On 2021-01-22 23:05, Imperatorn wrote:

 Yeah, saw that too. Would be nice if a projection for D was on the road 
 map 😁
"We will work with the community to support other languages based on demand". Just start requesting support for D ;) -- /Jacob Carlborg
Jan 23
parent reply Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Saturday, 23 January 2021 at 11:50:29 UTC, Jacob Carlborg 
wrote:
 On 2021-01-22 23:05, Imperatorn wrote:

 Yeah, saw that too. Would be nice if a projection for D was on 
 the road map 😁
"We will work with the community to support other languages based on demand". Just start requesting support for D ;)
Yeah, totally realistic 😂 You can ofc request it. We should!
Jan 23
parent reply Paulo Pinto <pjmlp progtools.org> writes:
On Saturday, 23 January 2021 at 12:26:40 UTC, Imperatorn wrote:
 On Saturday, 23 January 2021 at 11:50:29 UTC, Jacob Carlborg 
 wrote:
 On 2021-01-22 23:05, Imperatorn wrote:

 Yeah, saw that too. Would be nice if a projection for D was 
 on the road map 😁
"We will work with the community to support other languages based on demand". Just start requesting support for D ;)
Yeah, totally realistic 😂 You can ofc request it. We should!
Just added my vote to it and a marketing comment.
Jan 23
next sibling parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Saturday, 23 January 2021 at 16:33:23 UTC, Paulo Pinto wrote:
 On Saturday, 23 January 2021 at 12:26:40 UTC, Imperatorn wrote:
 On Saturday, 23 January 2021 at 11:50:29 UTC, Jacob Carlborg 
 wrote:
 On 2021-01-22 23:05, Imperatorn wrote:

 Yeah, saw that too. Would be nice if a projection for D was 
 on the road map 😁
"We will work with the community to support other languages based on demand". Just start requesting support for D ;)
Yeah, totally realistic 😂 You can ofc request it. We should!
Just added my vote to it and a marketing comment.
Link?
Jan 23
prev sibling next sibling parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Saturday, 23 January 2021 at 16:33:23 UTC, Paulo Pinto wrote:
 On Saturday, 23 January 2021 at 12:26:40 UTC, Imperatorn wrote:
 On Saturday, 23 January 2021 at 11:50:29 UTC, Jacob Carlborg 
 wrote:
 On 2021-01-22 23:05, Imperatorn wrote:

 Yeah, saw that too. Would be nice if a projection for D was 
 on the road map 😁
"We will work with the community to support other languages based on demand". Just start requesting support for D ;)
Yeah, totally realistic 😂 You can ofc request it. We should!
Just added my vote to it and a marketing comment.
Oh, you upvoted my comment there,lol 👍
Jan 23
prev sibling parent reply James Blachly <james.blachly gmail.com> writes:
On 1/23/21 11:33 AM, Paulo Pinto wrote:
 On Saturday, 23 January 2021 at 12:26:40 UTC, Imperatorn wrote:
 On Saturday, 23 January 2021 at 11:50:29 UTC, Jacob Carlborg wrote:
 On 2021-01-22 23:05, Imperatorn wrote:

 Yeah, saw that too. Would be nice if a projection for D was on the 
 road map 😁
"We will work with the community to support other languages based on demand". Just start requesting support for D ;)
Yeah, totally realistic 😂 You can ofc request it. We should!
Just added my vote to it and a marketing comment.
This would be a great job/responsibility for Max to take on (is advocacy within Mike/Max's purview?)
Jan 23
parent reply Max Haughton <maxhaton gmail.com> writes:
On Saturday, 23 January 2021 at 21:31:22 UTC, James Blachly wrote:
 On 1/23/21 11:33 AM, Paulo Pinto wrote:
 On Saturday, 23 January 2021 at 12:26:40 UTC, Imperatorn wrote:
 On Saturday, 23 January 2021 at 11:50:29 UTC, Jacob Carlborg 
 wrote:
 On 2021-01-22 23:05, Imperatorn wrote:

 Yeah, saw that too. Would be nice if a projection for D was 
 on the road map 😁
"We will work with the community to support other languages based on demand". Just start requesting support for D ;)
Yeah, totally realistic 😂 You can ofc request it. We should!
Just added my vote to it and a marketing comment.
This would be a great job/responsibility for Max to take on (is advocacy within Mike/Max's purview?)
I'm not really familiar with the project but I'll have a look. If we can magically get someone else to build these bindings for us it would be something for the foundation to do but if we would have to build them ourselves and get them endorsed it's a slightly different question.
Jan 23
parent reply Paulo Pinto <pjmlp progtools.org> writes:
On Saturday, 23 January 2021 at 23:35:21 UTC, Max Haughton wrote:
 On Saturday, 23 January 2021 at 21:31:22 UTC, James Blachly 
 wrote:
 On 1/23/21 11:33 AM, Paulo Pinto wrote:
 On Saturday, 23 January 2021 at 12:26:40 UTC, Imperatorn 
 wrote:
 On Saturday, 23 January 2021 at 11:50:29 UTC, Jacob Carlborg 
 wrote:
 [...]
Yeah, totally realistic 😂 You can ofc request it. We should!
Just added my vote to it and a marketing comment.
This would be a great job/responsibility for Max to take on (is advocacy within Mike/Max's purview?)
I'm not really familiar with the project but I'll have a look. If we can magically get someone else to build these bindings for us it would be something for the foundation to do but if we would have to build them ourselves and get them endorsed it's a slightly different question.
The win32metadata will be provided and it is for each community to do the rest. The D and Java support request tickets were closed with that information as comment.
Jan 23
parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Sunday, 24 January 2021 at 07:20:46 UTC, Paulo Pinto wrote:
 On Saturday, 23 January 2021 at 23:35:21 UTC, Max Haughton 
 wrote:
 On Saturday, 23 January 2021 at 21:31:22 UTC, James Blachly 
 wrote:
 [...]
I'm not really familiar with the project but I'll have a look. If we can magically get someone else to build these bindings for us it would be something for the foundation to do but if we would have to build them ourselves and get them endorsed it's a slightly different question.
The win32metadata will be provided and it is for each community to do the rest. The D and Java support request tickets were closed with that information as comment.
everyone: https://github.com/microsoft/win32metadata/issues/174#issuecomment-766284319
Jan 24
prev sibling parent reply Rumbu <rumbu rumbu.ro> writes:
On Friday, 22 January 2021 at 07:19:28 UTC, Paulo Pinto wrote:
 Hi,

 Microsoft just introduced a project, based on their learnings 
 for UWP language projections.

 https://blogs.windows.com/windowsdeveloper/2021/01/21/making-win32-apis-more-accessible-to-more-languages/

 Just like with UWP, it makes use of .NET metadata format to use 
 as input for bindings generation.



 This could be a solution for improved Win32 bindings in D as 
 well.
New kid on the block: https://github.com/rumbu13/windows-d
Feb 12
parent Paulo Pinto <pjmlp progtools.org> writes:
On Friday, 12 February 2021 at 23:40:06 UTC, Rumbu wrote:
 On Friday, 22 January 2021 at 07:19:28 UTC, Paulo Pinto wrote:
 Hi,

 Microsoft just introduced a project, based on their learnings 
 for UWP language projections.

 https://blogs.windows.com/windowsdeveloper/2021/01/21/making-win32-apis-more-accessible-to-more-languages/

 Just like with UWP, it makes use of .NET metadata format to 
 use as input for bindings generation.



 This could be a solution for improved Win32 bindings in D as 
 well.
New kid on the block: https://github.com/rumbu13/windows-d
Good luck with your efforts, I just advertised it on the github repo.
Feb 13