Related articles |
---|
fledgling assembler programmer Alan.Beck@darkrealms.ca (2023-03-21) |
Re: fledgling assembler programmer DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2023-03-25) |
Re: fledgling assembler programmer gneuner2@comcast.net (George Neuner) (2023-03-25) |
Portable Software (was: fledgling assembler programmer) DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2023-03-28) |
Re: Portable Software (was: fledgling assembler programmer) arnold@freefriends.org (2023-03-28) |
Re: Portable Software DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2023-03-31) |
Re: Portable Software anton@mips.complang.tuwien.ac.at (2023-04-02) |
Re: Portable Software DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2023-04-05) |
Re: Portable Software anton@mips.complang.tuwien.ac.at (2023-04-05) |
Re: Portable Software 864-117-4973@kylheku.com (Kaz Kylheku) (2023-04-06) |
Re: Portable Software DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2023-04-07) |
Re: Portable Software tkoenig@netcologne.de (Thomas Koenig) (2023-04-08) |
From: | Hans-Peter Diettrich <DrDiettrich1@netscape.net> |
Newsgroups: | comp.compilers |
Date: | Wed, 5 Apr 2023 11:23:39 +0200 |
Organization: | Compilers Central |
References: | 23-03-001 23-03-017 23-03-022 23-03-029 23-03-032 23-03-042 23-04-005 |
Injection-Info: | gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="75751"; mail-complaints-to="abuse@iecc.com" |
Keywords: | design |
Posted-Date: | 05 Apr 2023 05:39:14 EDT |
In-Reply-To: | 23-04-005 |
Content-Language: | en-US |
On 4/2/23 12:04 PM, Anton Ertl wrote:
> For a Unix, there were a few hoops we had to jump through to make
> Gforth work: e.g., IRIX 6.5 had a bug in sigaltstack, so we put in a
> workaround for that; HP/UX's make dealt with files with the same mtime
> differently from other makes, so we put in a workaround for that.
> Windows, even with Cygwin, puts up many more hoops to jump through;
> Bernd Paysan actually jumped through them for Gforth, but a Windows
> build is still quite a bit of work, so he does that only occasionally.
Too bad that not all existing OS are POSIX compatible? ;-)
So my impression still is: have a language (plus library) and an
interpreter (VM, browser, compiler...) on each target system. Then
adaptations to a target system have to be made only once, for each
target, not for every single program.
Even for programs with extreme speed requirements the development can be
done from the general implementation, for tests etc., and a version
tweaked for a very specific target system, instead of the single target
version in the first place and problematic ports to many other platforms.
Of course it's up to the software developer or principal to order or
build a software for a (more or less) specific target system only, or a
primarily unbound software.
(G)FORTH IMO is a special case because it's (also) a development system.
Building (bootstrapping) a new FORTH system written in FORTH is quite
complicated, in contrast to languages with stand alone tools like
compiler, linker etc. Some newer (umbilical?) FORTH versions also
compile to native code.
DoDi
Return to the
comp.compilers page.
Search the
comp.compilers archives again.