comp.lang.ada
 help / color / mirror / Atom feed
* Serialization
@ 2009-07-29 15:40 Tomek Walkuski
  2009-07-29 16:00 ` Serialization Ludovic Brenta
  2009-07-29 16:04 ` Serialization Dmitry A. Kazakov
  0 siblings, 2 replies; 5+ messages in thread
From: Tomek Walkuski @ 2009-07-29 15:40 UTC (permalink / raw)


Is there any serialization / deserialization library for Ada? Or maybe
same theoretical papers how should it be implemented?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Serialization
  2009-07-29 15:40 Serialization Tomek Walkuski
@ 2009-07-29 16:00 ` Ludovic Brenta
  2009-07-29 16:04 ` Serialization Dmitry A. Kazakov
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Brenta @ 2009-07-29 16:00 UTC (permalink / raw)


Tomek Walkuski wrote:
> Is there any serialization / deserialization library for Ada? Or maybe
> same theoretical papers how should it be implemented?

It is built into the language. Check out streams and the Distributed
Systems Annex: Ada Reference Manual clauses 13.13.*, A.12.* and E.*.

--
Ludovic Brenta.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Serialization
  2009-07-29 15:40 Serialization Tomek Walkuski
  2009-07-29 16:00 ` Serialization Ludovic Brenta
@ 2009-07-29 16:04 ` Dmitry A. Kazakov
  2009-07-29 16:20   ` Serialization Tomek Wałkuski
  1 sibling, 1 reply; 5+ messages in thread
From: Dmitry A. Kazakov @ 2009-07-29 16:04 UTC (permalink / raw)


On Wed, 29 Jul 2009 08:40:35 -0700 (PDT), Tomek Walkuski wrote:

> Is there any serialization / deserialization library for Ada? Or maybe
> same theoretical papers how should it be implemented?

Depending on what you mean:

1. Marshaling: see stream I/O attributes S'Input and S'Output

2. Interlocking: see protected objects and tasks.

3. Persistence layer: I maintain one library and there certainly exit
others.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Serialization
  2009-07-29 16:04 ` Serialization Dmitry A. Kazakov
@ 2009-07-29 16:20   ` Tomek Wałkuski
  2009-07-29 17:34     ` Serialization Dmitry A. Kazakov
  0 siblings, 1 reply; 5+ messages in thread
From: Tomek Wałkuski @ 2009-07-29 16:20 UTC (permalink / raw)


On 29 Lip, 18:04, "Dmitry A. Kazakov" <mail...@dmitry-kazakov.de>
wrote:
> Depending on what you mean:

I will be implementing Memcached [1] protocol soon (which will be open
source, of course). There is a need of marshalling / demarshaling
objects.

[1] http://www.danga.com/memcached/



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Serialization
  2009-07-29 16:20   ` Serialization Tomek Wałkuski
@ 2009-07-29 17:34     ` Dmitry A. Kazakov
  0 siblings, 0 replies; 5+ messages in thread
From: Dmitry A. Kazakov @ 2009-07-29 17:34 UTC (permalink / raw)


On Wed, 29 Jul 2009 09:20:55 -0700 (PDT), Tomek Wa�kuski wrote:

> On 29 Lip, 18:04, "Dmitry A. Kazakov" <mail...@dmitry-kazakov.de>
> wrote:
>> Depending on what you mean:
> 
> I will be implementing Memcached [1] protocol soon (which will be open
> source, of course). There is a need of marshalling / demarshaling
> objects.
> [1] http://www.danga.com/memcached/

So I presume that you should provide a stream implemented on top of it and
that is all you should worry about.

-----------------------
P.S. Again, it all depends on what you want. Ludovic has already mentioned
the distributed systems annex. I guess that Memcached could be used as a
transport layer for it, provided it has some usable notification services
rather than raw memory replication.

We (now as a software firm) use a different approach to distribution than
the Annex E. Memcached could be used there as well, though our customers
have their own preferences concerning the transport protocols (our
middleware is communicating with hardware devices etc.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-07-29 17:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-29 15:40 Serialization Tomek Walkuski
2009-07-29 16:00 ` Serialization Ludovic Brenta
2009-07-29 16:04 ` Serialization Dmitry A. Kazakov
2009-07-29 16:20   ` Serialization Tomek Wałkuski
2009-07-29 17:34     ` Serialization Dmitry A. Kazakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox