Announcement

Collapse
No announcement yet.

Oracle Wants To Embed JavaScript In Java Code

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    obvious reasons

    There are a few blatantly obvious reasons why oracle would do this:
    • To advertise the jvm as a viable scripting virtual machine. All scripting engines have some sort of virtual machine, but the jvm is more advanced than most others (if not all).
    • JavaFX includes a complete webkit based web widget with javascript, so they need one. It's using the webkit one now afaik but obviously it would make much sense to use a single vm.
    • Add to the java "eco-system" with another tool for use by developers and integrators: e.g. as an extension language, or simply as another execution platform for alternative languages.

    Comment


    • #12
      Hi,guys.I am new





      Comment


      • #13
        Oracle wants to put JavaScript in Java?
        JavaScript and Java are two totally different things. .

        Comment


        • #14
          Originally posted by phoronix View Post
          Phoronix: Oracle Wants To Embed JavaScript In Java Code

          Oracle presented a new project in recent names that is named Nashorn. The Nashorn Project comes down to a high-performance JavaScript run-time for OpenJDK and can be used so developers can embed JavaScript within Java code...

          http://www.phoronix.com/vr.php?view=MTIzNjI
          Java and Javascript are two different things!

          Comment


          • #15
            Implementing C# in JVM? I do not think it's possible.

            Comment


            • #16
              Originally posted by tammy View Post
              Implementing C# in JVM? I do not think it's possible.
              Why not?

              Python, Ruby, Tcl, Lua and other languages are already implemented a top of JVM.
              I don't see why C# could not be implemented in JVM.

              http://en.wikipedia.org/wiki/List_of...ting_languages

              Comment

              Working...
              X