Open neolithos opened 9 years ago
Is there a way to help to find the problem?
It would be nice if my library runs on UWP, to port my application to Windows 10 IoT.
The Delegate that is generated for the expression is Func<object,object,object,object> but in a later stage Func<CallSite,object,object,object> is expected.
But CallSiteOps.SetNotMatched expects a CallSite as first argument (see CallSite<>.MakeUpdateDelegate). Btw. marked as "Do not use"?
I do not understand, who is the right address. I am little confused about all the implementations.
Is this here know the right place? Because, now this problem is a real show stopper for updating to W10.
It depends on whether it's an issue in how IronPython uses the DLR, or if the DLR implementation changed. To be honest, I'm not entirely clear on the relationship between all of the various .NET runtimes any more. I do know that it works as a desktop app on Windows 10/.NET 4.6 (as that's where I do my development) but I don't know what variant of the runtime UWP apps use.
On Wed, Sep 30, 2015 at 2:39 AM, neolithos notifications@github.com wrote:
The Delegate that is generated for the expression is Func but in a later stage Func is expected.
But CallSiteOps.SetNotMatched expects a CallSite as first argument (see CallSite<>.MakeUpdateDelegate). Btw. marked as "Do not use"?
I do not understand, who is the right address. I am little confused about all the implementations.
Is this here know the right place? Because, now this problem is a real show stopper for updating to W10.
— Reply to this email directly or view it on GitHub https://github.com/IronLanguages/dlr/issues/3#issuecomment-144339621.
IronPython and NeoLua are using the same parts of the dynamic runtime (I do not know the current version as good as previous). I will repost this issue in the corefx project, because that is used by W10 UWP.
In .net core the dynamic stuff is interpreted and not compiled anymore. I have no idea how this perform.
Was this ever resolved?
This issue was a show stopper. So, we did go back to the old devices and libs.
I tried the code again. And it still fails. Under Win10 1607 even harder. After putting the code in a try catch block I get the same exception.
So, it seems not resolved.
Windows 10 UWP uses an Ahead-of-time compiler toolset without a JIT, so do not even try. (Reflection alone is already painful enough)
Debug builds uses a JIT though, but you’ll never get it working for release.
Cool! Thx.
Hello,
a really Q&D example for showing the issue.
First the simple callsitebinder:
And the calling code:
If I run the code under Windows 8.1 Phone or the desktop .net framework, it works fine.
But under Windows 10 UWP I get the following exception:
What is wrong?
Same issue https://github.com/IronLanguages/main/issues/1231