Demon
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Misc. > Doomworld News > Doom WAD files found on Java
Pages (2): « 1 [2]  
Author
All times are GMT. The time now is 12:01. Post New Thread    Post A Reply
Mista_T
Green Marine


Posts: 46
Registered: 12-05


This is gonna motivate me to rework my (really, really awful) Doom data structure library for Java. What the hell was I thinking using Vectors to hold map data objects? SYNCHRONIZED structures being used in implementations that are most likely single-threaded? Ugh.


Anyway, to contribute to the programming discussion, I concur with the sentiment that most programmers fresh out of college can't code for crap in Java. I've seen Java code written by people that have absolutely no idea how to write Java code that is, performance-wise, computationally viable. While Java implementations are getting better with memory management and virtual machine performance, no Java program will ever perform as well as it should if it is written haphazardly.

Some words to budding Java programmers: Avoid using the "+" operator with String objects. Please. java.lang.StringBuilder is your friend.

Some more words: Sun's JRE is at the point where it is about 1x slower than native code, and kicks the crap out of C in terms of memory de/allocation and stack call performance. It ain't yo momma's programming language anymore. ;)

Old Post 01-10-08 01:46 #
Mista_T is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
DJ_Haruko
Will DDR for food


Posts: 1506
Registered: 06-02



Earlier in the thread I said:
Hmm...maybe I'll make a wad library in CL for kicks...
And here's a partial one I wrote in a couple of hours for the hell of it! Yay for lack of documentation and comments.

It only reads in a WAD file and its data; no writing. I didn't pay attention to good style (let alone Lispiness) or performance (no DECLARE statements or such). But it loads Doom2.wad in about 2.5 seconds on a 2.16 Core 2 Duo laptop with a 5400 rpm drive.

__________________
"Kernel hackers don't die; they panic"
My music: www.partition36.com

Old Post 01-10-08 02:15 #
DJ_Haruko is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Fredrik


Posts: 11564
Registered: 05-00



Mista_T said:
Some more words: Sun's JRE is at the point where it is about 1x slower than native code, and kicks the crap out of C in terms of memory de/allocation and stack call performance.
Lies.

Old Post 01-10-08 02:24 #
Fredrik is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Mista_T
Green Marine


Posts: 46
Registered: 12-05



Fredrik said:
Lies.


Ick. Well, it still fares better than half of the other languages on the list.

Old Post 01-10-08 02:44 #
Mista_T is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
mewse
aahahhh


Posts: 239
Registered: 05-00


aardappel's wadc code had pretty clean implementations for handling doom data

Old Post 01-11-08 03:05 #
mewse is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Ultimate_D00mFan64
Banned


Posts: 4
Registered: 04-08


I downloaded it a few times, and its actually better then it seems. But over all I think I would give it a C-!!!

Old Post 04-21-08 15:32 #
Ultimate_D00mFan64 is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
All times are GMT. The time now is 12:01. Post New Thread    Post A Reply
Pages (2): « 1 [2]  
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Misc. > Doomworld News > Doom WAD files found on Java

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is OFF
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory