mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: retu <retu834@yahoo.com>
To: Kenn Humborg <kenn@linux.ie>
Cc: Valdis.Kletnieks@vt.edu, linux-kernel@vger.kernel.org
Subject: Re: 2.7 thoughts: common well-architected object model
Date: Sat, 11 Oct 2003 12:11:37 -0700 (PDT)	[thread overview]
Message-ID: <20031011191137.25190.qmail@web13001.mail.yahoo.com> (raw)
In-Reply-To: <20031011190102.GA18624@excalibur.research.wombat.ie>


you are right on - user-mode wrappers, a consistent
namespace is what's needed. Sun 'forgot' about that
for many many years and is now left with an OS that's
essentially the same as 20 years ago. 

Data access etc. classes could derive from a well
defined model framework. If someone defines a base
framework (not on the trivial side considering
simplicity/elegance, performance, security,
extensibility needs) then this could get going.    

> > System.Object
> >    System.MarshalByRefObject
> >       System.ComponentModel.Component
> >          System.Diagnostics.Process
>
> ... which is a _user-land_ wrapper around 
> CreateProcess.




--- Kenn Humborg <kenn@linux.ie> wrote:
> On Sat, Oct 11, 2003 at 11:34:05AM -0700, asdfd
> esadd wrote:
> > There is a connex, fork() might be a bad example,
> > 
> > it's simple - yes but 20 years have passed as
> Solaris
> > is finding:
> > 
> > pid_t fork(void); vs. 
> > 
> > the next step in the evolution CreateProcess
> 
> CreateProcess() did _not_ evolve from fork().  There
> is no fork() 
> equivalent in the Windows world.  If anything it
> came more from 
> $CREPRC in VMS.
> 
> > BOOL CreateProcess(
> >   LPCTSTR lpApplicationName,
> >   LPTSTR lpCommandLine,
> >   LPSECURITY_ATTRIBUTES lpProcessAttributes,
> >   LPSECURITY_ATTRIBUTES lpThreadAttributes,
> >   BOOL bInheritHandles,
> >   DWORD dwCreationFlags,
> >   LPVOID lpEnvironment,
> >   LPCTSTR lpCurrentDirectory,
> >   LPSTARTUPINFO lpStartupInfo,
> >   LPPROCESS_INFORMATION lpProcessInformation
> > 
> > evolved to .Net Process Class
> 
> "evolved to" is the wrong term - "wrapped by" is
> more accurate
> 
> > System.Object
> >    System.MarshalByRefObject
> >       System.ComponentModel.Component
> >          System.Diagnostics.Process
> 
> ... which is a _user-land_ wrapper around
> CreateProcess.
> 
> > So let me restate the need again for a:
> > 
> > * unified well architected core component model
> > which is extensible from OS services to
> application
> > objects
> 
> Which is a job for userland, in my opinion.
> 
> > * the object model should be defined from the
> kernel
> > layer for process/events/devices etc. up and not
> > started at the application layer
> 
> I still don't see why this needs to be in the
> kernel.
> Give a concrete example of something that cannot be
> done
> with the existing syscall interface and user-mode
> wrappers.
> Or something significant that can be done easier
> with what
> you are asking for.
> 
> Of course, your name "asdfd esadd" does look a bit
> troll-like...
> 
> Later,
> Kenn
> 
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at 
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

  reply	other threads:[~2003-10-11 19:11 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-11  4:45 asdfd esadd
2003-10-11 14:30 ` Valdis.Kletnieks
2003-10-11 16:06   ` asdfd esadd
2003-10-11 16:48     ` Valdis.Kletnieks
2003-10-11 17:13       ` asdfd esadd
2003-10-11 17:38         ` Valdis.Kletnieks
2003-10-11 17:56           ` asdfd esadd
2003-10-11 18:20             ` Mark Hahn
2003-10-11 18:13       ` Zwane Mwaikambo
2003-10-11 23:33         ` J.A. Magallon
2003-10-11 17:00     ` Scott Robert Ladd
2003-10-11 17:57     ` Kenn Humborg
2003-10-11 18:34       ` asdfd esadd
2003-10-11 18:46         ` Valdis.Kletnieks
2003-10-11 19:01         ` Kenn Humborg
2003-10-11 19:11           ` retu [this message]
2003-10-11 19:25           ` viro
2003-10-12 11:59         ` Jamie Lokier
2003-10-12 16:04           ` retu
2003-10-12 16:44             ` Valdis.Kletnieks
2003-10-12 16:51               ` retu
2003-10-12 17:50                 ` viro
2003-10-12 21:52             ` Jamie Lokier
2003-10-12 20:21         ` Rik van Riel
2003-10-13 20:21         ` James Antill
2003-10-14  5:01           ` retu
2003-10-14  6:00             ` Nick Piggin
2003-10-14  5:31           ` retu
2003-10-14  6:05             ` Tim Hockin
2003-10-14  6:46             ` viro
     [not found] <Ft4B.3ML.3@gated-at.bofh.it>
     [not found] ` <FutO.5TB.29@gated-at.bofh.it>
2003-10-11 17:03   ` Ihar 'Philips' Filipau

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=20031011191137.25190.qmail@web13001.mail.yahoo.com \
    --to=retu834@yahoo.com \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=kenn@linux.ie \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®