|
|
|
|
|
by mSparks
3532 days ago
|
|
"Safe/Secure" code - by definition must be slower than unsafe code. Because every operation must pass over a series of hurdles to make sure it is safe. - does the code have permission to do this, is everything being supplied within bounds, is the system in a stable state. Every language is about the same with all these checks in place. In fact C is quite possibly slower, because so many of the memory jumps will be so far away, and compilers are much better at optimising for this than people. In my opinion not having these checks is only acceptable when the permissions of all developers and all users - potential and actual are identical. While there are rare cases this is true, much to many developers chargrin, in nearly every case it is not. The whole point of SSL is that developers, users and users of the users permissions are totally different. |
|