9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] Bits of Plan 9 I wish were more popular...
@ 2008-07-03 12:51 erik quanstrom
  2008-07-03 16:25 ` Digby Tarvin
  0 siblings, 1 reply; 6+ messages in thread
From: erik quanstrom @ 2008-07-03 12:51 UTC (permalink / raw)
  To: joelcsalomon, 9fans

> The only issue is that I can't justify the time needed to write Plan 9
> drivers when a usable system already exists.
>
> > Still you could use 9vx to run plan9 on top of this system, that way you could maybe
> > migrate the system gradually.
>
> Unless vx32 can run real-time tasks (pretty sure it cannot) that's not
> much use.  Almost every bit of my code (all except a very thin command
> interface) is living in a loadable kernel module
>
> Don't you want Kalman filters in *your* OS kernel?

it seems suprising that it all runs in the kernel.
doesn't linux support real-time user processes?

- erik



^ permalink raw reply	[flat|nested] 6+ messages in thread
* [9fans] Bits of Plan 9 I wish were more popular...
@ 2008-07-02 22:30 Joel C. Salomon
  2008-07-02 23:13 ` Steve Simon
  0 siblings, 1 reply; 6+ messages in thread
From: Joel C. Salomon @ 2008-07-02 22:30 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

In response to the recent troll invasion:

I've just started work at a CNC router manufacturer, doing control
system programming.  The machine I'm using to test & prototype control
algorithms is Linux with the RTAI real-time patches and I/O card
drivers from the Comedi project.  The way to get a hard-real-time
process?  Build and install a ——ing kernel module!  As regards
communicating with arbitrary I/O cards Comedi isn't completely
useless, merely so painful it should be called Tragedi.

The prototyping machine is completely in my control, so I could use
Plan 9 — if I could justify writing the drivers.  Trouble is, the
driver for the D/A converter comes with Comedi and someone here has
already written a driver for the quadrature encoder.  So I'm stuck on
that end.  I got a lot of programming done in school using acme under
Plan 9; for the first time I realize why the lunix world likes
Eclipse.  ☹

On the production side, I'm about to inherit the code base for the
controller.  Takes instructions from a PC host via USB and fans them
out to separate motion controller units.  And passes information back.
 And tinkers with the data stream when that's called for.  No
operating system.  I miss libthread — I may yet port it for a later
version, if I'm going to be contributing much to the controller rather
than just maintaining it.

One change I probably will make (since the data structures are all
scheduled for radical change) is in the transport.  The current code
base has corresponding structures on different machines declared with
the various "packed" pragmas and transported with byte-order-swapping
— when I get my hands on it it'll be done with proper marshalling.

So there we have it: sane real-time, decent hardware interfaces,
libthread, and data transport methods.  Plan 9 still has plenty to
teach the rest of the computing world.

--Joel

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

end of thread, other threads:[~2008-07-03 17:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-03 12:51 [9fans] Bits of Plan 9 I wish were more popular erik quanstrom
2008-07-03 16:25 ` Digby Tarvin
2008-07-03 17:51   ` Joel C. Salomon
  -- strict thread matches above, loose matches on Subject: below --
2008-07-02 22:30 Joel C. Salomon
2008-07-02 23:13 ` Steve Simon
2008-07-03  4:50   ` Joel C. Salomon

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).