@Loftar: Java vs Flash

General discussion and socializing.
User avatar
spectacle
Posts: 950
Joined: Wed Nov 11, 2009 11:16 am
Location: Planet

Re: @Loftar: Java vs Flash

Post by spectacle »

loftar wrote:I can write Java in Emacs and compile it in a terminal.
Emacs, really? I somehow thought you'd be a vi guy... ;)
Once a man has changed the relationship between himself and his environment, he cannot return to the blissful ignorance he left. Motion, of necessity, involves a change in perspective.
-Commissioner Pravin Lal, "A Social History of Planet"
User avatar
Jeff
Posts: 393
Joined: Wed Aug 12, 2009 1:14 am

Re: @Loftar: Java vs Flash

Post by Jeff »

You should program it in Shakespeare.
Or in Whitespace too.
There are a lot of funny languages out there. :lol:
"I'm just an humble farmer, after all"
User avatar
Sidran
Posts: 101
Joined: Wed Mar 17, 2010 2:41 am

Re: @Loftar: Java vs Flash

Post by Sidran »

For 2D content client that is on par with c++ (speed and size) and able to compile for Win/Lin/Mac I would suggest Pure Basic
Dont underestimate it for "basic" keyword.
Its pretty cheap and unbelievably awesome.
User avatar
sabinati
Posts: 15527
Joined: Mon Jul 13, 2009 4:25 am
Location: View active topics

Re: @Loftar: Java vs Flash

Post by sabinati »

Chakravanti wrote:
sabinati wrote:are there really any viable alternatives for coding the client?
C++ like most game manufacturers?

If I were a programmer I do it in pearl just to spite the windoze gaming community.
the problem with C and derived languages is that it would require compilation and distribution for different platforms, so i'd hardly say that was viable.
Gringo
Posts: 9
Joined: Tue Feb 23, 2010 2:14 pm

Re: @Loftar: Java vs Flash

Post by Gringo »

Stackless Python + STL + ogre?
User avatar
VowOfSilence
Posts: 158
Joined: Tue Jan 26, 2010 7:57 pm

Re: @Loftar: Java vs Flash

Post by VowOfSilence »

sabinati wrote:
Chakravanti wrote:
sabinati wrote:are there really any viable alternatives for coding the client?
C++ like most game manufacturers?

If I were a programmer I do it in pearl just to spite the windoze gaming community.
the problem with C and derived languages is that it would require compilation and distribution for different platforms, so i'd hardly say that was viable.
yup, this thread was intended mainly for web and cross-platform stuff - and that kinda limits you to java and flash, and maybe ajax for simpler games.

and, of course *drumroll* silverlight!
and you thought flash was awful.
User avatar
Lothaudus
Posts: 641
Joined: Fri Oct 23, 2009 12:32 pm
Location: Adelaide, Australia

Re: @Loftar: Java vs Flash

Post by Lothaudus »

Use the Unity3D Engine.
Barry Fletcher Norwin
Lawspeaker of Crossroads - Leader of Codexia - Keeper of the Cheese
http://www.rpgcodex.net
User avatar
eql
Posts: 298
Joined: Sat Jun 06, 2009 3:39 am

Re: @Loftar: Java vs Flash

Post by eql »

lets not forget every game ever made with flash sucked too..
agent_orange
Posts: 32
Joined: Sun Feb 14, 2010 5:47 pm

Re: @Loftar: Java vs Flash

Post by agent_orange »

I don't understand, why people love Flash. One-click plugin install? Maybe. Perofrmance? Flash will be slower, than Java in this task (the reason, why H&H consumes such amount of resources - client is not optimized; and the only reason why it's not optimized: Jorb and Loftar are heavily involved in gameplay development, while having good enough client engine). I'm doing development both: in ActionScript and Java. I love to write code in Java and I hate to write code in AS/Flex - it's ugly and against my internal understanding, how to write software.
Loftar, here're some additional arguments:
- Flash doesn't have abstract classes; (!!!)
- Flash doesn't allow to create multiple constructors (!!!)
- Flash collections API doesn't exists (only ArrayCollection, Array and associative version of Array; the last one is a poor substitution for full-fledged HashMap)
- They don't have Longs, their Number is just poor double.
- Serialization via AMF (another proprietary technology from Adobe) have some "specifics".

And of course...
- Flash developers eating each other!
- There must be dragons somewhere in depths of Flash API :D
User avatar
InfamousLlama
Posts: 16
Joined: Thu Apr 22, 2010 12:01 am

Re: @Loftar: Java vs Flash

Post by InfamousLlama »

Flash isn't so bad. Avoid the UI and Flex, stick with AS3 in a decent IDE (FlashDevelop), and you can lay down code pretty quick -- like, python or ruby quick. I bet its performance could be comparable to Java for simple 2D graphics like this game.

I think the flash compiler is now technically open source, though not to the point where anyone's really contributing.

That said, most of the flash on the internet is crap, and browsers tend to leak memory (more) after hitting flash. But then again, most of the internet is crap in general, and browsers tend to be pretty crap in general.

--edit--

Wait, did you just imply you'd rather be working in Lisp, sitting on top of Java? All the craziness of Lisp with all the memory management issues of Java? (Eh, not in the sense of C++ memory management, but in the sense of allocating heap via command line args, tweaking GC settings, never knowing exactly what the GC is doing, etc.)

I think your choice of language is what fills the bears with murderous rage. But then, I'm C++ by nature, so I guess I'd fill them with some sort of OCD complex and impenetrable syntax.

Return to “The Inn of Brodgar”