Comments (6)
Hi Mark,
thanks for your comment. What you request for is not possible (or rather: not officially supported) at the moment. A very similar request and some clarification was posted in #5
We do have an internal possibility to do what you request, but we have not yet published that. One reason for that is that we still hope to piggyback on the multithreading APIs that the Node community is working on, instead of publishing our own APIs. @eleinadani can give you more details on that effort if you are interested.
Thanks,
Christian
from graaljs.
I see. Thanks for the info.
from graaljs.
Is it possible to use hibernate-mapped objects? What would actually happen if it was lazy-loaded for example? Is that a blocking call? Or let's say HttpClient, is that blocking?
Edit: it's blocking, it's also not possible to start any new threads in graal-javascript.
from graaljs.
This is now resolved by the publishing of a new Medium blog post.
from graaljs.
This is now resolved by the publishing of a new Medium blog post.
@mikehearn would you mind sharing a link?
from graaljs.
See here:
https://blog.plan99.net/vertical-architecture-734495f129c4
and https://github.com/mikehearn/nodejs-interop
from graaljs.
Related Issues (20)
- [23.1.2] WarnInterpreterOnly=false is ignored HOT 2
- Cannot call R code - how to install more supported language? HOT 1
- Using Promises setTimeout HOT 1
- polyglot Engine fails to initialize with "NoClassDefFoundError: com/ibm/icu/text/DateFormat" HOT 2
- Better stack trace for module not found error HOT 2
- Adding a classpath while no direct access to Node HOT 2
- Temporal toLocaleString returns ISO string instead of localized text HOT 1
- Parallel ScriptEngine script compilation
- Get (heap) memory usage information
- "ab".split(/(?:ab)*/) crashes graaljs HOT 1
- Losing double type when returning 1.0 from JS HOT 1
- Polyglot version compatibility check failed on GraalVM for JDK 22 Community 22.0.0
- Expose wrapPromise and Thenable in the GraalJS public API
- Polyglot options not working consistently with JS HOT 2
- No org.graalvm.js:js version 24.0.0 on Maven Central? HOT 4
- No language for id regex found, Supported languages are: [js] HOT 2
- Support for Node.js `http` and `fs` modules in GraalJS HOT 1
- Can not resolve NodeJS Promise Concurrently from Java Side HOT 6
- GraalJS should support Ahead-of-Time(AOT) compilation to Native binary like GraalPy.
- nodejs c-addon seems to leak HOT 1
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 graaljs.