Comments (7)
a way of initializing classes built into V8 would be nice.
from javet.
I think new Object()
is fine. However, creating an instance of an interface places a new level of technical challenge. I'll investigate that.
Interesting and intuitive feature. π
from javet.
I think
new Object()
is fine. However, creating an instance of an interface places a new level of technical challenge. I'll investigate that.Interesting and intuitive feature. π
It is actually very possible using Java proxies, which I suggest you read about for covering this problem.
from javet.
It is actually very possible using Java proxies, which I suggest you read about for covering this problem.
It's beyond that. Java proxy is a subtle issue here. It may leak memory in one thread, may core dump among threads.
from javet.
Creating an instance by new ClassName(...)
has been committed to dev branch via 5eed567, b9ec19b, 5dbcfa0. Please let me know if you have any questions.
from javet.
It is actually very possible using Java proxies, which I suggest you read about for covering this problem.
It's beyond that. Java proxy is a subtle issue here. It may leak memory in one thread, may core dump among threads.
Oh, that's information I was not aware of.
from javet.
Implementing interface in JS is enabled by this commit.
from javet.
Related Issues (20)
- Reduce android apk size HOT 2
- Ability to debug Android apps HOT 1
- global is undefined in V8Runtime with node.js node HOT 5
- v8Runtime.getGlobalObject().invokeObject(fnName, arg); is returning null in a random manner HOT 13
- node_win32_etw_provider.cc:190: Assertion `(status) == (0L)' failed. HOT 1
- Native crashes when using the same V8Runtime from multiple threads. HOT 6
- android ζ―ε¦ζ―ζnodejsε’ HOT 2
- ε¨ζ代η HOT 1
- Inconsistency between V8/Node and Javet runtime with unicode properties in regular expressions HOT 7
- The Noderuntime update the current directory of a running app HOT 1
- Add createV8Module() to V8Runtime
- Add Synthetic Module Resolver for Node.js Built-in Modules
- GLIBC version not found for Javet 3.0.1 and Ubuntu 20.04 HOT 4
- V8 v12 Build Break on Linux arm64
- IV8Executor#toObject cost too much cpu HOT 3
- SIGSEGV at createV8Runtime() in V8 Mode on AWS
- How can I run asynchronously background task in V8? HOT 4
- Android Build Break with V8 v12.1.285.17
- How to get and call a function inside module HOT 4
- Unexpected behavior for Strings when using the Bridge/Proxy Converter HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javet.