Skip to content
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

Versions 3.1.4 and above not working on iOS #232

Closed
nikrath opened this issue Feb 6, 2022 · 15 comments
Closed

Versions 3.1.4 and above not working on iOS #232

nikrath opened this issue Feb 6, 2022 · 15 comments
Assignees
Labels

Comments

@nikrath
Copy link

nikrath commented Feb 6, 2022

Hi,
I am trying to fix the slow GetBytes() problem by updating to 3.1.4 as mentioned in pinned issue. But unlike earlier versions, v3.1.4 is not working on iOS.
It throws the following error:

The type initializer for 'NiL.JS.Core.Context' threw an exception.

I think this might be happening because Nil.JS is a non-mobile only library.
Is there any solution / alternative to this library?

Thanks

@omansak
Copy link
Owner

omansak commented Feb 7, 2022

i will check that

@omansak omansak self-assigned this Feb 7, 2022
@omansak omansak added the todo label Feb 7, 2022
@omansak
Copy link
Owner

omansak commented Feb 7, 2022

NiL.JS might can not run on İOS , i can replace this Javascript Engine with another one that works on İOS . Do you know another JS Engine that works on IOS ? I am waiting jint release version

@nikrath
Copy link
Author

nikrath commented Feb 8, 2022

Hey Omanask
Thanks for your response

NiL.JS might can not run on İOS , i can replace this Javascript Engine with another one that works on İOS . Do you know another JS Engine that works on IOS ? I am waiting jint release version

Let me research a bit, try to find an alternative.
Also, what features / updates of Jint are you waiting for?

@ColorTwist
Copy link

I can confirm that even for android there are issues (not functional) because of NiL.JS library, if I'll find an alternative I'll update.

@ColorTwist
Copy link

@nikrath @omansak
Hi,
Do you have any update from your side?

@ColorTwist
Copy link

From what i have read this version could support iOS/Android, not 100%, however, if possible to try it would be great:
https://github.com/sebastienros/jint

@omansak
Copy link
Owner

omansak commented Apr 4, 2022

@ColorTwist we are waiting none-beta version 3.x.x (2.x.x does not work i did tried.) but you can own build from beta3

@ColorTwist
Copy link

I can't test the build now :| Do you know when none-beta will be released?

@omansak
Copy link
Owner

omansak commented Apr 10, 2022

@lahma
Copy link

lahma commented Apr 15, 2022

Hi folks. You should definitely give Jint 3.x a try even though it's marked beta. Beta label allows changing some APIs and other wiggle room but the actual JS execution is backed by thousands of tests (> 30 000), and it should get better in every release. I'd argue that Jint handles the same set of features as other libraries, if even not more.

@omansak
Copy link
Owner

omansak commented Aug 30, 2022

I changed JS Engine to Jurassic Engine. Can anyone test it ?

@lahma
Copy link

lahma commented Aug 30, 2022

@omansak just curious, why the change? Jint too slow or iOS related?

@omansak
Copy link
Owner

omansak commented Aug 30, 2022

jint does not support ES6+

@lahma
Copy link

lahma commented Aug 31, 2022

Hmm, if you compare both projects readmes, you can see that Jint supports more of the recent features than Jurassic 🙂

Jint has things like rest, spread, destructuring, arrow functions, also the base library has more constructs implemented.

@omansak
Copy link
Owner

omansak commented May 28, 2023

NilJs removed

@omansak omansak closed this as completed May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants