Re: Tcl 8.4.6 Source - Compiling under Windows Services for Unix.

From: Adrian Bowen (raptor_at_cix.co.uk)
Date: 03/06/04


Date: Sat, 6 Mar 2004 05:30:14 -0000

Hi,

I guess I would argue that since apps running in the SFU environment (or
more precisely the Interix subsystem component of it) use the POSIX system
API directly, they are as 'native' as anything else running under Windows.
The WIN32 and POSIX system interfaces built in to NT operate at the same
level, so there is no emulation involved. In fact, you can't mix WIN32 and
POSIX calls in the same process - you really are operating completely
independently of what we normally think of as being 'Windows'.

I think in terms of application interoperability within the Windows
environment, you are probably better off using an 'emulation' layer on top
of the WIN32 API such as Cygwin provides, however I suspect there is a
slight performance penalty here. If you're looking for a 'pure' UNIX-like
environment, then SFU is a viable alternative, particularly (as was pointed
out) because its officially supported by MS. It is surprisingly
fully-featured, too - threads, dynamic linking/loading etc.

Adrian Bowen

"David Gravereaux" <davygrvy@pobox.com> wrote in message
news:cd08032d.0403051429.39bdcd72@posting.google.com...
> "Adrian Bowen" <raptor@cix.co.uk> wrote in message
news:<c29vgb$1kup$1@news.f.de.plusline.net>...
> > Hi,
> >
> > LOL, don't delete the unix directory!!!
> >
> > SFU is 'UNIX', to all intents and purposes. I am sure there are all
sorts of
> > legal and copyright quibbles arising from that statement, but to be
honest,
> > as someone who just wants to gets the job done by the most convenient
means
> > possible, that is the way I treat it.
>
> But when there is perfectly good NATIVE source code, why on earth
> would someone rather build from the unix source for running in an
> emulated environment?
>
> What's keeping the OP in an emulated layer when Tcl builds just fine
> to native?



Relevant Pages

  • Re: Emulation
    ... still have a cluster with a pair of 6100 for legacy data and about 4 ... who have replaced VAX hardware with emulation learn? ... An emulated environment can deal quite well with preserving access to ...
    (comp.os.vms)
  • Re: Add item to Combo Box?
    ... >have to learn the ways of the API. ... You must remember that these posts will be around ... This *is* a friendly environment and don't let my comments ... because it is a learning experience for all. ...
    (microsoft.public.vb.general.discussion)
  • Calculator defined
    ... -Python environment (for power users i'm sure there are people among you ... -LOGO for beginners (computer beginners and quick'n dirty routines :-) ... -Saturn emulator (with a bit better emulation, more accurate graphics, ... Such a device, i think, would be worth twice it's current price, with no ...
    (comp.sys.hp48)
  • Re: Sudo: local root compromise with krb5 enabled
    ... My program respects the $ALLOW_ROOT_COMPROMISE environment ... You may think root compromises are bad, ... when one's security software has an "API" consisting of hundreds ... but not documented in the API documentation! ...
    (Bugtraq)
  • Re: recursive folders?
    ... My own library functions use both FSO and the ... >API, depending on how important the speed of the function is. ... >work in a controlled environment where I can quickly restore WSR. ...
    (microsoft.public.vb.general.discussion)