J
Jaakko Salmenius
Hi,
..NET 1.x uses very unefficient way to store binary data to a resource stream
(e.g. .resources file). For example when framework stores System.Char or
System.Boolean it actually serializes the whole type and the value. As the
result it takes 20 to 30 bytes to store a single char or boolean value!!!!
VCL has been there 12 years and has always used only two bytes for boolean
and 2-3 to char.
Really amazing engineering from Microsoft!
Lucky for us MS finally learned and fixed this in .NET 2.x where boolean and
char are stored as primary data type (same was as VCL used 12 years ago!).
Why the hell MS took all the main software engineers from Borland 5-7 years
ago it did not utilize their expertize. My guess was that they just wanted
to kill Delphi that was and still is the most productive software
development tool.
Best regards,
Jaakko
..NET 1.x uses very unefficient way to store binary data to a resource stream
(e.g. .resources file). For example when framework stores System.Char or
System.Boolean it actually serializes the whole type and the value. As the
result it takes 20 to 30 bytes to store a single char or boolean value!!!!
VCL has been there 12 years and has always used only two bytes for boolean
and 2-3 to char.
Really amazing engineering from Microsoft!
Lucky for us MS finally learned and fixed this in .NET 2.x where boolean and
char are stored as primary data type (same was as VCL used 12 years ago!).
Why the hell MS took all the main software engineers from Borland 5-7 years
ago it did not utilize their expertize. My guess was that they just wanted
to kill Delphi that was and still is the most productive software
development tool.
Best regards,
Jaakko