| View previous topic :: View next topic |
| Author |
Message |
Alex Vinokur Guest
|
|
| Back to top |
|
 |
Rolf Magnus Guest
|
Posted: Sat Dec 18, 2004 2:55 pm Post subject: Re: Serialization and data compression methods |
|
|
Alex Vinokur wrote:
| Quote: | Are data compression methods used as the serialization technique?
|
of what?
|
|
| Back to top |
|
 |
Alex Vinokur Guest
|
Posted: Sat Dec 18, 2004 3:09 pm Post subject: Re: Serialization and data compression methods |
|
|
"Rolf Magnus" <ramagnus (AT) t-online (DOT) de> wrote
| Quote: | Alex Vinokur wrote:
Are data compression methods used as the serialization technique?
of what?
|
To transmit objects we should put them on a disk.
To do that it seems that we should encode them.
--
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn
|
|
| Back to top |
|
 |
Bob Hairgrove Guest
|
Posted: Sat Dec 18, 2004 8:00 pm Post subject: Re: Serialization and data compression methods |
|
|
On Sat, 18 Dec 2004 16:50:31 +0200, "Alex Vinokur"
<alexvn (AT) big-foot (DOT) com> wrote:
| Quote: | Are data compression methods used as the serialization technique?
|
There is no "the serialization technique" ... there are many ways of
implementing serialization. There are also many methods of data
compression.
What is it exactly that you want to do? And what does it have to do
with the C++ language?
--
Bob Hairgrove
[email]NoSpamPlease (AT) Home (DOT) com[/email]
|
|
| Back to top |
|
 |
Mike Wahler Guest
|
Posted: Sat Dec 18, 2004 10:48 pm Post subject: Re: Serialization and data compression methods |
|
|
"Alex Vinokur" <alexvn (AT) big-foot (DOT) com> wrote
| Quote: | Are data compression methods used as the serialization technique?
|
They are used as one possible serialization method
by some applications, those that need it. Other
applications use some other technique, depending
upon their needs. E.g. If I serialize some text
for purposes of transmitting to a printer, I certainly
don't want to compress or 'encrypt' it.
This isn't really a C++ question, but a design question,
perhaps better addressed in e.g. comp.programming
-Mike
|
|
| Back to top |
|
 |
Mike Wahler Guest
|
Posted: Sat Dec 18, 2004 10:49 pm Post subject: Re: Serialization and data compression methods |
|
|
"Alex Vinokur" <alexvn (AT) big-foot (DOT) com> wrote
| Quote: |
"Rolf Magnus" <ramagnus (AT) t-online (DOT) de> wrote
Alex Vinokur wrote:
Are data compression methods used as the serialization technique?
of what?
To transmit objects we should put them on a disk.
|
Really? What about e.g. transmitting them over a network?
To an output device?
| Quote: | To do that it seems that we should encode them.
|
Why?
-Mike
|
|
| Back to top |
|
 |
Thomas Matthews Guest
|
|
| Back to top |
|
 |
Thomas Matthews Guest
|
|
| Back to top |
|
 |
Jeff Flinn Guest
|
Posted: Mon Dec 20, 2004 1:50 pm Post subject: Re: Serialization and data compression methods |
|
|
Alex Vinokur wrote:
| Quote: | Are data compression methods used as the serialization technique
|
Not 'as' but 'with'. See the boost.serialization library and the upcoming
boost.iostream library by Jonathan Turkanis. The serialization library is
independent of stream type, and the iostream library provides the ability to
easily create compressed streams.
Jeff Flinn
|
|
| Back to top |
|
 |
|