Welcome to Dream.In.Code
Become an Expert!

Join 149,499 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,384 people online right now. Registration is fast and FREE... Join Now!




Good Graphics Language

2 Pages V  1 2 >  
Reply to this topicStart new topic

Good Graphics Language, i was just wondering what a really good graphics language is

orangeslide8
2 Mar, 2007 - 02:06 PM
Post #1

D.I.C Head
Group Icon

Joined: 29 Dec, 2006
Posts: 190



Thanked: 1 times
Dream Kudos: 25
My Contributions
does anyone know what a really good graphics language is that has sufficent other progaming properties
thnx
john
User is offlineProfile CardPM
+Quote Post

Nova Dragoon
RE: Good Graphics Language
2 Mar, 2007 - 04:25 PM
Post #2

The Innocent Shall Suffer, Big Time
Group Icon

Joined: 16 Aug, 2001
Posts: 6,145



Thanked: 8 times
Dream Kudos: 515
Expert In: Python, Linux

My Contributions
There really isnt a graphics language, many of the languages have libraries to do graphics.
User is offlineProfile CardPM
+Quote Post

NickDMax
RE: Good Graphics Language
3 Mar, 2007 - 05:14 AM
Post #3

2B||!2B
Group Icon

Joined: 18 Feb, 2007
Posts: 2,867



Thanked: 53 times
Dream Kudos: 550
My Contributions
Well I have to respectfully disagree with Nova there. It is true that you can do "graphics" is a number of languages. However, not all of these are very good at it. VB6 is slow (can really speak for VB.NET), you can do great work in VB, but you will never get blazing speeds... the same can be said for Java (though I have seen more and more effort in that direction).

Once upon a time graphics programming was Asm and C. For a while things became complicated as the hardware became more and more specialized. Now things are begining to calm down with ATI and GForce defining the standards. Now DirectX and OpenGL provide interfaces that most graphics programming can use to get the job done.

I would say that C/C++ are the way to go. The C/C++ interface to both DirectX and OpenGL are not TOO difficult to learn. While still being low-level enough to provide access directly to the card drivers and hardware.

I should note that I am a graphics "hobbyist" and spend more time tinkering than writing actual applications.
User is offlineProfile CardPM
+Quote Post

Programmist
RE: Good Graphics Language
6 Mar, 2007 - 03:31 AM
Post #4

Four-letter word
Group Icon

Joined: 2 Jan, 2006
Posts: 1,250



Thanked: 11 times
Dream Kudos: 100
Expert In: Java

My Contributions
Don't discount Java, based on past performance issues. This Java port of Quake 2 performed as well as the original C version (Google).
http://cld.blog-city.com/javabased_game__j...t_of_quake2.htm

QUOTE
Jake2, a Java-based port of Quake2...clearly the "Java is slow" crowd is now quickly being out-numbered. Reality is that the new Java games are putting an end to these out-dated beliefs.

User is offlineProfile CardPM
+Quote Post

GWatt
RE: Good Graphics Language
6 Mar, 2007 - 06:47 AM
Post #5

human inside
Group Icon

Joined: 1 Dec, 2005
Posts: 2,356



Thanked: 31 times
Dream Kudos: 500
My Contributions
I wouldn't say that java is getting faster/more efficient. I would say that hardware is faster. On a slower computer (say PIII or older) I would expect C to outperform java
User is online!Profile CardPM
+Quote Post

William_Wilson
RE: Good Graphics Language
6 Mar, 2007 - 06:50 AM
Post #6

lost in compilation
Group Icon

Joined: 23 Dec, 2005
Posts: 4,101



Thanked: 25 times
Dream Kudos: 3275
Expert In: Java, C, Javascript

My Contributions
QUOTE(GWatt @ 6 Mar, 2007 - 12:47 PM) *

I wouldn't say that java is getting faster/more efficient. I would say that hardware is faster. On a slower computer (say PIII or older) I would expect C to outperform java

most definatly C should and will out perform java in almost every aspect, but the question arises... Is java fast enough? it just might be. With options of threading and thus pipelining processes in java are getting better.
User is offlineProfile CardPM
+Quote Post

Programmist
RE: Good Graphics Language
6 Mar, 2007 - 07:56 AM
Post #7

Four-letter word
Group Icon

Joined: 2 Jan, 2006
Posts: 1,250



Thanked: 11 times
Dream Kudos: 100
Expert In: Java

My Contributions
QUOTE(GWatt @ 6 Mar, 2007 - 08:47 AM) *

I wouldn't say that java is getting faster/more efficient....


What leads you to that conclusion? Are you involved in JVM development? Just curious. Here's an article, published by IBM in 2005 that may provide information of which you were not aware.
http://www-128.ibm.com/developerworks/java...j-jtp09275.html

User is offlineProfile CardPM
+Quote Post

1lacca
RE: Good Graphics Language
6 Mar, 2007 - 09:02 AM
Post #8

code.rascal
Group Icon

Joined: 11 Aug, 2005
Posts: 3,822



Thanked: 12 times
My Contributions
Java is getting faster, and not because of the hardware it runs on is faster.
Teh JVM is optimized in many ways, a good bunch of C/C++ experts work on it. Just have a look at 1.5 vs 1.4. Runtime optimization also has many advantages.
The compilers are getting smarter. Just have a look at the bytecode, and you'll see, that it makes really smart optimizations.
Finally, hardware really matters, but in a different way: even ARM processors natively support over 90% of the java opcodes, so running java bytecode is not much different for them, than running native applications.
I am not telling that Java will beat C/C++ performancewise, but if used well, the overhead it has can be neglected by debugging and developing cost and time, thus the final products will end up with similar charactersitics.
User is offlineProfile CardPM
+Quote Post

skyhawk133
RE: Good Graphics Language
6 Mar, 2007 - 09:30 AM
Post #9

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 15,262



Thanked: 61 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
Good links and an interesting discussion. I'd like to see more of this type of discussion in the general programming forum!


Good info here.
User is online!Profile CardPM
+Quote Post

GWatt
RE: Good Graphics Language
6 Mar, 2007 - 11:55 AM
Post #10

human inside
Group Icon

Joined: 1 Dec, 2005
Posts: 2,356



Thanked: 31 times
Dream Kudos: 500
My Contributions
QUOTE(alcdotcom @ 6 Mar, 2007 - 10:56 AM) *

What leads you to that conclusion? Are you involved in JVM development? Just curious. Here's an article, published by IBM in 2005 that may provide information of which you were not aware.
http://www-128.ibm.com/developerworks/java...j-jtp09275.html


Unless I'm mistaken, IBM wasn't involved with JVM development in 2005 either. Also, one of my biggest gripes about Java is that Sun is constantly changing the class libraries. Some old code isn't completely obsolete, but compiles with warnings. In some of the older books I've looked at, the code examples will not compile properly at all. I like Java, and it is the language with which i am best, but it has its problems.
User is online!Profile CardPM
+Quote Post

Programmist
RE: Good Graphics Language
6 Mar, 2007 - 02:02 PM
Post #11

Four-letter word
Group Icon

Joined: 2 Jan, 2006
Posts: 1,250



Thanked: 11 times
Dream Kudos: 100
Expert In: Java

My Contributions
QUOTE(GWatt @ 6 Mar, 2007 - 01:55 PM) *

QUOTE(alcdotcom @ 6 Mar, 2007 - 10:56 AM) *

What leads you to that conclusion? Are you involved in JVM development? Just curious. Here's an article, published by IBM in 2005 that may provide information of which you were not aware.
http://www-128.ibm.com/developerworks/java...j-jtp09275.html


Unless I'm mistaken, IBM wasn't involved with JVM development in 2005 either. Also, one of my biggest gripes about Java is that Sun is constantly changing the class libraries. Some old code isn't completely obsolete, but compiles with warnings. In some of the older books I've looked at, the code examples will not compile properly at all. I like Java, and it is the language with which i am best, but it has its problems.

I'm not sure if IBM was involved with JVM development, but they did have information to back up their conclusion. That's really all I was saying. If you make a sweeping public statement like that, without any explanation, then you can bet that someone is going to be curious enough ask you why you believe what you do.

One one hand, the changing API can be a pain sometimes. I had an RSS reader app that I wrote in 1.5, but had errors in 1.6. But Sun usually deprecates methods a version or two before removing them (not sure how long). On the other hand, I want a programming language that is cutting edge. If that means occasionally having to retrofit my old apps to work with new version, then I suppose that's the price of progress if you want to think of it that way. It's also not that difficult to distribute a pared-down version of an old JVM with an app, so there are ways around it.

User is offlineProfile CardPM
+Quote Post

GWatt
RE: Good Graphics Language
6 Mar, 2007 - 03:01 PM
Post #12

human inside
Group Icon

Joined: 1 Dec, 2005
Posts: 2,356



Thanked: 31 times
Dream Kudos: 500
My Contributions
I agree that progress is good, and recognize that compatibility will be sacrificed to make progress.

Ooh. Another thing is that i wish Java could pass functions/methods as arguments like you can in C/C++, and perl.
User is online!Profile CardPM
+Quote Post

2 Pages V  1 2 >
Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 06:23PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month