9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 9p implemention using print() like formats for marshaling
@ 2009-07-07 16:13 Steve Simon
  2009-07-07 16:46 ` Kris Maglione
  2009-07-07 16:49 ` Eric Van Hensbergen
  0 siblings, 2 replies; 3+ messages in thread
From: Steve Simon @ 2009-07-07 16:13 UTC (permalink / raw)
  To: 9fans

I am interested in a 9p implementation which used print()-like
format strings for packet marshaling. This was pre-9p2k and I
even have a vague memory that it was a student project, mentored by Rob,
though I may have made that up.

I found this code on the net a long time ago but I ahve lost the link;
does this description ring any bells with anyone?

-Steve



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

* Re: [9fans] 9p implemention using print() like formats for marshaling
  2009-07-07 16:13 [9fans] 9p implemention using print() like formats for marshaling Steve Simon
@ 2009-07-07 16:46 ` Kris Maglione
  2009-07-07 16:49 ` Eric Van Hensbergen
  1 sibling, 0 replies; 3+ messages in thread
From: Kris Maglione @ 2009-07-07 16:46 UTC (permalink / raw)
  To: 9fans

On Tue, Jul 07, 2009 at 05:13:58PM +0100, Steve Simon wrote:
>I am interested in a 9p implementation which used print()-like
>format strings for packet marshaling. This was pre-9p2k and I
>even have a vague memory that it was a student project, mentored by Rob,
>though I may have made that up.
>
>I found this code on the net a long time ago but I ahve lost the link;
>does this description ring any bells with anyone?

Someone wrote a patch for libixp some years ago. The result was
public, but not exceptionally nice, as I recall. That said, I
suspect that I could write a nicer one in an hour or so, but I'm
not really sure it's the best approach.

--
Kris Maglione

For every complex problem there is an answer that is clear, simple,
and wrong.
	--H. L. Mencken




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

* Re: [9fans] 9p implemention using print() like formats for marshaling
  2009-07-07 16:13 [9fans] 9p implemention using print() like formats for marshaling Steve Simon
  2009-07-07 16:46 ` Kris Maglione
@ 2009-07-07 16:49 ` Eric Van Hensbergen
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Van Hensbergen @ 2009-07-07 16:49 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Tue, Jul 7, 2009 at 11:13 AM, Steve Simon<steve@quintile.net> wrote:
> I am interested in a 9p implementation which used print()-like
> format strings for packet marshaling. This was pre-9p2k and I
> even have a vague memory that it was a student project, mentored by Rob,
> though I may have made that up.
>
> I found this code on the net a long time ago but I ahve lost the link;
> does this description ring any bells with anyone?
>

I wasn't aware of the previous instance, but the stuff Anthony Ligouri
did for the qemu-based-9p server used this approach and I liked it so
much I sucked it into the v9fs kernel code but there isn't currently a
standalone library version of it (but it should be trivial to extract
it from the kernel code -- specifically:  http://is.gd/1q7hV ).  I
wanted to do a Plan 9 version using fmtinstall (or some variant)
because that should make it a lot cleaner, but never got around to
doing it.

     -eric



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

end of thread, other threads:[~2009-07-07 16:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-07 16:13 [9fans] 9p implemention using print() like formats for marshaling Steve Simon
2009-07-07 16:46 ` Kris Maglione
2009-07-07 16:49 ` Eric Van Hensbergen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).