From: Anthony Martin <ality@pbrane.org>
To: 9front@9front.org
Subject: Re: [9front] /dev/draw performance
Date: Mon, 30 Nov 2020 04:22:29 -0800 [thread overview]
Message-ID: <X8TkBbVH8xQln7dv@alice> (raw)
In-Reply-To: <CAFSF3XMe9M8PBODFbR3JCrBc_ycgDo6k-THRuuapJOwdxOk+5Q@mail.gmail.com>
hiro <23hiro@gmail.com> once said:
> regardless i would love to hear the actual personal reasons. cause i'm
> curious. and want to understand and learn from their vision, and
> possibly a kind of pragmatism they applied that I still lack in this
> regard.
>
> i am waiting for a good excuse. i asked for it on 9fans, but nobody
> came to admit having written the code in the first place.
> if you are on better speaking terms... there's lots of people like me
> eager to listen to their answers.
Ethan needs to quell his urge to opine on unfamiliar matters.
Hiro needs to learn how to do basic research.
To: 9fans@cse.psu.edu
Subject: Re: [9fans] was 8½ slow and that lead to rio?
From: "rob pike" <rob@plan9.bell-labs.com>
Date: Wed, 30 Jan 2002 11:18:28 -0500
Rio was written for Brazil, in which the kernel had no graphics at
all, and all graphical operations were done in user mode and then
blasted as raw pixels onto the screen. That became untenable at low
bandwidth, so when we put the draw operator in, the graphics
functionality went back in the kernel as a stopgap. I hope it doesn't
stay there, but it was an easy way to focus on the interesting
problems.
There are three reasons that rio doesn't multiplex the graphics: 1)
history, as mentioned above; 2) speed; 3) to avoid the code bloat.
Much of 8½'s source code involved grubbing around and rewriting
graphics messages for the clients. This meant that the graphics code
was scattered between library, kernel, and window system. Rio avoided
all that gunk and doesn't need to change if the graphics interface
changes, as it has a couple of times. It's a huge improvement.
So the real answer is engineering, not performance.
-rob
What do I need to do?
Anthony
next prev parent reply other threads:[~2020-11-30 12:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-30 8:03 Steve Simon
2020-11-30 9:34 ` hiro
2020-11-30 12:22 ` Anthony Martin [this message]
2020-11-30 14:09 ` hiro
2020-11-30 18:40 ` Ethan Gardener
2020-11-30 18:59 ` Stanley Lieber
2020-11-30 19:01 ` Ethan Gardener
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=X8TkBbVH8xQln7dv@alice \
--to=ality@pbrane.org \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).