SES on JVM: struggling with __proto__ cycle for Function
See original GitHub issueI’ve got an application where most of the deployment platform is the JVM and I’d like to re-write it in SES. I mentioned this to @erights and he said figuring out how to do SES on the JVM would be useful; for example, for interoperability with RChain.
Legend has it Nashorn on Java 9 has pretty good javascript support. At first it walk balking at const
but i learned:
To activate ES6 support, use
--language=es6
on the command line. – Laskey
That got me a little further; in particular, I’m using openjdk 10 via docker:
# start in the shim/examples directory of the proposal-realms repo
docker run -v $(cd ..; /bin/pwd):/opt -w /opt --rm -it openjdk:10 \
jjs --language=es6 dist/realm-shim.js examples/simple.js
But no joy:
Exception in thread "main" java.lang.RuntimeException: dist/realm-shim.js:95:10 ES6 destructuring is not yet implemented
const { contextFunction } = contextRec;
context: 3ccc45a646d https://github.com/tc39/proposal-realms
p.s. is there a better repo in which to raise this issue? It sorta belongs in proposal-realms
, but I’m not sure this is tc39 business.
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (18 by maintainers)
Top Results From Across the Web
SES on JVM: struggling with __proto__ cycle for Function #1
I've got an application where most of the deployment platform is the JVM and I'd like to re-write it in SES. I mentioned...
Read more >How JVM Works - JVM Architecture? - GeeksforGeeks
JVM (Java Virtual Machine) acts as a run-time engine to run Java applications. JVM is the one that actually calls the main method...
Read more >On the Cloud Deployment of a Session Abstraction for Service/Data ...
the aggregation/filtering functions should be also dynamically adaptable both ... Amazon Simple Email Service (SES) is a transactional mailing.
Read more >Membrane functionalization in artificial cell engineering - Spiral
Abstract. Bottom-up synthetic biology aims to construct mimics of cellular structure and behaviour known as artificial cells from.
Read more >Integrating Tools for Practical Software Analysis - Monterey ...
Abstract. The lack of integration between prototype implementations of results of research (“tools”) blocks progress toward direct application.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Not clear. It is conformant to prevent proto cycles, but this code should not have tried to create one. So it depends on why it thought it had a proto cycle that needed to be rejected.
oh. right. spread. Modern JS is pretty nice 😃