Sam Cao

Results 319 comments of Sam Cao

`@napi-rs/canvas` is a native lib.

There's a huge cost behind that. As everyone gets Javet for free, the question becomes: who is going to pay for that? As the maintainer, I have no motivation doing...

Thank you for raising this issue. When `JavaProxyConverter ` was designed, performance was not the top priority. The slowness mostly comes from the JNI calls, I suppose. Of course, there...

`file.hashCode()` => `hashCode()` saves the JNI calls by 2/3.

I don't think you can create a better converter than `JavaProxyConverter` if you want it to let you call arbitrary Java API. If your use case is limited, there will...

You may use Module mode so that you can use Promise. In Promise, you can create new threads for async operations.

You need to sends tasks in the callbacks, let the thread pool process the tasks. In the task callback, resolve the Promise. You need to use Promise. There are samples...

Please read the code carefully. You need to clone.

1. Let an agent scan Javenode. 2. Ask that agent to write the code you want. 3. If (1) and (2) doesn't work, let me know.