News for hackers. Stuff that matters.
Re:Using C for a specialized data store by JoachimSchipper on Wednesday March 07, 2012 @06:32AM (#3675094)
Umm, we're talking about just over 18MB here (1200 * 1000 pixels, 16 bytes/pixel, see http://pixenomics.tumblr.com/post/16895861678/how-to-send-1-...). That you can just dump over the wire as a binary blob. Why are we talking about this again? Use your favourite language, just keep it in a big blob in memory, and have fun.
Re:Using C for a specialized data store by saulkw on Wednesday March 07, 2012 @08:47AM (#3675439)
Memory isn't an issue. It's processing the data and turning the storage into a format the client can read. A big blob isn't easy to send to the client unless it's an image or something and then it becomes an issue when you want to manipulate the data or process it.
Re:Using C for a specialized data store by blibble on Wednesday March 07, 2012 @09:41AM (#3675608)
it's a 1000x1000 image... this is a trivial problem
Re:Using C for a specialized data store by saulkw on Wednesday March 07, 2012 @09:46AM (#3675628)
Can you elaborate?
Re:Using C for a specialized data store by swah on Wednesday March 07, 2012 @07:16PM (#3677986)
What he means is: you wouldn't look for a "solution" for writing a 1 mb text file to disk, because its quite trivial and fast in any language.