Path: csiph.com!1.us.feeder.erje.net!3.us.feeder.erje.net!feeder.erje.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Hans-Peter Diettrich Newsgroups: comp.compilers Subject: Re: Portable Software Date: Fri, 7 Apr 2023 15:35:32 +0200 Organization: Compilers Central Sender: johnl@iecc.com Approved: comp.compilers@iecc.com Message-ID: <23-04-009@comp.compilers> References: <23-03-001@comp.compilers> <23-03-017@comp.compilers> <23-03-022@comp.compilers> <23-03-029@comp.compilers> <23-03-032@comp.compilers> <23-03-042@comp.compilers> <23-04-005@comp.compilers> <23-04-006@comp.compilers> <23-04-007@comp.compilers> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="88519"; mail-complaints-to="abuse@iecc.com" Keywords: design Posted-Date: 07 Apr 2023 10:51:46 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com In-Reply-To: <23-04-007@comp.compilers> Xref: csiph.com comp.compilers:3451 On 4/5/23 6:30 PM, Anton Ertl wrote: > Hans-Peter Diettrich writes: > You mean: Write your program in Java, Python, Gforth, or the like? > Sure, they deal with compatibility problems for you, but you may want > to do things (or have performance) that they do not offer, or only > offer through a C interface (and in the latter case you run into the > C-level compatibility again). Except the library also is portable ;-) Else you end up with: Program runs only on systems with libraries X, Y, Z installed. >> (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. > > Not really. Most self-respecting languages have their compiler(s) > implemented in the language itself, resulting in having to bootstrap. The FORTH compiler also is part of the current monolithic framework. Replacing a WORD has immediate impact on the just running compiler and everything else. A bug can make the current system crash immediately, without diagnostics. Else the current WORDs can not be replaced immediately, only after a full compilation and only by code that depends on neither the old nor the new framrwork. > AFAIK the problem Gforth has with Windows is not the bootstrapping; > packaging and installation are different than for Unix. Isn't that the same problem with every language? DoDi