Giter Club home page Giter Club logo

Comments (6)

angelozerr avatar angelozerr commented on July 28, 2024

Please not that some tern plugins like closure, node.js depends on node.js for some features. Ex tern plugin node uses node to resolver module name declared inside require because it needs file system API)

from tern.java.

angelozerr avatar angelozerr commented on July 28, 2024

@mickaelistria @vrubezhny @dgolovin @maxandersen @paulvi @fbricon @piotrtomiak I have implemented quickly tern server with Nashorn (but not the integration with Eclipse IDE).

You can find info at (samples to launch, etc) https://github.com/angelozerr/tern.java/blob/master/core/tern.server.nashorn/README.md

But I'm very disappointed, because I find the load of tern server is very slowly with Nashorn compared to Node.js or J2V8. Completion with big files with Nashorn is very slow -(

Perhaps my integration is not very performant?

from tern.java.

paulvi avatar paulvi commented on July 28, 2024

At least, this is real world example for now.

BTW, https://github.com/angelozerr/tern.java/blob/master/README.md needs to be updated, it is not only idea now...

Showing that there's choice.

from tern.java.

angelozerr avatar angelozerr commented on July 28, 2024

BTW, https://github.com/angelozerr/tern.java/blob/master/README.md needs to be updated, it is not only idea now...

done

from tern.java.

piotrtomiak avatar piotrtomiak commented on July 28, 2024

Perhaps my integration is not very performant?

No, it's not your fault ;) In the early days of adopting Tern in MyEclipse we've checked performance comparisons of Nashorn, Rhino and V8 (both Node.js and J2V8 are based on V8) and it looked like Nashorn is only slightly better than Rhino, and Rhino is pretty slow with Tern.

from tern.java.

angelozerr avatar angelozerr commented on July 28, 2024

Thanks @piotrtomiak for your feedback. Yes today node > J2V8 > Nashorn > Rhino.

When you will have tipe, could you answer me for #363 with WebSocket topic. I have started to implement WebSocket on server/client side with Jetty (for the moment tern server send a message to the Java client and I display the result in the console). Any feedback are welcome. thanks!

from tern.java.

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.