9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Charles Forsyth <forsyth@terzarima.net>
To: 9fans@9fans.net
Subject: Re: [9fans] GSOC: Drawterm for the iPhone
Date: Tue, 31 Mar 2009 12:52:40 +0100	[thread overview]
Message-ID: <48bd99a2b930b1873934ae9a7a9f9a84@terzarima.net> (raw)
In-Reply-To: <6e35c0620903302136y683a8de6kff4a72ae490c4ef9@mail.gmail.com>

>Inferno plug-in for Safari?

We had a go at a plug-in for Firefox in gsoc2007.
These things (like drawterm, or a hosted Inferno port) are either very easy
or very hard. "very easy" because if the environment is suitable, the portability
interface for hosted Inferno is basically trivial:
    513 FreeBSD/os.c
    477 Irix/os.c
    539 Linux/os.c
    528 NetBSD/os.c
    798 Nt/os.c
    524 OpenBSD/os.c
    422 Plan9/os.c
    437 Solaris/os.c
it needs a way to create shared-memory processes; a way for them to block, be made ready, and exit;
a way for a process to allocate more shared memory; a way to interrupt a process when blocked or in a system call (Nt loses badly there); and some trivia.

if graphics is needed to get a basic system running:
    755 MacOSX/win.c
    795 Nt/win.c
    564 Plan9/win.c
   1620 port/win-x11a.c
(no prizes for spotting the outlier there)

for the original IE plugin, it was more involved:
    840 Nt/ie-os.c
    224 Nt/ie-win.c
although most of the code in ie-os.c is the same as os.c; the ie-win just connects to separate code that
actually links to IE:
   1242 emu.cpp
     54 factory.cpp
    697 inferno.cpp
     59 main.cpp
(a lot of that is automatically generated; and there are now easier ways to do it, by the way)
next to MacOSX, that's probably the biggest example of "hard".

the firefox plug-in was potentially "hard" (because the people that
define browser plug-in interfaces aren't good at defining operating systems)
and became "very hard" because its ways are not our ways,
and by the time the gsoc student realised that, it was too late.

several people had earlier bounced off a plug-in for netscape.
(i don't know the details because i wasn't involved.)

with both firefox and netscape (and no doubt with Safari) it could well
be that more knowledge or more effort would have it end up in the "fairly easy"
or "not to hard" category, but so far that hasn't happened.

obviously i'm leading up to say that perhaps Safari is much
nicer to us than all the other browsers, but given its environment,
i wouldn't start out with that assumption, especially a second time
for GSoC.

with both the Safari and some other suggestions, i think i'd be a little happier
if more of the ground work had been done during the last few months and
GSoC were completing the tasks or even exploring their application,
not setting out.



  parent reply	other threads:[~2009-03-31 11:52 UTC|newest]

Thread overview: 83+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-25 20:57 André Günther
2009-03-26  0:14 ` Federico G. Benavento
2009-03-26  0:24   ` Devon H. O'Dell
2009-03-26  0:39     ` Federico G. Benavento
2009-03-26  0:54       ` Eric Van Hensbergen
2009-03-26  1:02         ` andrey mirtchovski
2009-03-26  1:07           ` Eric Van Hensbergen
2009-03-26  1:11             ` andrey mirtchovski
2009-03-26  1:21               ` Eric Van Hensbergen
2009-03-26  1:29                 ` Nathaniel W Filardo
2009-03-26  2:03                   ` Pietro Gagliardi
2009-03-26  2:07                     ` Devon H. O'Dell
2009-03-26  2:42                       ` Anthony Sorace
2009-03-26  2:53                         ` Pietro Gagliardi
2009-03-26  3:09                           ` Noah Evans
2009-03-26  3:14                           ` Eric Van Hensbergen
2009-03-26  3:24                             ` Tom Lieber
2009-03-26  3:32                               ` Paul Lalonde
2009-03-26  3:31                             ` Jeff Sickel
2009-03-26  2:23                     ` Eric Van Hensbergen
2009-03-26  2:25                     ` Eric Van Hensbergen
2009-03-26  3:20                       ` Bakul Shah
2009-03-26  3:32                         ` Federico G. Benavento
2009-03-26 11:59                           ` Eric Van Hensbergen
2009-03-26 12:30                             ` Federico G. Benavento
2009-03-26 12:51                               ` Uriel
2009-03-26 13:28                                 ` erik quanstrom
2009-03-26 13:34                                   ` Devon H. O'Dell
2009-03-26 14:43                                   ` Brian L. Stuart
2009-03-26 16:18                                     ` Akshat Kumar
2009-03-26 16:24                                       ` erik quanstrom
2009-03-26 13:16                               ` Eric Van Hensbergen
2009-03-26 13:27                                 ` Devon H. O'Dell
2009-03-26 16:17                           ` Bakul Shah
2009-03-26  1:31                 ` andrey mirtchovski
2009-03-26  2:01                   ` Devon H. O'Dell
2009-03-26  4:36                     ` erik quanstrom
2009-03-26  2:20                   ` Eric Van Hensbergen
2009-03-26  8:33                 ` Francisco J Ballesteros
2009-03-26 18:04         ` J.R. Mauro
2009-03-26 18:22           ` Eric Van Hensbergen
2009-03-26 18:29             ` andrey mirtchovski
2009-03-26 18:39               ` Tom Lieber
2009-03-26 18:50                 ` andrey mirtchovski
2009-03-26 19:00                   ` Uriel
2009-03-26 19:14                   ` lucio
2009-03-26 19:27               ` Eric Van Hensbergen
2009-03-26 19:36                 ` andrey mirtchovski
2009-03-26 19:56                   ` Eric Van Hensbergen
2009-03-29  1:14                   ` Anant Narayanan
2009-03-30  2:51                     ` erik quanstrom
2009-03-30  3:02                       ` J.R. Mauro
2009-03-30  3:40                         ` ron minnich
2009-03-30  3:46                           ` J.R. Mauro
2009-03-30 14:08                             ` Anthony Sorace
2009-03-31  4:26                               ` Uriel
2009-03-31  4:36                                 ` Jack Johnson
2009-03-31  4:57                                   ` Tharaneedharan Vilwanathan
2009-03-31  6:00                                     ` Uriel
2009-03-31  6:22                                       ` Tharaneedharan Vilwanathan
2009-03-31  6:24                                       ` André Günther
2009-03-31  6:42                                         ` Federico G. Benavento
2009-03-31 20:51                                           ` David Leimbach
2009-03-31  7:33                                         ` yy
2009-03-31  7:36                                         ` Uriel
2009-03-31  9:14                                           ` Noah Evans
2009-03-31 12:01                                       ` Eric Van Hensbergen
2009-03-31 14:36                                         ` J.R. Mauro
2009-03-31 14:57                                           ` Eric Van Hensbergen
2009-03-31 15:02                                             ` J.R. Mauro
2009-03-31 15:09                                             ` Fco. J. Ballesteros
2009-03-31 11:52                                   ` Charles Forsyth [this message]
2009-03-26 18:39             ` J.R. Mauro
2009-03-26 19:35               ` Eric Van Hensbergen
2009-03-26 19:57                 ` Charles Forsyth
2009-03-26 19:54                   ` Eric Van Hensbergen
2009-03-26 21:22                 ` Pietro Gagliardi
2009-03-26 21:26                   ` Devon H. O'Dell
2009-03-28  1:21                   ` Uriel
2009-03-28  2:02                     ` Eric Van Hensbergen
2009-03-26  7:32 ` André Günther
2009-03-26 10:42   ` Pietro Gagliardi
2009-03-26 11:59     ` hiro

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=48bd99a2b930b1873934ae9a7a9f9a84@terzarima.net \
    --to=forsyth@terzarima.net \
    --cc=9fans@9fans.net \
    /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).