Giter VIP home page Giter VIP logo

Comments (23)

alexgorbatchev avatar alexgorbatchev commented on May 31, 2024

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.

detro avatar detro commented on May 31, 2024

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.

alexgorbatchev avatar alexgorbatchev commented on May 31, 2024

Agreed! Would love to see a talk on this :)

from node-jvm.

YaroslavGaponov avatar YaroslavGaponov commented on May 31, 2024

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.

detro avatar detro commented on May 31, 2024

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.

vendethiel avatar vendethiel commented on May 31, 2024

OH MY. This is so CRAZY. That's like being a mad scientist. But in a good sense. Really impressive !

from node-jvm.

YaroslavGaponov avatar YaroslavGaponov commented on May 31, 2024

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.

bpossolo avatar bpossolo commented on May 31, 2024

Stop being so difficult Ivan. The real question is: Why not do it in CoffeeScript?

from node-jvm.

detro avatar detro commented on May 31, 2024

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.

alexbeletsky avatar alexbeletsky commented on May 31, 2024

great job, Yaroslav - you rock :)

from node-jvm.

bhagyas avatar bhagyas commented on May 31, 2024

Great job! =)

from node-jvm.

garrettwilkin avatar garrettwilkin commented on May 31, 2024

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.

YaroslavGaponov avatar YaroslavGaponov commented on May 31, 2024

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.

detro avatar detro commented on May 31, 2024

Just seen your code: JS implemented Object or Thread, exported into the VM.
You just blew my mind dude!!! :)

from node-jvm.

banksean avatar banksean commented on May 31, 2024

But can it run Rhino???

from node-jvm.

detro avatar detro commented on May 31, 2024

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.

YaroslavGaponov avatar YaroslavGaponov commented on May 31, 2024

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.

alexbeletsky avatar alexbeletsky commented on May 31, 2024

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.

parroit avatar parroit commented on May 31, 2024

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.

YaroslavGaponov avatar YaroslavGaponov commented on May 31, 2024

Yes, right.

Before I tried to use child_process.fork...

from node-jvm.

parroit avatar parroit commented on May 31, 2024

Really slow I guess. Anyway, you're doing a really amazing thing! Do you plan to keep work on the project?

from node-jvm.

YaroslavGaponov avatar YaroslavGaponov commented on May 31, 2024

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.

galves avatar galves commented on May 31, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.