Page 2 of 2
Posted: Sat May 15, 2010 7:11 am
by Banshaku
65024U wrote:I'm not even gona lie, I think C is evil....especially when people debate what's better, C or assembly, which is too obvious ⌐.⌐

There is no perfect language: is all depend of the context of what you are developing. If you say you're doing to develop a new e-commerce website in assembler... I'm going to slap you silly

Posted: Sat May 15, 2010 8:12 am
by 3gengames
Banshaku wrote:65024U wrote:I'm not even gona lie, I think C is evil....especially when people debate what's better, C or assembly, which is too obvious ⌐.⌐

There is no perfect language: is all depend of the context of what you are developing. If you say you're doing to develop a new e-commerce website in assembler... I'm going to slap you silly

Hahahah, I ment as in the development of a program, not running on another

I bet we could re-program windows to take up 10MB or less of assembly if we programed it :p It's freaking 9GB now!...Thats C for ya it seems :/
Posted: Sat May 15, 2010 8:42 am
by Petruza
65024U wrote:I'm not even gona lie, I think C is evil....especially when people debate what's better, C or assembly, which is too obvious ⌐.⌐

For the domain of this forum which is NES and 6502 Programming, I would agree Assembler is by far the best choice.
65024U wrote:Hahahah, I ment as in the development of a program, not running on another

I bet we could re-program windows to take up 10MB or less of assembly if we programed it :p It's freaking 9GB now!...Thats C for ya it seems :/
Are you saying that windows takes up more disk space because it's coded in C?
That's silly. the filezise of the same program coded in assembler and C shouldn't differ on more than a few KB.
If you're talking about memory, it's not that far either.
Windows is cluttered with useless things which take up space and that's not the fault of the language they were programmed with.
Assembler is perfect for little and/or old systems like the NES, plus modern embedded systems, but that's about it.
I dare you develop a modern day operating system in x86 assembler.
C is a great balance between the low level required by operating systems development and the high level required by not spending too much time coding in a language that makes you think more like a machine and less like a human.
Interpreted and Virtual machine languages like Java and .NET, well, that's another story.
Posted: Sat May 15, 2010 9:19 am
by 3gengames
Yeah well I think it definently is possible to make a OS, I don't think I could but if you take ONE computer and disassemble the BIOS, you could program a OS around that computer only....A 3.2GHZ PC with a OS in assembly? Fastttttt ^_^
It is true that C is not compiled on the run, but sometimes......I...I'm not sure I just don't like it....
Posted: Sat May 15, 2010 9:21 am
by UncleSporky
Yeah, the size of an OS has nothing to do with whether it's programmed in C. That's ridiculous.
It's 9 gig because of all the sound effects and fancy graphics and icons and wallpapers and tutorial videos.
Your dislike for C is really irrational.
Posted: Sat May 15, 2010 9:40 am
by Petruza
65024U wrote:Yeah well I think it definently is possible to make a OS
Well sure, there were some OSes code in assembler, I don't say it's impossible, I say it's highly impractical as developing any big project in assembler.
65024U wrote:A 3.2GHZ PC with a OS in assembly? Fastttttt ^_^

Linux is coded in C and it's fast, I'm not sure an OS coded in assembler would be much faster, and portability would be lost.
In present days, in the time you would spend coding an OS in assembler rather than C, processors would have doubled their speed at half the price, rendering the speed improvement of assembler useless.
65024U wrote:It is true that C is not compiled on the run, but sometimes......I...I'm not sure I just don't like it....
Ok, if you just don't like it, that's enough a reason not to use it.
I like both C and assembler as well as other languages and use each where and when I think they fit best.
And I'm ending this conversation here, because the topic is NES development, and we all agree assembler is the best choice for NES development. OS development is not at all what I'm interested in.
Posted: Sat May 15, 2010 3:20 pm
by tepples
Petruza wrote:For the domain of this forum which is NES and 6502 Programming, I would agree Assembler is by far the best choice.
Until you get to the point where you need to develop editing and conversion tools. At that point you might need C, C++, Python, Java, or C#.
I dare you develop a modern day operating system in x86 assembler.
Even if you do name it after Jon Mahon. (Inside joke.)
Posted: Sat May 15, 2010 8:15 pm
by 3gengames
Sorry I dragged this so far off topic, I just really want to know how big windows really is and stuff that very moment XD
So....Anyone every think of making a NES cart that could be used for developing games?....FROM THE CONSOLE? *GASP*
Posted: Sat May 15, 2010 9:51 pm
by strat
When you think about it, C is a kind of universal assembly language (notwithstanding the
Universal Machine Language used in MAME. It's a common implementation of memory addressing not found in HLL's. Plus I'm always discovering new and interesting things you can do with pointers.
Posted: Sat May 15, 2010 10:15 pm
by Petruza
65024U wrote:Sorry I dragged this so far off topic, I just really want to know how big windows really is and stuff that very moment XD
So....Anyone every think of making a NES cart that could be used for developing games?....FROM THE CONSOLE? *GASP*
Please don't follow the path of Joe_Cracker
Posted: Sun May 16, 2010 6:55 am
by tepples
65024U wrote:So....Anyone every think of making a NES cart that could be used for developing games?....FROM THE CONSOLE? *GASP*
Family Basic. And on the DS there's WarioWare DIY.
But the problems with trying to develop games on a stock NES are input and RAM. Family Basic had a keyboard, and WarioWare DIY has a touch screen. The DS also has a droppingsload more RAM.
Posted: Tue Jun 22, 2010 4:50 am
by frantik