Page 1 of 1
Interesting coincidence.
Posted: Thu Dec 13, 2007 3:00 pm
by JellyFish
Today on ajaxian.com I read the article entitled "LightsOut: JavaFX Script Game". What's interesting about this is a few weeks ago I made a game as well, called "BlackOut"...
I wasn't using java but instead javascript to make my game. And was built using technologies that would, hopefully, work on the iphone (I was never able to test my game out, unfortunately). I never really considered the game finished but it's strange how I would see a game made in javascript also made in java, it makes me think of how far RIA technologies have come and are still going.
Java a more rich/powerful platform then standard web technologies, at the moment, at one time started out like javascript to some degree. I wont be surprised if one day javascript becomes as powerful as java.
When I say javascript I really mean html, css and javscript, etc.
So here's the link to me game.
Thanks for reading.

Re: Interesting coincidence.
Posted: Thu Dec 13, 2007 5:51 pm
by alex.barylski
Java a more rich/powerful platform then standard web technologies, at the moment, at one time started out like javascript to some degree. I wont be surprised if one day javascript becomes as powerful as java.
I would. About the only commonality is the language syntax borrowed from C and thats probably where it's going to stop.
Javascript is what is often refered to as a prototyped language (by design choice):
http://en.wikipedia.org/wiki/Prototype- ... rogramming
No bytecode compiling, totally different object model, not to mention the restrictions...can you imagine the havoc caused if Javascript could access and manipulate your local files?? Actually, just look at history and you'll see what happens.
Javascript will always be limited as a language just because of the environment it runs under.
The game was neat...although I had no idea what I was doing??? Whats the purpose? Turn off all the lights?

Re: Interesting coincidence.
Posted: Fri Dec 14, 2007 1:58 am
by Mordred
Hockey wrote:Java a more rich/powerful platform then standard web technologies, at the moment, at one time started out like javascript to some degree. I wont be surprised if one day javascript becomes as powerful as java.
I would. About the only commonality is the language syntax borrowed from C and thats probably where it's going to stop.
Javascript
is a more powerful
language than Java, it's just that it's mainly used in a restricted environment (browser's sandbox) and domain (dynamic HTML) to be (generally) noticed as such. It's a very good high-level language, and it'a a pity it is rarely used outside of browsers. And of course as Java is being used for enterprise solutions, there are very good JVMs out there doing all kinds of optimizations to make the end [s]shyte[/s] code run better, which is something many other interpreted/bytecode languages won't see any time soon (not sure of .NET though)
Posted: Fri Dec 14, 2007 5:09 am
by Kieran Huggins
JavaScript FTW!
Let's not forget that the line between desktop and browser is thinning at an incredible rate. All of you (BOCTAOE) use one or more production desktop apps every day that use JavaScript heavily. The app you're likely using now is rendered (the app, not just the content) with an xhtml engine and is written* in JavaScript.
Take a quick look at your desktop and do a rough tally: JavaScript v.s. Java apps; you might be surprised.
We live in prototypical times, my friends! Meta++
*I know the engine was written in C++, and many components were as well, but there's always a layer (or layers!) of abstraction.