-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UWP trouble with interpreting dynamic expressions #3
Comments
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 On Wed, Sep 30, 2015 at 2:39 AM, neolithos [email protected] wrote:
|
IronPython and NeoLua are using the same parts of the dynamic runtime (I do not know the current version as good as previous). 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. |
Works! |
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 IronLanguages/main#1231
The text was updated successfully, but these errors were encountered: