9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: errno <errno@cox.net>
To: 9fans@9fans.net
Subject: Re: [9fans] Compiling 9atom kernel WAS: Re: spaces in filenames
Date: Sat, 30 Apr 2011 01:16:47 -0700	[thread overview]
Message-ID: <201104300116.47971.errno@cox.net> (raw)
In-Reply-To: <33F21281-6959-49EB-91E6-2906EC606483@9srv.net>

On Friday, April 29, 2011 11:26:03 PM Anthony Sorace wrote:
> On Apr 30, 2011, at 12:05 AM, errno wrote:
> > But APE has c++  (old version of gcc though).
>
> APE has no c++. there is a very old version of gcc floating around on
> sources that can, with some effort, sometimes be made to compile things.
>

Ah, ok - thanks for the correction.

And thanks for the friendly response in general, appreciated.

So, shaking this out just a bit further:

(anyone reading, please just ignore this if you find it too long,
and/or too annoying, and/or too naive - or whatever - I'd rather
hear crickets chirping than hecklers carping - thanks)


Starting Goal:  a modern, standards compliant web engine library for Plan 9


Options:

* write from scratch

* port existing codebase


Option Considerations:

* writing from scratch is simply too momentous a task:

"because it's a huge amount of work. there's a whole pile of standards and
pseudo-standards to deal with, the set is ever-growing, the components are
ever-growing, and there isn't really a good definition of 'correct'.  it's all
just a hideous mess."

+ thus, porting from an existing codebase is likely the more realistic option


Porting Options:

* gecko

* webkit


Porting Option Considerations:

* of the port options, gecko and webkit are the most well-developed,
active, complete candidates.

+ the choice between gecko or webkit might be arguable, but webkit
may be a more desirable choice as it has a more modular design with
better separation of concerns and a cleaner api, thus webkit will be
targeted.


New Goal:  in accordance to the above enumerated considerations,
the goal is to port webkit to plan 9, for the purpose of facilitating a
modern, standards compliant web framework library for Plan 9


WebKit Considerations:

* webkit is built primarily with c++

* webkit has a moderate number of build dependencies and app
dependencies

* plan 9 currently lacks a reliably functional, modern, native c++
compiler, so the goal cannot be accomplished without some means
of c++ support in plan 9


C++ Compiler Options:

* gcc

* llvm/clang


C++ Compiler Considerations:

* somewhat similar to the gecko vs. webkit decision, the choice between
gcc or clang may also be arguable


New Prerequisite Goal:  port a c++ compiler and std libs to plan 9



Ok, so really - in order to have any real chance of seeing a satisfactory,
native/near-native web experience on plan 9, an existing codebase must
be ported - and that codebase is written in c++, so:

For the purpose of satisfying stated goal, a c++ compiler must first be
ported to plan 9.

Regardless, it is predicted that porting a c++ compiler to plan 9, _then_
porting webkit to plan 9, is _still_ less work than writing a brand new,
complete, standards-compliant web browser engine from scratch.

The question then becomes:  which c++ compiler should be targeted,
gcc or llvm/clang?

On an entirely subjective/relative scale of 1 to 5, how difficult is it to port
gcc or clang to plan 9?  Is this effectively impossible without a dedicated
and focused team of developers? Is anyone already doing this?


Due to the requirements, it appears that incorporating the web as a
1st-class-platform in plan 9 is effectively unapproachable:

Porting a c++ toolchain isn't likely going to happen, and the skillsets and
resources necessary to build a solution from scratch presents far too high
a bar too manage.


Anyhow, thanks for letting me walk myself through the scenario. It's hard
to spend any time working with and reading about plan 9 without thinking
in terms of how much better a great many things would be if said things
had a native plan 9 implementation.

The Web on Plan 9 seems like Web++ to me.

But, I'm also coming from the simple-minded perspective of a basic admin
and consumer-grade enduser - someone who likes the idea of setting up a
distributed plan 9 network in my house for guests, friends and family. A plan
9 terminal would be useless to such people at the current time though - which
kinda deflates my balloon a bit, ah well... so it goes.




  reply	other threads:[~2011-04-30  8:16 UTC|newest]

Thread overview: 160+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-26 18:08 [9fans] " smiley
2011-04-26 18:42 ` Rob Pike
2011-04-26 18:44   ` erik quanstrom
2011-04-26 18:52   ` dexen deVries
2011-04-26 19:31     ` Rob Pike
2011-04-26 19:35       ` Paul Lalonde
2011-04-27 13:10       ` Digby Tarvin
2011-04-27 13:16         ` erik quanstrom
2011-04-27 13:21         ` Steve Simon
2011-04-28  9:58           ` Peter A. Cejchan
2011-04-28 12:11             ` [9fans] spaces in filenames (and filesystems...) Digby Tarvin
2011-04-28 12:35               ` [9fans] portable filesystem (was: spaces in filenames (and filesystems...)) dexen deVries
2011-04-28 13:42                 ` [9fans] portable filesystem (was: spaces in filenames (and Richard Miller
2011-04-28 14:00                 ` [9fans] portable filesystem (was: spaces in filenames (and filesystems...)) Digby Tarvin
2011-04-28 14:13                   ` dexen deVries
2011-04-28 15:35                     ` [9fans] portable filesystem smiley
2011-04-28 15:38                     ` [9fans] portable filesystem (was: spaces in filenames (and filesystems...)) Digby Tarvin
2011-04-28 14:18                   ` dexen deVries
2011-04-29 13:30               ` [9fans] spaces in filenames (and filesystems...) Ethan Grammatikidis
2011-04-29 14:00                 ` erik quanstrom
2011-04-29 15:06                   ` Ethan Grammatikidis
2011-04-29 15:17                     ` erik quanstrom
2011-04-29 19:17                       ` Ethan Grammatikidis
2011-04-30  1:09                         ` erik quanstrom
2011-04-30  2:50                           ` smiley
2011-04-30  2:55                             ` andrey mirtchovski
2011-04-26 18:43 ` [9fans] spaces in filenames erik quanstrom
2011-04-27  2:30   ` smiley
2011-04-27  2:39     ` erik quanstrom
2011-04-28 15:10       ` [9fans] Compiling 9atom kernel WAS: " smiley
2011-04-28 15:30         ` erik quanstrom
2011-04-28 16:16           ` smiley
2011-04-28 16:21             ` erik quanstrom
2011-04-28 17:23               ` smiley
2011-04-28 17:35                 ` andrey mirtchovski
2011-04-28 18:20                   ` ron minnich
2011-04-28 18:50                     ` Brian L. Stuart
2011-04-28 19:19                       ` Jeff Sickel
2011-04-28 19:29                       ` dexen deVries
2011-04-28 19:39                         ` erik quanstrom
2011-04-29  2:00                           ` errno
2011-04-29  3:03                             ` erik quanstrom
2011-04-29  6:11                               ` errno
2011-04-29  6:34                                 ` andrey mirtchovski
2011-04-29  9:18                               ` Charles Forsyth
2011-04-29  9:12                                 ` dexen deVries
2011-04-29  9:44                                   ` Charles Forsyth
2011-04-29  9:44                                   ` tlaronde
2011-04-29  9:54                                     ` dexen deVries
2011-04-29 13:56                                       ` Jeff Sickel
2011-05-05  9:54                                         ` Greg Comeau
2011-05-08 18:27                                           ` tlaronde
2011-05-08 20:51                                             ` Mathieu Lonjaret
2011-05-09 16:54                                               ` tlaronde
2011-05-09 17:10                                                 ` Wes Kussmaul
2011-05-10  8:34                                                   ` hiro
2011-05-10 12:27                                                     ` andrey mirtchovski
2011-05-13  8:40                                                       ` Akshat Kumar
2011-05-13 10:14                                                         ` hiro
2011-05-13 13:30                                                         ` Wes Kussmaul
2011-05-10 13:47                                                     ` Daniel Lyons
2011-05-12 18:40                                                       ` Wes Kussmaul
2011-05-10 17:56                                                     ` Wes Kussmaul
2011-05-12 22:22                                                       ` hiro
2011-05-10 21:47                                                     ` John Floren
2011-05-08 21:34                                             ` Comeau At9Fans
2011-05-09  4:53                                             ` Lucio De Re
2011-04-29  3:11                             ` andrey mirtchovski
2011-04-29  5:27                             ` ron minnich
2011-04-29  9:04                               ` Charles Forsyth
2011-04-29 10:19                                 ` errno
2011-04-29 12:21                                   ` Jacob Todd
2011-04-30  4:05                                     ` errno
2011-04-30  4:22                                       ` errno
2011-04-30  6:26                                       ` Anthony Sorace
2011-04-30  8:16                                         ` errno [this message]
2011-04-30  8:25                                           ` Steve Simon
2011-04-30  9:48                                             ` errno
2011-05-05  9:55                                             ` Greg Comeau
2011-04-30 12:18                                           ` Ethan Grammatikidis
2011-04-30 22:21                                           ` smiley
2011-04-30 23:20                                             ` errno
2011-04-30 23:33                                               ` Lyndon Nerenberg
2011-05-01  0:12                                                 ` errno
2011-05-01  0:16                                                   ` Lyndon Nerenberg
2011-05-01 23:56                                           ` blstuart
2011-05-02  0:00                                             ` erik quanstrom
2011-05-02  1:42                                             ` errno
2011-05-02  1:44                                               ` erik quanstrom
2011-05-02  2:29                                                 ` errno
2011-05-02  2:38                                                   ` erik quanstrom
2011-05-02  3:11                                                     ` errno
2011-05-02  3:15                                                       ` erik quanstrom
2011-05-02  4:09                                                         ` errno
2011-05-02  3:39                                                       ` ron minnich
2011-05-02  4:05                                                         ` Steve Simon
2011-05-02 10:38                                                   ` Salman Aljammaz
2011-05-02 11:46                                                     ` errno
2011-05-02 16:29                                                       ` Charles Forsyth
2011-05-02 16:48                                                         ` dexen deVries
2011-05-02 11:51                                                     ` Charles Forsyth
2011-05-02 13:54                                           ` Jack Norton
2011-05-02 14:45                                             ` Anthony Sorace
2011-05-02 16:16                                             ` Charles Forsyth
2011-05-05 12:33                                           ` Greg Comeau
2011-05-05 12:48                                             ` erik quanstrom
2011-05-06  4:23                                             ` Lucio De Re
2011-05-06  4:35                                               ` ron minnich
2011-05-06  6:45                                                 ` errno
2011-05-06  7:08                                                   ` ron minnich
2011-05-06  7:35                                                     ` errno
2011-05-06 15:45                                                     ` Bakul Shah
2011-05-06 15:59                                                       ` John Floren
2011-05-06 16:47                                                         ` Bakul Shah
2011-05-06 16:11                                                       ` tlaronde
2011-05-06 12:07                                                   ` Lucio De Re
2011-05-06 16:07                                                     ` [9fans] freedom (was Re: Compiling 9atom kernel) errno
2011-05-06 16:29                                                       ` Jack Norton
2011-05-06 17:38                                                         ` errno
2011-05-07  0:06                                                       ` errno
2011-05-07  5:01                                                       ` Lucio De Re
2011-05-07  7:36                                                         ` Daniel Lyons
2011-05-16 15:02                                                         ` Steve Simon
2011-05-06  7:08                                                 ` [9fans] Compiling 9atom kernel WAS: Re: spaces in filenames errno
2011-05-06  7:11                                                   ` ron minnich
2011-05-06 12:59                                                   ` erik quanstrom
2011-05-06 16:06                                                     ` errno
2011-05-06 17:30                                                       ` erik quanstrom
2011-05-06 22:32                                                     ` Comeau At9Fans
2011-05-06 22:57                                                       ` andrey mirtchovski
2011-05-06 23:18                                                       ` errno
2011-05-06 23:49                                                         ` Comeau At9Fans
2011-05-06 23:47                                                       ` errno
2011-05-06 23:56                                                         ` Comeau At9Fans
2011-05-07  0:22                                                           ` errno
2011-05-07  0:12                                                         ` Lyndon Nerenberg
2011-05-07  0:43                                                           ` errno
2011-05-06 13:15                                                 ` erik quanstrom
2011-04-30 22:34                                         ` smiley
2011-04-30 22:45                                           ` Lyndon Nerenberg
2011-05-01  6:54                                             ` dexen deVries
2011-05-05 12:33                                           ` Greg Comeau
2011-05-05 12:54                                             ` andrey mirtchovski
2011-05-05 20:30                                               ` Gorka Guardiola
2011-05-05 21:22                                                 ` Iruatã Souza
2011-05-06  5:20                                                   ` Skip Tavakkolian
2011-05-06  7:02                                                     ` Gorka Guardiola
2011-05-06  7:06                                                     ` errno
2011-05-05  9:55                                       ` Greg Comeau
2011-05-04 11:40                                     ` Greg Comeau
2011-04-29 12:32                                   ` erik quanstrom
2011-04-29 18:39                                   ` Iruatã Souza
2011-04-29  6:06                             ` Bakul Shah
2011-04-28 20:50                         ` Anthony Sorace
2011-05-04 11:40                       ` Balwinder S Dheeman
2011-05-04 11:56                         ` erik quanstrom
2011-04-28 18:33                 ` erik quanstrom
2011-04-29  4:31                   ` smiley
2011-04-29  4:35                     ` erik quanstrom
2011-04-28 19:27                 ` Charles Forsyth

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=201104300116.47971.errno@cox.net \
    --to=errno@cox.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).