Deutsch English Français Italiano |
<vfbt4v$34gn6$1@paganini.bofh.team> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.nobody.at!2.eu.feeder.erje.net!feeder.erje.net!newsfeed.bofh.team!paganini.bofh.team!not-for-mail From: antispam@fricas.org (Waldek Hebisch) Newsgroups: comp.os.linux.misc,alt.folklore.computers Subject: Re: The joy of FORTH (not) Date: Wed, 23 Oct 2024 22:25:37 -0000 (UTC) Organization: To protect and to server Message-ID: <vfbt4v$34gn6$1@paganini.bofh.team> References: <pan$96411$d204da43$cc34bb91$1fe98651@linux.rocks> <pRDMO.80813$7OO5.26774@fx43.iad> <lmh1avF2k8fU1@mid.individual.net> <MZScnWkZT7T_Hon6nZ2dnZfqnPWdnZ2d@earthlink.com> <vf27ib$9pgg$1@dont-email.me> <ErcRO.309187$v8v2.137739@fx18.iad> <vf3t70$itru$9@dont-email.me> <lnlparFlf82U5@mid.individual.net> <vf4hrt$pqrl$3@dont-email.me> <lnmbutFodq5U1@mid.individual.net> <vf5442$sjo3$1@dont-email.me> <20241021075543.00000494@gmail.com> <vf6f0q$13ctc$2@dont-email.me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 23 Oct 2024 22:25:37 -0000 (UTC) Injection-Info: paganini.bofh.team; logging-data="3293926"; posting-host="WwiNTD3IIceGeoS5hCc4+A.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A"; User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-9-amd64 (x86_64)) X-Notice: Filtered by postfilter v. 0.9.3 Bytes: 2820 Lines: 33 In alt.folklore.computers Lawrence D'Oliveiro <ldo@nz.invalid> wrote: > On Mon, 21 Oct 2024 07:55:43 -0700, John Ames wrote: > >> On Mon, 21 Oct 2024 08:41:38 -0000 (UTC) >> Lawrence D'Oliveiro <ldo@nz.invalid> wrote: >> >>> Why would anyone want to use it, though? >> >> For starters, it's about the simplest way to get a minimal interactive >> system going on a homebrew/hobbyist computer project which still offers >> full access to the bare metal ... > > But for an RP2040, you can already cross-compile C code from a Linux-based > host, like a Raspberry Pi. That will give you “full access to the bare > metal”, without the overheads of threaded code. You missed 2 points: 1) Mecrisp is a native compiler. I do not think it optimizes as well as gcc, but slowdown is smaller than threaded code and size is comparable. 2) Key words above were "interactive system" and in particular interactive debugging. Unfortunately some embedded systems have only expensive closed source debuggers. For RP2040 in principle one should be able to get open source debugger, but RP2040 have/had trouble with compatibilty: you needed matched patched versions of tools and a second RP2040 to work as debugging interface. Makers of RP2040 intend it as Micro-Python board, but AFAIK Micro-Python is much slower and larger than Forth. -- Waldek Hebisch