Welcome, Guest. Please login or register.

Author Topic: Programming Like it was 1985!  (Read 3067 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Super TWiTTopic starter

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 222
    • Show all replies
Programming Like it was 1985!
« on: April 14, 2010, 03:55:37 PM »
I am not a programmer, but have decided to learn c (not c++ overly complicated, and everything can be done in c anyway). I have seen AMAZING things done on amigas and c64s and even apple IIs. How was it done in such SMALL resources? Were most programs of that era written in c? Or assembly? ( I am not interested in learning assembly as it would be impossible to take advantage of newer chip flags, and I don't want to be tied into only one architecture)  EDIT: This should be moved to science & technology. I didnt' see it there SORRY!
« Last Edit: April 14, 2010, 04:01:51 PM by Super TWiT »
Once there was a man and a boy in the woods.
 
Boy: I\'m scared...
 
Man: Hah! What have you got to be afraid of? I\'m the one that\'s going to be coming back alone!
 

Offline Super TWiTTopic starter

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 222
    • Show all replies
Re: Programming Like it was 1985!
« Reply #1 on: April 14, 2010, 04:37:15 PM »
Quote from: Thomas;553502
Why do you think so ? Assember is translated into machine language as is C. So why should it be impossible to do something in assembler which you can do in C ?

Actually you can do even more in assembler than in C because assembler translates 1:1 into machine language while C has its fixed feature set which translates into only a subset of all available assembler/machine language instructions.
What I meant was that it would be near impossible for me to take advantage of all new cpu features & flags on my own. The compiler would write better assembler than I. Also, I don't want to write programs that are architecture specific.
Once there was a man and a boy in the woods.
 
Boy: I\'m scared...
 
Man: Hah! What have you got to be afraid of? I\'m the one that\'s going to be coming back alone!
 

Offline Super TWiTTopic starter

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 222
    • Show all replies
Re: Programming Like it was 1985!
« Reply #2 on: April 14, 2010, 04:50:47 PM »
I guess what I was wondering how they wrote programs in c that took such low resources. It seems today that computers that are much faster are still slow.
Once there was a man and a boy in the woods.
 
Boy: I\'m scared...
 
Man: Hah! What have you got to be afraid of? I\'m the one that\'s going to be coming back alone!