C Vs Fortran Compiler :
- C compiler ignores that overflow caused by arithmetic of memory address (unsigned int) while in case of FORTRAN it's taken care.
- There are many differences between C and fortran as computer programming language.
- But the core difference that i found at hardware side in compiler of both language is REACTION TOWARDS memory OVERFLOW.
- While adding two no.s of 32 bits , it may so happen that answer of addition exceeds max value , that can be stored in 32 bits. It is basically known as memory overflow.
- But memory addresses are always unsigned so in that case compiler has two option either ignore the unsiged overflow or taken care.
- C compiler ignores that unsigned memory address overflow while in case of FORTRAN it's taken care
No comments:
Post a Comment