Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Pascal vs C

Name: Anonymous 2010-04-05 17:12

If you were to give a language like Python static typing and make it a compiled language instead of interpreted, you basically end up with something like Pascal. So how would you rate Pascal's abilities compared to C? I know dynamic typing requires runtime checking, but would it be possible to have dynamic typing in a compiled language like Pascal?

Name: Anonymous 2010-04-06 15:10

>>19
Assembly language does have its own runtime most of the time. You have your OS to rely on, which sometimes can be quite large, and you have other libraries which you can call to. Even in bootloaders and other no-OS, no-runtime situations, you have the BIOS to rely on and all the mechanisms the CPU provide, which are quite a lot on x86(trig math, floating point ops, even a CRC32 instruction, and many more). You will have to make your own runtime if you have none. There is no shame in using one's everpresent runtime, that's what we have modern OSes, and if that runtime doesn't suit you, you're free to make your own, but you'll always need some sort of base libraries, there's no escaping from that, unless you really like to waste your time reinventing the wheel each time.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List