Page 4 of 4 [ 53 posts ]  Go to page Previous  1, 2, 3, 4

Fuzzy
Veteran
Veteran

User avatar

Joined: 30 Mar 2006
Age: 51
Gender: Male
Posts: 5,223
Location: Alberta Canada

22 Nov 2007, 2:11 am

CompSciMan wrote:
Fuzzy wrote:
, but most of the work should be done as high level as possible;


Most of what work? The problem is the higher the level and abstraction of the language, the slower and bigger the program. If you want a fast program, you'd sure as heck better not want to use Java or any other high-level language that makes things easy. Why do you think they don't write resourse-intensive games, or heavy computation programs, or time-critical, or safety-critical or, or, or ... in Java or a similar high-level language?

I understand it would be nice to be able to write everything as high level as possible, but most real-world situations dictate that such is not the case. If it were, we would all use Java for everything because it's very very easy to learn, fully portable, with a huge set of ever-expanding libraries to help you do just about anything.


I'm afraid you are missing the point. those games still get written high level to prototype it, then the functions and other bottle necks get rewritten in asm. even if at the very end of things, its mostly assembler code, it just makes sense to prototype.

Java isnt a generation above the C family, its part of it. I am sure that some will claim it is, but its still recognizable as related,

My good friend nellos pointed out a new language that his neighbour uses. its purely graphical, and you draw a flowchart that shows what must be done(I think he said it had a telecommunications application). This.language output assembly code which was then optimized as needed. The end result was tight, fast, tiny code, and C/C++ was not needed for the equation. Its abstract, its high level, and it is more intuitive. Its a new generation language. Very much a real world application.

The game makers do this too. Maxis has an in house live compile language which is used to create items and characters in their sims games. You dont have to recompile the main application to make changes, and you dont need a version that is different to the public release, which cuts down on bug fixes and a lot of work tracking differences.



MeshGearFox
Sea Gull
Sea Gull

User avatar

Joined: 31 Dec 2006
Gender: Male
Posts: 243
Location: NYC

22 Nov 2007, 12:25 pm

Hm. I'm not a programmer. I would like to learn. The best I can manage is an Excel Macro. Yet I find this discussion very interesting, if not fascinating. Good stuff. Thanks.

Hey Fuzzy: awesome avatar. I still have a "Don't Blame Me, I Voted for Bill and Opus" t-shirt!



funkfisk
Raven
Raven

User avatar

Joined: 1 Nov 2007
Gender: Male
Posts: 123

22 Nov 2007, 1:24 pm

lonelyLady wrote:
can you recommend one (i.e. a good book)?

funkfisk wrote:
Then I went into learning how the CPU and such worked (there are good books on that),


The book I used was "Programming 80486", but that was like 10 years ago. Many new good books may have arrived. That book I mentioned is gold if you're a beginner with CPU-programming. Windows programming doesn't really let you to access the CPU in a way I want, because you have to rely on drivers and such. Damn those restrictions :P MS-DOS was almost haven, you could even hack the graphics card if you wanted :)



Fuzzy
Veteran
Veteran

User avatar

Joined: 30 Mar 2006
Age: 51
Gender: Male
Posts: 5,223
Location: Alberta Canada

22 Nov 2007, 4:03 pm

MeshGearFox wrote:
Hm. I'm not a programmer. I would like to learn. The best I can manage is an Excel Macro. Yet I find this discussion very interesting, if not fascinating. Good stuff. Thanks.

Hey Fuzzy: awesome avatar. I still have a "Don't Blame Me, I Voted for Bill and Opus" t-shirt!


Ack! tthhbbptt!



Kiski
Yellow-bellied Woodpecker
Yellow-bellied Woodpecker

User avatar

Joined: 31 Dec 2007
Age: 34
Gender: Male
Posts: 57
Location: Galifrey

02 Jan 2008, 6:32 pm

I recommend that you try learning Python. It is very beginner friendly, but also powerful enough for experienced users. The syntax is very simple (compared to other languages such C or Java)

You can find more information at python.org.

There's a good beginners tutorial available called Byte of Python.


_________________
Human knowledge belongs to the world, like Shakespeare or Aspirin.