Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / October 2007

Tip: Looking for answers? Try searching our database.

Very unefficient binary stream

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jaakko Salmenius - 30 Oct 2007 16:08 GMT
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
Andrew Faust - 31 Oct 2007 03:03 GMT
Go rant on a Borland newsgroup and stop wasting our time. Many of us have
used Delphi extensively and decided that we prefer Visual Studio. Coming to
a .Net newsgroup and complaining about how .Net 1.x serializes data
certainly isn't going to do anything to change out minds.

Signature

Andrew Faust
andrew[at]andrewfaust.com
http://www.andrewfaust.com

> Hi,
>
[quoted text clipped - 20 lines]
> Best regards,
> Jaakko
Peter Duniho - 31 Oct 2007 03:31 GMT
> Go rant on a Borland newsgroup and stop wasting our time. Many of us
> have used Delphi extensively and decided that we prefer Visual Studio.
> Coming to a .Net newsgroup and complaining about how .Net 1.x
> serializes data certainly isn't going to do anything to change out
> minds.

Please don't feed the trolls.

And yes, Jaakko is an obvious troll.
Andrew Faust - 31 Oct 2007 03:47 GMT
Yeah, I know. It's a bad habit I have. I like to respond to 411 scammers on
occasion too, just for the laugh.

Signature

Andrew Faust
andrew[at]andrewfaust.com
http://www.andrewfaust.com

>> Go rant on a Borland newsgroup and stop wasting our time. Many of us
>> have used Delphi extensively and decided that we prefer Visual Studio.
[quoted text clipped - 4 lines]
>
> And yes, Jaakko is an obvious troll.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.