April 13, 2004 Re: Looking: if somone coded a serialization lib - lib.rar | ||||
---|---|---|---|---|
| ||||
Posted in reply to h3r3tic | whooops... change the file objfactory.d: line 5: static char[][ClassInfo] o2n; line 17: factory.o2n[T.classinfo] = T.classinfo.name; line 23: factory.o2n[T.classinfo] = name; line 29: return o2n[obj.classinfo]; sorry, guess i was too sleepy... |
April 13, 2004 Re: Looking: if somone coded a serialization lib - lib.rar | ||||
---|---|---|---|---|
| ||||
Posted in reply to h3r3tic | hmm. what's a rar file and can you post the files in something
more conventional? something that WinZip can read, for instance.
Do I need to upgrade my WinZip?
thanks,
-Ben
On Tue, 13 Apr 2004 08:08:48 +0000 (UTC), h3r3tic
<h3r3tic_member@pathlink.com> wrote:
>yesterday i've independently coded a serialization lib... though its probably
>ugly it may come to be useful in the struggle to create sth better :)
>readme included.
>
|
April 13, 2004 Re: Looking: if somone coded a serialization lib - lib.rar | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ben Hinkle | Ben Hinkle wrote: >hmm. what's a rar file and can you post the files in something more conventional? something that WinZip can read, for instance. >Do I need to upgrade my WinZip? >thanks, >-Ben > > > Rar is a *slightly* better compression scheme then zip. Get winrar or winase (winase does many formats). Everyone uses zip and it doesn't seem people are willing to upgrade to/pick a (slightly) better format (of which there are many competing factions). >On Tue, 13 Apr 2004 08:08:48 +0000 (UTC), h3r3tic ><h3r3tic_member@pathlink.com> wrote: > > >>yesterday i've independently coded a serialization lib... though its probably >>ugly it may come to be useful in the struggle to create sth better :) >>readme included. >> >> >> > > > -- -Anderson: http://badmama.com.au/~anderson/ |
April 13, 2004 Re: Looking: if somone coded a serialization lib - lib.rar | ||||
---|---|---|---|---|
| ||||
Posted in reply to J Anderson | J Anderson wrote:
> Ben Hinkle wrote:
>
> Rar is a *slightly* better compression scheme then zip. Get winrar or winase (winase does many formats). Everyone uses zip and it doesn't seem people are willing to upgrade to/pick a (slightly) better format (of which there are many competing factions).
>
Winase? Google suggest Winace did you mean that?
If you want a good compression for text files, you should use bzip2
Stephan
|
April 14, 2004 Re: Looking: if somone coded a serialization lib - lib.rar | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stephan Wienczny | Stephan Wienczny wrote: > J Anderson wrote: > >> Ben Hinkle wrote: >> >> Rar is a *slightly* better compression scheme then zip. Get winrar or winase (winase does many formats). Everyone uses zip and it doesn't seem people are willing to upgrade to/pick a (slightly) better format (of which there are many competing factions). >> > > Winase? Google suggest Winace did you mean that? > If you want a good compression for text files, you should use bzip2 > > Stephan For that I could say, winase is not existing anyways. It should be winaCe. -- School, yet another nickname for anonymous. :D ;-D |
April 14, 2004 Re: Looking: if somone coded a serialization lib - lib.rar | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stephan Wienczny | Stephan Wienczny wrote: > J Anderson wrote: > >> Ben Hinkle wrote: >> >> Rar is a *slightly* better compression scheme then zip. Get winrar or winase (winase does many formats). Everyone uses zip and it doesn't seem people are willing to upgrade to/pick a (slightly) better format (of which there are many competing factions). >> > > Winase? Google suggest Winace did you mean that? > If you want a good compression for text files, you should use bzip2 > > Stephan sorry, yeah. -- -Anderson: http://badmama.com.au/~anderson/ |
April 14, 2004 Re: Looking: if somone coded a serialization lib - lib.rar | ||||
---|---|---|---|---|
| ||||
Posted in reply to J Anderson | > Java's serialization API goes this route. I haven't used it but it looks very easy. The Effective Java book, though, cautions against relying too heavily on the default behaviors. Well of course you have to be aware of what is happening but much of the time, but you can always overload the default behaviour, and your back where we started before. > The basic warning was that the default serialization scheme really nails down your class implementation and it's easy to turn it on and not realize you've just forced yourself into supporting a given implementation. It's ironic - the more features it has the more problematic it becomes I also think you should be able to plugin your own handlers into the serialization engine but that's a different issue and doesn't have to do with default serialization. >Also I remember (but I haven't checked if it is still true) that the doc on the Java serialization basically said not to use it since the format will change in the future. > > Well this is one area where D does not have to go >If you want to play around with serializing/deserializing graphs of objects feel free to modify the stream.d code > Well what are classes all about. You would simply need to extend classes in the stream set. All I argue is that it should be in the standard somewhere. Parhaps called mapSerialization. >- if people/Walter like the result it could get into phobos. I personally have no idea if Walter is paying attention to all this stream stuff anyway. > >-Ben > -- -Anderson: http://badmama.com.au/~anderson/ |
April 14, 2004 Re: Looking: if somone coded a serialization lib - lib.rar - lib.zip | ||||
---|---|---|---|---|
| ||||
Posted in reply to h3r3tic Attachments: | k, here's a slightly modified version in a slightly different zip archive |
April 14, 2004 Re: Looking: if somone coded a serialization lib - lib.rar - lib.zip | ||||
---|---|---|---|---|
| ||||
Posted in reply to h3r3tic | please ignore the comment in main.d, line 120. i thought i had deleted it... spotted sth else was causing the problem i mention there. sorry |
April 14, 2004 Re: Looking: if somone coded a serialization lib - lib.rar - lib.zip | ||||
---|---|---|---|---|
| ||||
Posted in reply to h3r3tic | h3r3tic 提到: > please ignore the comment in main.d, line 120. i thought i had deleted it... spotted sth else was causing the problem i mention there. sorry > > Ok I would take a look of that, thank you. -- School, yet another nickname for anonymous. :D ;-D |
Copyright © 1999-2021 by the D Language Foundation