Re: Dynamic binding to the Mono runtime API

2017-06-07 Thread Adam Wilson via Digitalmars-d-announce
On 6/4/17 04:15, Jakub Szewczyk wrote: On Sunday, 4 June 2017 at 09:43:23 UTC, Adam Wilson wrote: On 6/4/17 01:18, Jakub Szewczyk wrote: This is an interface to the Mono libraries, D/CLI would [...] My interest is less in code ports than bindings to the actual code. My experience with code po

Re: Dynamic binding to the Mono runtime API

2017-06-04 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-06-04 20:19, Jakub Szewczyk wrote: The problem is, it emits completely wrong code whereever a function is necessary, like in function pointers. I can try to isolate the change to global-level function declarations only, to make it generate correct code that doesn't require running two ve

Re: Dynamic binding to the Mono runtime API

2017-06-04 Thread Jakub Szewczyk via Digitalmars-d-announce
On Sunday, 4 June 2017 at 15:43:09 UTC, Jacob Carlborg wrote: On 2017-06-04 10:18, Jakub Szewczyk wrote: Btw, I've manually ported the basic and configuration headers, so that no mistakes are made, and then used DStep and a modified DStep to generate the rest of the headers - my modification w

Re: Dynamic binding to the Mono runtime API

2017-06-04 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-06-04 10:18, Jakub Szewczyk wrote: Btw, I've manually ported the basic and configuration headers, so that no mistakes are made, and then used DStep and a modified DStep to generate the rest of the headers - my modification was only to change the way function declarations are generated, t

Re: Dynamic binding to the Mono runtime API

2017-06-04 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-06-03 23:44, extrawurst wrote: On Saturday, 3 June 2017 at 17:30:05 UTC, Jakub Szewczyk wrote: Mono runtime is a cross-platform, open-source alternative to Microsoft's .NET framework [1], and it can be embedded in other applications as a "scripting" VM, but with JIT-compilation enhanced

Re: Dynamic binding to the Mono runtime API

2017-06-04 Thread Jakub Szewczyk via Digitalmars-d-announce
On Sunday, 4 June 2017 at 09:43:23 UTC, Adam Wilson wrote: On 6/4/17 01:18, Jakub Szewczyk wrote: This is an interface to the Mono libraries, D/CLI would [...] My interest is less in code ports than bindings to the actual code. My experience with code ports or translations is that often subtl

Re: Dynamic binding to the Mono runtime API

2017-06-04 Thread Adam Wilson via Digitalmars-d-announce
On 6/4/17 01:18, Jakub Szewczyk wrote: This is an interface to the Mono libraries, D/CLI would require quite a lot of compiler changes, both on the front-end and back-end side, but thanks to metaprogramming a wrapper library can get very close to such an interface. I plan on making an automated D

Re: Dynamic binding to the Mono runtime API

2017-06-04 Thread Jakub Szewczyk via Digitalmars-d-announce
On Sunday, 4 June 2017 at 05:47:32 UTC, Adam Wilson wrote: On 6/3/17 10:30, Jakub Szewczyk wrote: ... I work with C# professionally and this is some SERIOUSLY cool work. Thank you for this! Thank you all! I've looked over the code a bit and I have a couple of questions. This appears to

Re: Dynamic binding to the Mono runtime API

2017-06-03 Thread Adam Wilson via Digitalmars-d-announce
On 6/3/17 10:30, Jakub Szewczyk wrote: Mono runtime is a cross-platform, open-source alternative to Microsoft's .NET framework [1], and it can be embedded in other applications as a "scripting" VM, but with JIT-compilation enhanced performance and support of many languages such as C#, F# or IronP

Re: Dynamic binding to the Mono runtime API

2017-06-03 Thread Laeeth Isharc via Digitalmars-d-announce
On Saturday, 3 June 2017 at 17:30:05 UTC, Jakub Szewczyk wrote: Mono runtime is a cross-platform, open-source alternative to Microsoft's .NET framework [1], and it can be embedded in other applications as a "scripting" VM, but with JIT-compilation enhanced performance and support of many langua

Re: Dynamic binding to the Mono runtime API

2017-06-03 Thread extrawurst via Digitalmars-d-announce
On Saturday, 3 June 2017 at 17:30:05 UTC, Jakub Szewczyk wrote: Mono runtime is a cross-platform, open-source alternative to Microsoft's .NET framework [1], and it can be embedded in other applications as a "scripting" VM, but with JIT-compilation enhanced performance and support of many langua

Dynamic binding to the Mono runtime API

2017-06-03 Thread Jakub Szewczyk via Digitalmars-d-announce
Mono runtime is a cross-platform, open-source alternative to Microsoft's .NET framework [1], and it can be embedded in other applications as a "scripting" VM, but with JIT-compilation enhanced performance and support of many languages such as C#, F# or IronPython [2]. It provides a C API, so I'