Comments (23)
because why not! :) this is awesome!
would love to have a bit more detail in the readme in terms of what's supported or not, is it full implementation or just an experiment?
👍 👍 👍
from node-jvm.
Of course, but there is always a "background" why a developer decided to do a project. Given how challenging this can be, there must be a very interesting story behind this!!!
from node-jvm.
Agreed! Would love to see a talk on this :)
from node-jvm.
I am preparing to Java SE 7 Programmer I exam. ;) Just I want to know more about java and jvm. So this project is primary my research.
Now I need to find the strength to return to the main work ;)
from node-jvm.
WOW! And to study for this exam you write a JVM runtime? RESPECT!
Keep it up.
How much of the Java library you plan to support? Or are you thinking to import the Java library as compiled classes?
from node-jvm.
OH MY. This is so CRAZY. That's like being a mad scientist. But in a good sense. Really impressive !
from node-jvm.
I have not yet decided on the architecture. I think the core code is not clear enough. I do not have tests.
from node-jvm.
Stop being so difficult Ivan. The real question is: Why not do it in CoffeeScript?
from node-jvm.
Oh, God no!
On 31 Oct 2013 06:52, "Benjamin Possolo" [email protected] wrote:
Stop being so difficult Ivan. The real question is: Why not do it in
CoffeeScript?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-27465559
.
from node-jvm.
great job, Yaroslav - you rock :)
from node-jvm.
Great job! =)
from node-jvm.
Maybe I'm just thick, but I don't get it. You can run java classes from node. Can you get data out of those classes into javascript land? Didn't see any examples of that. I looked at fibonacci, threads, and one other i can't remember. The js files just run the class.
Can you include an example of some more detailed interaction with the class?
from node-jvm.
Yes, I do.
As example this some basic java classes in node https://github.com/YaroslavGaponov/node-jvm/tree/master/libs/java
So you can develop own java.lang.Object or java.lang.Thread in node.
from node-jvm.
Just seen your code: JS implemented Object or Thread, exported into the VM.
You just blew my mind dude!!! :)
from node-jvm.
But can it run Rhino???
from node-jvm.
that would be Inception ;)
On 31 October 2013 16:04, Sean McCullough [email protected] wrote:
But can it run Rhino???
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-27499027
.
Ivan De Marino
Coder, Technologist, Cook, Italian
blog.ivandemarino.me | www.linkedin.com/in/ivandemarino |
twitter.com/detronizator
from node-jvm.
About interaction between js and java - I added example https://github.com/YaroslavGaponov/node-jvm/tree/master/examples/jsclass
I will continue working on this ;)
from node-jvm.
I've looked throught the code, for Object
and Thread
implementations and still wondering how that stuff works. For instance, how you actually run thread inside Node.js runtime.
Would you mind to create a wiki page with some explanations?
ps. It could be cool to try same idea for .NET VM.
from node-jvm.
Looking in frame.js, I think that multithreading is simulated using setImmediate, every opcode is pumped on event loop. Bet maybe I'm wrong...
from node-jvm.
Yes, right.
Before I tried to use child_process.fork...
from node-jvm.
Really slow I guess. Anyway, you're doing a really amazing thing! Do you plan to keep work on the project?
from node-jvm.
I changed a lot of things in the project and I believe I can go back to child_process.fork.
Now I plan to finish core JVM without support full JDK
from node-jvm.
I just want to say well done as this is truly specacular work. It makes the core concepts of a JVM understandable even to mere mortals!
from node-jvm.
Related Issues (20)
- No License HOT 6
- Ever tried to run it here ... HOT 1
- Splitting out HOT 1
- Mini-Micro-Optimization HOT 1
- you are not alone! related efforts HOT 4
- Changes in Loader.prototype.createNewObject have broken tests HOT 3
- Pass in JVM options HOT 3
- Browserify HOT 4
- Running jar file : RangeError: Trying to access beyond buffer length HOT 2
- ReferenceError: fileName is not defined HOT 4
- "not support constant type" error
- Supported JVM version? HOT 2
- fileName not defined HOT 2
- How to get the result(response) from this jvm? HOT 3
- Any resources you referred ? HOT 2
- to run an error
- How do you accept the parameters returned by Java? HOT 1
- error when run examples HOT 1
- nidejsvm
- TypeError [ERR_UNKNOWN_ENCODING]: Unknown encoding: null
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 node-jvm.