8 ms·
One VM to Rule Them All
- chc 13y agoSo now it isn't only Oracle's detractors equating it with the Dark Lord.
- toolslive 13y agowell, to stop people from panicking; in this context "All" means just a few. It seems they have been building their own CLR.
- pjmlp 13y agoNo, the idea is to eventually integrate the work started with Maxime at Sun and replace the JIT developed in C++ by a Java based one. This work has been discussed for possible integration into the standard JDK in a post Java 8 version, as part of project Graal.
- trailfox 13y agoWhy would people "panic" if Oracle builds them a better VM or the tools to build a better Ruby/Python/Java VM? It's quite different to the CLR. The CLR lets you implement any language you like, as long as it can basically be mapped to C# constructs, not that different from the JVM. What Snoracle is working on is more generic with much higher performance.
- darklajid 13y agoThe CLR supports things that C# the language doesn't. C# isn't the common denominator here, it's just one of the languages running on the CLR (and probably? the most well-known). VB.Net and F# are equals, not to mention all the non-MS languages that exist. C# isn't special and doesn't represent the CLR's potential. It certainly might drive the evolution of the CLR to a point.
- saurik 13y agohttps://news.ycombinator.com/item?id=6232240 https://news.ycombinator.com/item?id=6232240
- VeejayRampay 13y agoDoes this mean that we can expect faster versions of the languages laid out in the presentation (Python, Ruby, etc)?
- pron 13y agoTo judge by the results they present for Ruby, I assume the answer is yes.
- VeejayRampay 13y agoThis got me excited yeah, but the main issue is always that of the ETA. I do love Ruby, wouldn't use any other language really, but damn would a little speed boost be nice. And of course I want it for free. Once all the goodness for JRuby, Rubinius and that Oracle stuff get shaken for a long enough time, I guess we should see the benefits in our everyday-coding.
- brokenparser 13y agoIn related news, Oracle still doesn't support HTML5. Back to you, pron.
- moondowner 13y agoActually, with Java EE7, they do. http://jaxenter.com/java-ee-7-officially-launches-bringing-html5-and-websocket-support-47361.html http://jaxenter.com/java-ee-7-officially-launches-bringing-h... http://docs.oracle.com/javaee/7/tutorial/doc/jsf-facelets009.htm http://docs.oracle.com/javaee/7/tutorial/doc/jsf-facelets009...
- brokenparser 13y agoThey obviously didn't update their website to Java EE 7 then. Why wouldn't they? It's the latest and greatest thing!
- moondowner 13y agoJokes aside I guess the whole process of updating their main site is very bureaucratic.
- owenfi 13y agoI guess the one VM is Adobe Flash.
- spuz 13y agoOracle is a database. What features of HTML5 have anything to do with databases? How is this related to the article?
- cowsandmilk 13y agohe's talking about their website... and oracle isn't just a database company the last I checked. I mean, they make sparc servers. And VirtualBox. And Java.
- derefr 13y agoSo... can I run Erlang code on it efficiently? (This question also disqualifies LLVM, the JVM, the CLR, etc. When most people say "universal VM" they really mean "universal VM for running mostly-serial code that might at most have 5 or 10 threads, and where killing and restarting the entire VM (to, e.g., spin up a newer version) isn't a big problem for the clients talking to it." This is not future-proof.)
- pron 13y agoYou can already run Erlang code efficiently on the JVM: https://github.com/trifork/erjang https://github.com/trifork/erjang
- derefr 13y agoI can't tell from the precis whether it supports hot code loading (the JVM doesn't, so it won't without heavy magic); and it definitely doesn't work in a soft-realtime manner ("In Erjang, every node runs on a single heap, and so global GC will sometimes happen.") Without these two things, you're not "running Erlang code efficiently"; you're just running a pretty-useless-for-its-intended-purpose subset of the language. It's a bit like those benchmarks that show that a language that's a subset of Ruby, performs much faster than actual Ruby. Well, yes, that's nice--but we use Ruby precisely for all the inherently-really-slow parts. Once you add all the slow stuff, and have to check whether to branch to it at every call, your speed advantage stops being nearly so impressive. Erlang is a painful language to code in; you don't do it because it's pretty. You do it for what the BEAM VM and the OTP libraries give you: the ability to spawn 100k processes representing, say, people's phone calls, or their MMO game sessions, and not drop any connections for something piffling like a garbage collection pass, or a bugfix. I would expect no less of any "universal" VM. (Though I might, of course, expect more. It should probably be able to do CPU-bound stuff like large matrix multiplications without dragging the rest of the VM down, for example.)
- chii 13y agoNot knowing much at all about erlang (other than its apparent software uptime), could you briefly tell me how erlang achieves such amazing performance and reliability? Is it due to the way erlang code is written (which is pretty functional looking to me) more than the vm's inherent structure, or a bit of both?
- m_ram 13y agoI read "Oracle" and "VM" in the title and immediately thought that VirtualBox was going to be OpenOffice/MySQL-ized. I don't know how VirtualBox fits into Oracle's strategy, but I'm glad that they're not messing with it.
- nodata 13y agoI read Oracle in the title, and immediately closed the tab.
- trailfox 13y agoAlways good to see such well reasoned technical discussion here on HN. You make a particularly well-reasoned point about the text in the title and how it affects the technical aspects of the VM.
- ihsw 13y agoPlease don't be passive-aggressive, it's perfectly fine to call people out for being narrow-minded and, dare I say, lazy. However it's hard to deny that there's a very large stigma attached to the name "Oracle."
- deleted 13y ago[deleted]
- a3n 13y agoMe too, and I wonder what I'll do when Oracle finally works it's way that far down the alphabet. Docker/LXC? LibreBox?
- gary4gar 13y agoInteresting. Wondering, if the ruby implementation they wrote for demo available? Want to play around with it. How do I install it?
- jaydub 13y ago... and in the darkness (of Oracle) bind them!
- SEJeff 13y agoIsn't think supposedly what parrot[1] is supposed to be for? Granted the perl 6 stuff under parrot is practically a laughing stock amongst much of the tech community, but they are trying to make something awesome. [1] http://www.parrot.org/ http://www.parrot.org/
- chromatic 13y agoThat was one of the goals of Parrot, but that P6 mess eventually chased off almost all of Parrot's developers: http://www.modernperlbooks.com/mt/2013/02/goodnight-parrot.html http://www.modernperlbooks.com/mt/2013/02/goodnight-parrot.h...
- icefox 13y agoWhat about vmkit?