4 ms·
What is the difference of this to doppio? A new approach from some of the doppio authors? Also if someone says this is useless an interesting use case could be
by karussell 10y ago
What is the difference of this to doppio? A new approach from some of the doppio authors?
Also if someone says this is useless an interesting use case could be e.g. a hybrid navigation application
https://karussell.wordpress.com/2014/05/04/graphhopper-in-the-browser-teavm-makes-offline-routing-via-openstreetmap-possible-in-javascript/ https://karussell.wordpress.com/2014/05/04/graphhopper-in-th... or portable native apps using a webview
BTW: I got lots of errors in the Firefox console saying 'Error: Assertion failed: A non-running thread has an expired quantum' although the example works (should have a progress bar :))
- hrjet 10y ago> What is the difference of this to doppio? A new approach from some of the doppio authors? (I contribute to both Javapoly and Doppio) Javapoly tries to make Doppio easier to use (in my subjective opinion): * easier loading of jars, classes and Java source code * a promise based async interface to Java methods * automatic marshaling of primitive values between JS and Java lands * a proxy based interface into the Java namespace.
- karussell 10y agoWhy didn't you contribute to Doppio itself if this is just about making it easier to use?
- hrjet 10y agoAs I see it, Javapoly is a layer above Doppio. As a very crude analogy: shells and editors make it easy to use the filesystem. But we can't contribute the shell / editor to the filesystem! They sit in different layers of the stack.
- jvilk 10y agoThe Doppio authors (me) are completely uninvolved; this is an independent effort! This project makes it a bit easier to integrate Doppio and use it out-of-the-box. I suspect the assertion failure is caused by some of their modifications to Doppio's start up code to pause and extend the main thread's runtime.
- karussell 10y agoThanks! As you seem to be the author of browserjs too :) ... will or does doppio/browserjs support the Java memory mapping API?