-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
The API of L8Framework could be changed to match even more like JavaScriptCore:
L8Runtime now wraps both v8::Context and v8::Isolate. It could be made into L8Context, wrapping v8::Context in a specific isolate, namely L8VirtualMachine, which wraps v8::Isolate.
Managed values only use an isolate so they go into L8VirtualMachine. L8Value is bound to a context, so -[valueWithXX:] changes into -[valueWithXX:inContext:], just like JSC.
If there is interest in this, it can be build in a new branch. It is however not backward compatible. (it can be, but that makes it very messy).
Reactions are currently unavailable