[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Nit
From: |
Joshua Haberman |
Subject: |
Re: [Gnu-arch-users] Nit |
Date: |
Sun, 19 Oct 2003 11:59:16 -0700 |
On Sun, 2003-10-19 at 11:27, Charles Duffy wrote:
> On Sun, 2003-10-19 at 13:11, Joshua Haberman wrote:
> > 2) deserializers have to be written for every target language
>
> Why's that?
>
> Why couldn't someone interested in having a library interface (*ahem*)
> write just *one* deserializer exposed as a C library which could then be
> used by any language-specific interface?
Funny, this is exactly the argument for making libarch wrappable. The
answer I've gotten is equivalent to:
"Because then the deserializer will take up memory and bugs in it could
make the language-specific interface crash. The deserializer needs to
be in its own process."
Actually it's a pretty close analogy. Program A wants to perform
operation B for which an implementation already exists. Using B
involves exchanging non-trivial data structures. How should program A
use the existing implementation of B?
For the original case, B is "manipulate arch archives and working
trees." For this case, B is "deserialize data coming from tla on
stdin."
Josh
- Re: [Gnu-arch-users] Nit, (continued)
- Re: [Gnu-arch-users] Nit, Colin Walters, 2003/10/18
- Re: [Gnu-arch-users] Nit, Tom Lord, 2003/10/18
- Re: [Gnu-arch-users] Nit, Colin Walters, 2003/10/18
- Re: [Gnu-arch-users] Nit, Tom Lord, 2003/10/19
- Re: [Gnu-arch-users] Nit, Colin Walters, 2003/10/19
- Re: [Gnu-arch-users] Nit, Tom Lord, 2003/10/19
- Re: [Gnu-arch-users] Nit, Colin Walters, 2003/10/19
- Re: [Gnu-arch-users] Nit, Tom Lord, 2003/10/19
- Re: [Gnu-arch-users] Nit, Joshua Haberman, 2003/10/19
- Re: [Gnu-arch-users] Nit, Charles Duffy, 2003/10/19
- Re: [Gnu-arch-users] Nit,
Joshua Haberman <=
- Re: [Gnu-arch-users] Nit, Tom Lord, 2003/10/19
- Re: [Gnu-arch-users] Nit, Joshua Haberman, 2003/10/19
- Re: [Gnu-arch-users] Nit, Tom Lord, 2003/10/19
- Re: [Gnu-arch-users] Nit, Tom Lord, 2003/10/19
- Re: [Gnu-arch-users] Nit, Tom Lord, 2003/10/19
- Re: [Gnu-arch-users] Nit, Joshua Haberman, 2003/10/19
- Re: [Gnu-arch-users] Nit, Tom Lord, 2003/10/19
- Re: [Gnu-arch-users] Nit, Thomas Zander, 2003/10/20
- Re: [Gnu-arch-users] Nit, Alexander Deruwe, 2003/10/20
- Re: [Gnu-arch-users] Nit, Thomas Zander, 2003/10/20