04.01.2010, 21:29
Quote:
|
Originally Posted by RedShirt (JernejL)
Quote:
cmg4life: you don't throw anything away, pawn is very similar to plain C and you should be able to use all pawn knowledge to migrate to c++, but that would not be the only language that a native dll could support.. think delphi, php, python.. |
Since everything goes through the AMX, SA-MP is limited to a just a few data types that all fit within the 32bit cells it uses (32bit signed integers and 32bit floats) and then it also uses those unpacked strings which take 4 bytes per character.
I know you can make it use packed strings so it uses 1 byte per character but SA-MP doesn't do that at the moment.
This might not be much of an issue but it adds up.
To those people talking about the wrappers being fine; have you ever looked at their source? They do a lot of stuff behind your back that wouldn't be necesary if my suggestion gets realised.

