Click here to Skip to main content
16,020,261 members
Home / Discussions / C#
   

C#

 
GeneralRe: Hosting IE in a windows application Pin
Christian Graus12-Jun-08 8:16
protectorChristian Graus12-Jun-08 8:16 
QuestionAMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
bigchump12-Jun-08 6:29
bigchump12-Jun-08 6:29 
AnswerRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
Christian Graus12-Jun-08 6:34
protectorChristian Graus12-Jun-08 6:34 
GeneralRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
bigchump12-Jun-08 7:23
bigchump12-Jun-08 7:23 
GeneralRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
Christian Graus12-Jun-08 7:30
protectorChristian Graus12-Jun-08 7:30 
GeneralRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
bigchump12-Jun-08 8:33
bigchump12-Jun-08 8:33 
GeneralRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
Christian Graus12-Jun-08 8:49
protectorChristian Graus12-Jun-08 8:49 
GeneralRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
bigchump12-Jun-08 9:24
bigchump12-Jun-08 9:24 
Hi Christian!

Christian Graus wrote:
bigchump wrote:
My database is over 20 years old and grows by about 512K every day.


Oh, a custom format ?
Yes, a relatively small file on HD is indexed to database on tape drives to find records that match.

bigchump wrote:
I don't know anything about SQL except that I run circles around people who do use it.


Well, if you're not using SQL, you're using some specialised code written for your purpose, no surprise it may work faster than a more generalised approach ( but still impressive )

There's no comparison to SQL. I wrote all the code many years ago before SQL even existed.

bigchump wrote:
What I don't understand AT ALL is the inability to read/write a struct/class directly to disk without a whole lot of overhead involved.


Well, did C++ just write a class for you ? You can store a class the same as you did in C++, by writing code to stream the component parts, if you like. Serialisation actually works mostly for free, if you're only using simple types that know how to serialise themselves.

IF I UNDERSTAND YOU, COMPONENT PARTS MEANS WRITING ONE ITEM AT A TIME TO A BINARY FILE.
The problem with that is one of these classes has over 1500 different items.
That would mean writing 1500 lines of code to write and another 1500 to read????

bigchump wrote:
I don't understand why the JIT compiler "chokes" (only at 64 bit, not at 32) the first time a large function is called.


Because it's compiling it. Why is your function so large ? What do you mean by 'chokes' ?

I tried breaking it down into several smaller functions. It just ran slower. "Chokes" means serious delay.
Why does it choke at only 64 bits and not at 32??????

bigchump wrote:
It's also likely that I've got my head screwed on backwards and am missing something simple.


I suspect that I'm not fully understanding you just yet


That's because I'm not a programmer by profession. It took me a while to figure out what "component parts" meant.
GeneralRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
Christian Graus12-Jun-08 9:47
protectorChristian Graus12-Jun-08 9:47 
GeneralRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
carbon_golem12-Jun-08 8:59
carbon_golem12-Jun-08 8:59 
GeneralRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
bigchump12-Jun-08 9:55
bigchump12-Jun-08 9:55 
GeneralRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
MaxRelaxman12-Jun-08 11:03
MaxRelaxman12-Jun-08 11:03 
GeneralRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
bigchump12-Jun-08 12:13
bigchump12-Jun-08 12:13 
GeneralRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
carbon_golem12-Jun-08 11:31
carbon_golem12-Jun-08 11:31 
Generali Pin
bigchump12-Jun-08 12:31
bigchump12-Jun-08 12:31 
GeneralRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
bigchump12-Jun-08 12:53
bigchump12-Jun-08 12:53 
QuestionRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
Michael Schubert12-Jun-08 20:47
Michael Schubert12-Jun-08 20:47 
GeneralRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
#realJSOP12-Jun-08 10:52
professional#realJSOP12-Jun-08 10:52 
GeneralRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
bigchump12-Jun-08 12:37
bigchump12-Jun-08 12:37 
AnswerRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
Simon P Stevens12-Jun-08 22:01
Simon P Stevens12-Jun-08 22:01 
GeneralRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
bigchump13-Jun-08 5:33
bigchump13-Jun-08 5:33 
GeneralRe: AMATEUR PROGRAMMER NEEDS HELP WITH SERIALIZATION Pin
Simon P Stevens15-Jun-08 23:34
Simon P Stevens15-Jun-08 23:34 
QuestionWebservice question Pin
johland12-Jun-08 5:42
johland12-Jun-08 5:42 
AnswerRe: Webservice question Pin
Christian Graus12-Jun-08 6:05
protectorChristian Graus12-Jun-08 6:05 
GeneralRe: Webservice question Pin
johland12-Jun-08 6:37
johland12-Jun-08 6:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.