Posted: Thu Jun 09, 2005 10:31 am Post subject: (No subject)
betaflye wrote:
Lots of people learn machine code, machine code is worth learning, it should be meantioned it isn't portable among processors or even operating systems. Dev C++ is written in Delphi, afaik.
Machine code IS portable among operating systems on a specific processor if you don't call and OS specific functions (or if you only use posix calls, but that's gonna change with longhorn )
As for learning machine language, no it is not worth learning unless you're writing an assembler. Assembly language on the other hand is worth learning, however you'd be hard pressed to actually write anything as complicated as Notepad in it. There is a reason that there are higher level languages, because without them things become extremely time consuming to write, and impossible to debug.
For example
c++:
c = a + b;
vs.
2 instructions to load a and b into registers, 1 to add them, and one to copy the result back into memory in MIPS Assembler (sorry, don't remember the exact syntax... I'll try and look it up and post the code). Personally I much prefer the C++ to the Assembly, it's easy to understand and it's compact.
Sponsor Sponsor
wtd
Posted: Thu Jun 09, 2005 12:58 pm Post subject: (No subject)
Cornflake wrote:
Personally I much prefer the C++ to the Assembly, it's easy to understand and it's compact.
Heh. C++ is higher-level than assembly is not exactly a ringing endorsement of C++.
rizzix
Posted: Thu Jun 09, 2005 2:19 pm Post subject: (No subject)
betaflye wrote:
Dev C++ is written in Delphi, afaik.
Yes, and it is so damn buggy.
This is the same reason people hate BASIC, specially Visual Basic and its derivitives.