9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] new compilers
@ 2006-04-03 22:54 erik quanstrom
  0 siblings, 0 replies; 125+ messages in thread
From: erik quanstrom @ 2006-04-03 22:54 UTC (permalink / raw)
  To: 9fans

uh, linux had a tcp/ip stack long, long before windows 95.

i think people forget that one of the reasons that tcp/ip came a bit later
to linux was the fact that the folks working with linux at home
had no real home network.  28.8k dialup, baby!

- erik

On Mon Apr  3 12:30:30 CDT 2006, lucio@proxima.alt.za wrote:
> Funny, you could download Linux over the 'Net, but you could not
> connect with it.  It took Win'95, in my environment, to popularise the
> 'Net.


^ permalink raw reply	[flat|nested] 125+ messages in thread
* Re: [9fans] new compilers
@ 2006-03-31 14:42 erik quanstrom
  0 siblings, 0 replies; 125+ messages in thread
From: erik quanstrom @ 2006-03-31 14:42 UTC (permalink / raw)
  To: 9fans

well, ya, simplicity in this sense is hard to grasp.

"complex" here seems to mean a long enumeration of
possiblities. "simple" seems to mean a small set of operations
that can be composed.  like 9p+mount/bind.  or more
ubiquitously regular expressions.

if you've ever tried to explain regular expressions to
someone, perhaps you know what i mean.

- erik

On Fri Mar 31 03:17:48 CST 2006, nemo@lsub.org wrote:
> We just came back from percom, where we
> gave a couple of talks about Plan B and Omero.
> Perhaps surprisingly, the main problem for
> people to understand what we did was not a
> particular point in Plan B, but the main Plan 9 idea.
>
> When you say "everything is a file", they get scared.
> When you convince them that those "files" are not
> files on disk, and that you exchange data using the fs
> interface, then their main argument is:
>
> 	It's so simple that this probably does not work.
>
> Simplicity seems to be hard to grasp. And also, most
> people IMHO really forgot unix and what interfaces are
> about.
>
> Type checking was also a concern. I think they did not
> understand that a data type (or xml tree) is not a guarantee
> to have the system know about "semantics". They got
> even more scared when I replied that the system should
> best not be involved in semantics (which is up to the user).
>
> So, sic.
>


^ permalink raw reply	[flat|nested] 125+ messages in thread
* Re: [9fans] new compilers
@ 2006-03-31 13:27 erik quanstrom
  2006-03-31 14:47 ` Bruce Ellis
  0 siblings, 1 reply; 125+ messages in thread
From: erik quanstrom @ 2006-03-31 13:27 UTC (permalink / raw)
  To: 9fans

ioctl is so 2002.  netlink sockets are all the rage now.

- erik

On Thu Mar 30 13:59:35 CST 2006, leimy2k@gmail.com wrote:
> On 3/30/06, Rob Pike <robpike@gmail.com> wrote:
> > Also, ioctl masks the direction of data motion, while read and
> > write make it was explicit as can be.
> >
> > -rob
> >
>
> It really does seem that ioctl is just a "kitchen sink" for operations
> on resources in a filesystem that people didn't think could be
> addressed as files at the time.
>
> The xattr stuff seems neat on the surface because you effectively get
> a hierarchical namespace directly attached to your device file.  Of
> course, there's really nothing stopping us from doing that with
> directories the Plan 9 way I suppose.
>
> In fact, I often wondered why the eia* stuff kind of differed in
> structure from the sd* stuff.
>
> Any good reason not to do
> eia0/ctl
> eia0/data
> eia0/status
>
> Dave


^ permalink raw reply	[flat|nested] 125+ messages in thread
* Re: [9fans] new compilers
@ 2006-03-31 12:31 Fco. J. Ballesteros
  2006-03-31 12:53 ` Charles Forsyth
  2006-03-31 13:23 ` Charles Forsyth
  0 siblings, 2 replies; 125+ messages in thread
From: Fco. J. Ballesteros @ 2006-03-31 12:31 UTC (permalink / raw)
  To: 9fans

:  >> When you say "everything is a file", they get scared.
:  >
:  > why is that?  were they bitten by one as a child?

I think it's because suddenly they see "no xml, no java, no arpcs, no ...
but still, it works". That hurts when you are working on "xml, java, arpcs, ...".



^ permalink raw reply	[flat|nested] 125+ messages in thread
* Re: [9fans] new compilers
@ 2006-03-31  9:17 Fco. J. Ballesteros
  2006-03-31  9:40 ` Skip Tavakkolian
                   ` (5 more replies)
  0 siblings, 6 replies; 125+ messages in thread
From: Fco. J. Ballesteros @ 2006-03-31  9:17 UTC (permalink / raw)
  To: 9fans

We just came back from percom, where we
gave a couple of talks about Plan B and Omero.
Perhaps surprisingly, the main problem for
people to understand what we did was not a
particular point in Plan B, but the main Plan 9 idea.

When you say "everything is a file", they get scared.
When you convince them that those "files" are not
files on disk, and that you exchange data using the fs
interface, then their main argument is:

	It's so simple that this probably does not work.

Simplicity seems to be hard to grasp. And also, most
people IMHO really forgot unix and what interfaces are
about.

Type checking was also a concern. I think they did not
understand that a data type (or xml tree) is not a guarantee
to have the system know about "semantics". They got
even more scared when I replied that the system should
best not be involved in semantics (which is up to the user).

So, sic.



^ permalink raw reply	[flat|nested] 125+ messages in thread
* Re: [9fans] new compilers
@ 2006-03-30 20:14 Steve Simon
  0 siblings, 0 replies; 125+ messages in thread
From: Steve Simon @ 2006-03-30 20:14 UTC (permalink / raw)
  To: 9fans

> ioctl(fd, SETVOLUME, &vol); is more comfortable.

I may be wrong, but I think
some sarscasm was indented.

-Steve


^ permalink raw reply	[flat|nested] 125+ messages in thread
* Re: [9fans] new compilers
@ 2006-03-29  1:18 erik quanstrom
  0 siblings, 0 replies; 125+ messages in thread
From: erik quanstrom @ 2006-03-29  1:18 UTC (permalink / raw)
  To: 9fans

i believe this is a religous question.  it depends on one's belief in the
inate sensibility of programmers.

that is to say, it depends on how many large projects (double credit
for commercial) one's worked on.

;-) erik

On Tue Mar 28 12:17:31 CST 2006, bakul+plan9@bitblocks.com wrote:
> > P.S.  This doesn't mean I'll ever *forgive* Andy Tannenbaum for spurring
> > the creation of Linux.
>
> Hmm... and all this time I thought Linux wouldn't have
> succeeded if Plan 9 had preceded it out in the open software
> world.
>
> May be it is wishful thinking but I suspect even now a Plan 9
> based book along the lines of "the Unix Programming
> Environment" will find a receptive audience.



^ permalink raw reply	[flat|nested] 125+ messages in thread
* Re: [9fans] new compilers
@ 2006-03-28  0:40 erik quanstrom
  2006-03-28 17:52 ` Lyndon Nerenberg
  0 siblings, 1 reply; 125+ messages in thread
From: erik quanstrom @ 2006-03-28  0:40 UTC (permalink / raw)
  To: 9fans

we should not deprive andy tannenbaum of one iota of the credit he
so richly deserves for spurring the creation of linux.

all linus wanted was the ability to distribute a pre-patched version of minix
which supported a few non-80286-compatable convienences like protected
memory.

- erik

On Sun Mar 26 02:15:00 CST 2006, lyndon@orthanc.ca wrote:
>
> On Mar 25, 2006, at 6:52 PM, quanstro@quanstro.net wrote:
>
> > i've got to say one thing in gcc's favor. it was way the heck
> > better than
> > any other compiler i had available when it was first written.
>
> I have fond memories of threatining the Sun sales sloths with death
> and worse if they didn't at least ship .h files after they unbundled
> the C compiler.  Sun is as responsible for GCC as the AT&T lawyers
> are responsible for Linux.
>
> --lyndon


^ permalink raw reply	[flat|nested] 125+ messages in thread
* Re: [9fans] new compilers
@ 2006-03-28  0:30 erik quanstrom
  0 siblings, 0 replies; 125+ messages in thread
From: erik quanstrom @ 2006-03-28  0:30 UTC (permalink / raw)
  To: 9fans

this sort of programming has a lot in common with the stage of learning
a language where you understand the grammar but don't know the vocabulary.
read two lines. lookup unknown words. lather. rince. repeat.

- erik

On Mon Mar 27 11:30:49 CST 2006, rog@vitanuova.com wrote:
> > I find the notion of pre-compiled headers for anything other than
> > a very special situation rather odd.
>
> it is odd.  i've just been playing with trying to get some stuff
> working under macos x, and the interfaces are just amazing.  the
> standard approach seems to be to enumerate every possible situation
> (often literally, with enums) in the interface.  a few days ago i did
> a little test, just to appreciate the full extent of things.  cpp of a
> null source file (with only the #includes i needed) gave over 100,000
> lines of code.  there were at least 20,000 enum constants defined,
> with names such as kAudioHardwarePropertyBootChimeVolumeRangeDecibels,
> and kAudioFormatProperty_AvailableEncodeChannelLayoutTags.
>
> and the interfaces that are presented are almost unusable even if you
> take that on board.  i've been looking at the audio interfaces;
> functionality provided by the system includes facilities to read mp3
> files, do sample-rate conversion, and produce sound output, so i
> thought, as a first test, i'd try to play an mp3 file.  i haven't
> succeeded yet.
>
> after struggling for a good while, i found some example code that does
> this.  it's over 1000 lines of code.  when it should be about 10.  i'd
> think perhaps it was deliberate, if it didn't all seem so carefully
> done, with loving attention given to every misbegotten line of header
> file.
>
> as charles put it recently, with relation to usb: ``enough is
> specified to make it complicated, but not enough to be complete, once
> for all.'' so true.
>
> given that kind of programming environment, the decision to use
> precompiled headers becomes slightly more understandable, i suppose.
>
> i guess the only good thing is that by using interfaces like that, they'll
> be wasting countless man-hours of programmer time, potentially
> allowing those using smaller, smarter interfaces a competitive advantage.
> yeah right.
>


^ permalink raw reply	[flat|nested] 125+ messages in thread
* [9fans] new compilers
@ 2006-03-25 13:56 Russ Cox
  2006-03-25 19:48 ` David Leimbach
  0 siblings, 1 reply; 125+ messages in thread
From: Russ Cox @ 2006-03-25 13:56 UTC (permalink / raw)
  To: 9fans

Compiler changes yesterday:

  - compiler suite is 3,000 lines smaller
  - incorrect "set and not used" warnings gone
  - incorrect "no return at end of function" warnings gone
  - missing "no return at end of function" warnings added
  - eliminate more dead code in object files,
     especially in 7c kc qc vc.

I did a lot of regression testing, so I'm fairly confident
in the new code.  If you do see new odd behavior
from your programs, try compiling with
/n/sourcesdump/2006/0325/plan9/386/bin/8c.
If that makes a difference, please let me know.

Also, if you get an incorrect warning from the compiler,
or you don't get a warning that you should (like not being
warned about a non-void function missing a return statement),
please mail me a test program and I will fix the compiler.

Thanks.
Russ



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

end of thread, other threads:[~2006-04-05  4:35 UTC | newest]

Thread overview: 125+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-03 22:54 [9fans] new compilers erik quanstrom
  -- strict thread matches above, loose matches on Subject: below --
2006-03-31 14:42 erik quanstrom
2006-03-31 13:27 erik quanstrom
2006-03-31 14:47 ` Bruce Ellis
2006-03-31 12:31 Fco. J. Ballesteros
2006-03-31 12:53 ` Charles Forsyth
2006-03-31 13:23 ` Charles Forsyth
2006-03-31 14:42   ` Bruce Ellis
2006-03-31  9:17 Fco. J. Ballesteros
2006-03-31  9:40 ` Skip Tavakkolian
2006-03-31  9:42 ` Skip Tavakkolian
2006-03-31  9:43 ` Charles Forsyth
2006-03-31  9:46 ` Charles Forsyth
2006-03-31  9:48   ` Skip Tavakkolian
2006-03-31  9:56     ` Skip Tavakkolian
2006-03-31 10:01       ` Bruce Ellis
2006-03-31 10:03       ` Charles Forsyth
2006-03-31 10:08         ` Skip Tavakkolian
2006-03-31 14:58       ` David Leimbach
2006-03-31 15:01         ` Bruce Ellis
2006-03-31 22:02 ` Taj Khattra
2006-04-03 16:21 ` Ronald G Minnich
2006-04-03 17:17   ` Paul Lalonde
2006-04-03 19:01     ` Artem Letko
2006-04-03 19:22       ` Paul Lalonde
2006-03-30 20:14 Steve Simon
2006-03-29  1:18 erik quanstrom
2006-03-28  0:40 erik quanstrom
2006-03-28 17:52 ` Lyndon Nerenberg
2006-03-28 18:15   ` Bakul Shah
2006-03-28 18:29     ` Sape Mullender
2006-03-28 18:52       ` LiteStar numnums
2006-03-28 19:15         ` Victor Nazarov
2006-03-29 16:33           ` Burton Samograd
2006-03-29 21:17             ` Francisco J Ballesteros
2006-03-29 21:44               ` Wes Kussmaul
2006-04-02 18:17       ` Aharon Robbins
2006-04-02 18:33         ` Bruce Ellis
2006-04-02 19:47         ` lucio
2006-04-02 20:12           ` Skip Tavakkolian
2006-04-02 20:16             ` LiteStar numnums
2006-04-03  4:35               ` lucio
2006-04-03  5:38                 ` George Michaelson
2006-04-03  6:45                   ` Lyndon Nerenberg
2006-04-03  5:38                 ` LiteStar numnums
2006-04-03  8:31                 ` Lyndon Nerenberg
2006-04-03  9:36                   ` uriel
2006-04-03 12:50                     ` Martin C. Atkins
2006-04-03  9:39                   ` lucio
2006-04-03 13:46                 ` Brantley Coile
2006-04-03 14:30                 ` David Leimbach
2006-04-03 16:02                   ` Bruce Ellis
2006-04-03 20:41                     ` Jack Johnson
2006-04-03 21:02                       ` uriel
2006-04-03 21:32                         ` Ronald G Minnich
2006-04-03 23:42                           ` Bruce Ellis
2006-04-04  0:29                           ` Anthony Sorace
2006-04-04  5:02                             ` Bruce Ellis
2006-04-04  3:15                         ` Jack Johnson
2006-04-04  3:28                         ` Jack Johnson
2006-04-04  6:31                           ` David Leimbach
2006-04-04  4:21                         ` lucio
2006-04-05  1:00                         ` Brantley Coile
2006-04-05  4:35                           ` Bruce Ellis
2006-04-04 12:31                       ` rog
2006-04-03  3:17           ` plan9
2006-04-03  4:17             ` lucio
2006-03-28  0:30 erik quanstrom
2006-03-25 13:56 Russ Cox
2006-03-25 19:48 ` David Leimbach
2006-03-25 19:53   ` Burton Samograd
2006-03-25 19:59     ` David Leimbach
2006-03-25 20:02   ` Charles Forsyth
2006-03-25 21:25     ` Brantley Coile
2006-03-25 21:28     ` quanstro
2006-03-25 21:33       ` Brantley Coile
2006-03-25 22:42         ` quanstro
2006-03-25 22:46         ` quanstro
2006-03-26  1:46           ` jmk
2006-03-26  2:52             ` quanstro
2006-03-26  8:14               ` Lyndon Nerenberg
2006-03-26  8:41                 ` Lyndon Nerenberg
2006-03-26 17:06                   ` Bruce Ellis
2006-03-26 17:00             ` David Leimbach
2006-03-27 17:31             ` rog
2006-03-27 19:01               ` Charles Forsyth
2006-03-27 19:15                 ` Paul Lalonde
2006-03-27 19:21                   ` Bruce Ellis
2006-03-30 17:41                   ` rog
2006-03-30 17:44                     ` Charles Forsyth
2006-03-30 18:24                       ` Skip Tavakkolian
2006-03-30 17:51                     ` Christoph Lohmann
2006-03-30 17:54                       ` Sape Mullender
2006-03-30 18:30                         ` Skip Tavakkolian
2006-03-30 18:43                           ` Gabriel Diaz
2006-03-30 18:48                             ` Skip Tavakkolian
2006-03-30 18:51                               ` Gabriel Diaz
2006-03-30 18:51                             ` Charles Forsyth
2006-03-30 21:00                           ` Bakul Shah
2006-03-30 23:16                             ` Skip Tavakkolian
2006-03-30 23:23                             ` Skip Tavakkolian
2006-03-31  6:16                               ` uriel
2006-03-31  7:56                           ` Bruce Ellis
2006-03-31  9:04                             ` Skip Tavakkolian
2006-03-30 23:32                         ` Adrian Tritschler
2006-03-30 17:57                       ` rog
2006-03-30 18:27                         ` rog
2006-03-30 20:46                           ` Roman Shaposhnick
2006-03-31  1:15                             ` Steve Simon
2006-03-31  1:24                               ` Russ Cox
2006-03-31  2:00                               ` Joel Salomon
2006-03-31  2:26                               ` Martin C. Atkins
2006-03-31  8:46                                 ` Charles Forsyth
2006-03-31  8:49                                   ` Bruce Ellis
2006-03-31 21:40                                 ` Taj Khattra
2006-03-31  4:24                             ` Jack Johnson
2006-03-31  4:33                               ` veritosproject
2006-03-30 17:58                       ` Charles Forsyth
2006-03-30 18:03                       ` jmk
2006-03-30 18:13                         ` Brantley Coile
2006-03-30 18:57                       ` Burton Samograd
2006-03-30 19:15                         ` David Leimbach
2006-03-30 19:22                           ` Charles Forsyth
2006-03-30 19:29                             ` Rob Pike
2006-03-30 19:58                               ` David Leimbach

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