5 ms·
If I could upvote this a 1000 times I would. We need more people doing crazy sh*t like this. Java is a fantastic runtime - and a great language. But it has a h
by neilellis 12y ago
If I could upvote this a 1000 times I would.
We need more people doing crazy sh*t like this. Java is a fantastic runtime - and a great language. But it has a huge amount of baggage. I'd love to see experiments int the open source arena playing around with alternatives to the standard Oracle JVM.
I'd love to see Android like alternatives for the desktop that re-use java's syntax but have less baggage and are not tied to Sun's view of what Java should be (Oracle's view of the language is actually a lot better than Sun's thank god).
There are countless Java developers who would like to reuse their knowledge but in a different set up. E.g. desktop not server, lightweight not heavyweight, systems level (like go/python) etc.
I keep hoping that one of these JVMs will end up going in their own direction one day not trying to achieve official Java compatibility.
Anyway kudos to the author.
- kolev 12y agoWhat is the "baggage" of Java? This is just a JVM and Java's JVM has no much more baggage than any other implementation. In order for this to be practical in terms of performance, reliability, and so on, years have to pass and meanwhile Oracle JDK and OpenJDK are not gonna stay still. As a side note, I really wonder how an engineer can use ghetto talk like "crazy sh*t" and especially in this forum here.
- girvo 12y ago> ghetto talk Excuse me?
- kolev 12y agoI'm sorry you're offended, maybe that's part of your lingo, too, but "crazy sht" is ghetto talk. Indeed. A self-respected and honorable engineer pays attention to detail - not only in their work, but in their language as well and especially in the meticulous choice of words. English is not my native tongue, but I respect it very much, and the language I respect does not include phrases such as "crazy sht" - it's a rich and very expressive language and only the severely incapacitated include those in their written communication.
- smt88 12y agoFirst of all, saying that profanity is "ghetto talk" is racist. Ghettos are places that (often poor and persecuted) minorities[1] are pressured to live. So what you said was far more offensive than saying "crazy shit"[2]. Second, wealthier people swear more[3]. So not only are you racist, you're also wrong. Third, there's a great deal of research showing the usefulness of profanity. It conveys emotional content in a way that other words can't. If you refuse to accept and understand profanity, you're neutering the language. 1. http://www.merriam-webster.com/dictionary/ghetto http://www.merriam-webster.com/dictionary/ghetto 2. (On that note, "ghetto" is often used by racist Americans as a pejorative euphemism for "black".) 3. http://newsfeed.time.com/2013/04/10/nine-things-you-probably-didnt-know-about-swear-words/ http://newsfeed.time.com/2013/04/10/nine-things-you-probably...
- kolev 12y agoThere's not one or two races in a ghetto - I've been in some myself, so, let's not abuse the "R" word. "Crazy sht" is not swearing, not even profanity; it's just weak speech and a cliche that needs to be eradicated - the whole "sht" thing stinks, literally.
- smt88 12y agoA ghetto is, by definition, mostly populated by minority races. It might be several minorities, but it must be minorities. You say you love English, so you should be particularly sensitive to using a word as it's defined. What you said was racist, whether you intended it to be or not. Look up the definition and use the word "ghetto" correctly in the future. Using a very loaded word incorrectly is far weaker than saying "crazy shit". Speaking of crazy shit: if it's neither swearing nor profanity, why won't you spell it correctly in your quotes? Anyway, your argument here isn't intellectual unless you have some functionally equivalent suggestion to replace "crazy shit" with. And, like I said, profanity has additional emotional content, so you can't replace it with anything that isn't profane without losing some meaning.
- kolev 12y ago
- neilellis 12y agoYo bitches, I am not an engineer - you may have noticed that this is Hacker News - not Engineering Weekly. I ain't never built any machinery - or designed no bridges - I'm just mo programming wit deez wild fingers. Take it easy - until you know the language well enough to know when someone is using a complement like 'crazy sh*t' - I wouldn't rush to judge them. Context is everything - as the first two words of this comment attest. Context is everything :-)
- kolev 12y agoImpotent language, sorry.
- threeseed 12y agoYou do realise that Oracle's JVM isn't the only one and there are many open source JVM alternatives. Quite a few of which are designed for lightweight systems: http://en.wikipedia.org/wiki/List_of_Java_virtual_machines http://en.wikipedia.org/wiki/List_of_Java_virtual_machines And I have no idea what you mean by baggage. I am assuming you mean "features" like JNI, JMX etc ? If that is the case then the modularisation of the JVM is something that has been underway for a number of years now. It is targeted for Java 9 release: http://openjdk.java.net/projects/jigsaw/ http://openjdk.java.net/projects/jigsaw/ And there is no difference in the way Oracle or Sun has managed the JVM. Changes are still made through the JSR/JEP process. And finally again no idea what you mean by countess Java developers wanting to reuse their knowledge but in a different environment. Android is already an option as is Swing but honestly does anyone care about desktop apps these days ?
- bjourne 12y agoBaggage: http://stackoverflow.com/questions/313584/what-is-the-concept-of-erasure-in-generics-in-java http://stackoverflow.com/questions/313584/what-is-the-concep... Yes there are many JVM:s but most of them aren't any good.
- mike_hearn 12y agoThey're working on real generics for the JVM, but it's a lot of work, especially to preserve compatibility (which is why it wasn't done beforehand). If you throw out compatibility it's still a lot of work though, plus you no longer have any of the libraries. I guess if you mean by "not any good" they're slower/less featureful than the original HotSpot JVM, then, well, yes..... you get what you pay for (in terms of resource usage).
- bjourne 12y agoWhere have you heard that? Generics were implemented using type erasure long ago because it was deemed to hard and would break to much existing code to implement them correctly. What has change to make it feasible now? Not saying you're wrong but I haven't seen any mention of any work in that direction.
- vinceyuan 12y agoBaggage? Do you want to say 'garbage'?
- sova 12y ago+1 for "baggage collection" ;D
- lnanek2 12y agoWell, I'm fine with the link because it says it was just done for learning, but you'll never get anything practically useful out of this. The performance of the real JVM is decades ahead...