PDA

View Full Version : Soft. rendering tuts in Java?


Mihail121
07-07-2004, 02:43 AM
Hello!

I'm spending much time coding in Java lately and decided to dump the C/C++ for good (finally... after 5 years i'm finally FREE!!! HAHA). Therefore i also decided to continue the software rendering series in Java. The question is: what do you guys think about this idea? I personally think that Java is a hell better solution since there are absolutely no stuff that can disturb someones attention, while reading the source...

anubis
07-07-2004, 04:11 AM
what exactly disturbs you while reading c++ code ?

Dia Kharrat
07-07-2004, 08:36 AM
Why would you want to use Java for something that requires ultra efficiency and speed, especially for something like software rendering. I wouldn't recommend this change personally for this kind of application. Besides, I would suggest staying consistent with your previous series so that people following the series don't get confused. But it's totally up to you :)

anubis
07-07-2004, 01:35 PM
Why would you want to use Java for something that requires ultra efficiency and speed

i don't think that performance is much of an issue anymore.

Besides, I would suggest staying consistent with your previous series so that people following the series don't get confused

i totally agree with that. i guess you are using the same code base since you started out with the series. it will get hard to follow the changes you have made to the programm if you suddenly switch languages. probably you should choose java for your next article series

Mihail121
07-08-2004, 01:09 AM
Hi, again!

"what exactly disturbs you while reading c++ code ?"

Since i'm reading/writing only C++ code for the last 5 years - EVERYTHING disturbs me :)).

"Why would you want to use Java for something that requires ultra efficiency and speed"

It's not really about the speed or efficiency. These series are for demonstrational purposes.

"i guess you are using the same code base since you started out with the series."

Not quite... i decided to rewrite (or extend if you prefer...) the renderer so it's now based on data buffers, render states and render targets. The previous system was hell to extend, no ?

Hmmm... well... yes it seems that staying with C++ is the best choice!

That's it!
L8rs :)