• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Programming for RISC and CISC.

Order

Gawd
Joined
Dec 8, 2004
Messages
979
What is/are the language(s) used in programming instruction sets for RISC and CISC processors from either the ground up or modifying the code within existing architectures? Fortran?
 
Order said:
What is/are the language(s) used in programming instruction sets for RISC and CISC processors from either the ground up or modifying the code within existing architectures? Fortran?

There are C compilers which target x86, IA64, MIPS, ARM, etc...
So there is not necessarily a language difference for different processors, unless you're doing assembly. What matters more is the OS or environment that is running on that processor. Programming for a Windows PC, a palm, a smartphone and a heart monitor are all different (usually).
 
What, then, are the languages used to write for MS x86 servers and IBM/AIX P5 servers?
 
Same answer as above. The vast majority of code is written in high-level languages that are, at the core, platform independent (until you get to OS/Platform APIs). Even compilers are, after a basic core implementation, often written in the language they compile.
 
Order said:
What, then, are the languages used to write for MS x86 servers and IBM/AIX P5 servers?

I don't have access to IBM's source trees. So I can't comment on that.
I don't have access to the Windows source trees either. The below is just based on general programming knowlege.


For the most part, the hardware matters little when writing application code. After all it’s not like the application source code runs on the hardware, that’s where the compiler comes in. Source code is just a way or representing what you want done, it’s up to the compiler to translate that source code into an executable image which is compatible with the available instruction set and which is loadable by the existing software on the system (the OS, or whatever preexisting system is in place).

Of course, a given platform may have limited compilers available, and no two compilers are exactly the same. Granted though, the lower level you go, the more hardware restricts coding options.

Back in college I did some programming for other systems, there were some Motorola embedded systems and a couple of the early http://netburner.com/ systems. We used C\C++ for everything, no matter what the underlying hardware.

Anyway, as for real world projects…
The old version of Windows NT that ran on PowerPC? I’d think that >95% of the source was shared with the x86 version, if not more. But again, this is just a guess, I don’t have any special insight into the Windows projects, especially one that old.
 
MS: Gotcha. Do you mind if I send you a PM about something I've been researching?
 
Back
Top