Re: The joy of FORTH (not)

Liste des GroupesRevenir à col misc 
Sujet : Re: The joy of FORTH (not)
De : antispam (at) *nospam* fricas.org (Waldek Hebisch)
Groupes : alt.folklore.computers comp.os.linux.misc
Date : 25. Oct 2024, 12:01:32
Autres entêtes
Organisation : To protect and to server
Message-ID : <vfftqa$3kr3l$1@paganini.bofh.team>
References : 1 2 3 4 5 6 7 8 9 10 11 12
User-Agent : tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-9-amd64 (x86_64))
In alt.folklore.computers Peter Flass <peter_flass@yahoo.com> wrote:
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
On Wed, 23 Oct 2024 08:04:37 -0700, John Ames wrote:
 
... but the one has 512 KB Flash/144 KB RAM, and the other
only 32 KB/16 KB.
 
512kiB seems to be the recommendation for MicroPython. For the 32kiB one,
I would want to use a cross-compiler for some more resource-efficient
language, like C.
 
 
Ridiculous! 32K should be more than enough to run a decent compiler
natively.

Hisoft Pascal for ZX Spectrum had about 25 kB of code.  ARM code
tends to be more compact than Z80 code so something of similar
complexity should fit.  However this was really Pascal subset
and compiler generated code was not very good.  There is also
question of RAM use, with 16kB of RAM there should be enough
space, but MCU-s with 32 kB flash may have only 2KB RAM which
is quite thight for a compiler.  Note that with normal compiled
languages you need space for source code and compiler symbol
table.  And space for object code (object code may go to flash,
but compiler must leave enough free flash for this).  It is
preferable to have incremental compiler.  But then symbol
table must be part of running program.  In effect you end up
with something that on the surface may be quite different
but internally is like Forth compiler.  Also, besides compiler
you need a some support library.  Forth was organised in
a way that compiler/interpreter routines simultanously served
as a library for the user.

In a different spirit, modern MCU-s contain inside a lot of
devices.  If you want nice symbolic constants helping with
use of devices you need extra space (kilobytes or tens of
kilobytes for all devices).  And one wants library of
routines handling devices.  So really a lot of things
competing for use of those 32 kB of flash.

--
                              Waldek Hebisch

Date Sujet#  Auteur
21 Sep 24 * Can't Avoid That Shit Rust - Even On Gentoo1621Farley Flud
21 Sep 24 +- Re: Can't Avoid That Shit Rust - Even On Gentoo1Farley Flud
24 Sep 24 `* Re: Can't Avoid That Shit Rust - Even On Gentoo1619186282@ud0s4.net
24 Sep 24  +* Re: Can't Avoid That Shit Rust - Even On Gentoo6Lawrence D'Oliveiro
24 Sep 24  i+* Re: Can't Avoid That Shit Rust - Even On Gentoo2Pancho
25 Sep 24  ii`- Re: Can't Avoid That Shit Rust - Even On Gentoo1186282@ud0s4.net
25 Sep 24  i`* Re: Can't Avoid That Shit Rust - Even On Gentoo3186282@ud0s4.net
25 Sep 24  i +- Re: Can't Avoid That Shit Rust - Even On Gentoo1Lawrence D'Oliveiro
25 Sep 24  i `- Re: Can't Avoid That Shit Rust - Even On Gentoo1rbowman
24 Sep 24  +* Re: Can't Avoid That Shit Rust - Even On Gentoo4D
25 Sep 24  i`* Re: Can't Avoid That Shit Rust - Even On Gentoo3186282@ud0s4.net
25 Sep 24  i `* Re: Can't Avoid That Shit Rust - Even On Gentoo2Lawrence D'Oliveiro
28 Sep 24  i  `- Re: Can't Avoid That Shit Rust - Even On Gentoo1186282@ud0s4.net
24 Sep 24  +* The joy of FORTRAN1560Lars Poulsen
24 Sep 24  i+* Re: The joy of FORTRAN265Sn!pe
24 Sep 24  ii+* Re: The joy of FORTRAN169The Natural Philosopher
24 Sep 24  iii+* Re: The joy of FORTRAN35Lawrence D'Oliveiro
25 Sep 24  iiii+* Re: The joy of FORTRAN22rbowman
25 Sep 24  iiiii+* Re: The joy of FORTRAN19Bob Eager
25 Sep 24  iiiiii+* Re: The joy of FORTRAN16rbowman
25 Sep 24  iiiiiii+* Re: The joy of FORTRAN13Bob Eager
27 Sep 24  iiiiiiii`* Re: The joy of FORTRAN12Peter Flass
27 Sep 24  iiiiiiii +- Re: The joy of FORTRAN1Niklas Karlsson
27 Sep 24  iiiiiiii +* Re: The joy of FORTRAN6R Daneel Olivaw
28 Sep 24  iiiiiiii i+* Re: The joy of FORTRAN3Gordon Henderson
28 Sep 24  iiiiiiii ii+- Re: The joy of FORTRAN1Peter Flass
28 Sep 24  iiiiiiii ii`- Re: The joy of FORTRAN1Bob Eager
28 Sep 24  iiiiiiii i+- Re: The joy of FORTRAN1Peter Flass
28 Sep 24  iiiiiiii i`- Re: The joy of FORTRAN1Lars Poulsen
27 Sep 24  iiiiiiii +- Re: The joy of FORTRAN1Bob Eager
28 Sep 24  iiiiiiii `* Re: The joy of FORTRAN3Lawrence D'Oliveiro
28 Sep 24  iiiiiiii  +- Re: The joy of FORTRAN1Peter Flass
30 Sep 24  iiiiiiii  `- Re: The joy of FORTRAN1Rich Alderson
25 Sep 24  iiiiiii`* Re: The joy of FORTRAN2Lynn Wheeler
25 Sep 24  iiiiiii `- Re: The joy of FORTRAN1Kerr-Mudd, John
25 Sep 24  iiiiii`* Re: The joy of FORTRAN2Chris Ahlstrom
25 Sep 24  iiiiii `- Re: The joy of FORTRAN1Bob Eager
27 Sep 24  iiiii`* Re: The joy of FORTRAN2Peter Flass
27 Sep 24  iiiii `- Re: The joy of FORTRAN1moi
25 Sep 24  iiii+* Re: The joy of FORTRAN3Lynn Wheeler
25 Sep 24  iiiii`* Re: The joy of FORTRAN2Lawrence D'Oliveiro
11 Oct 24  iiiii `- Re: The joy of FORTRAN1Bozo User
25 Sep 24  iiii+* Re: The joy of FORTRAN2Chris Ahlstrom
27 Sep 24  iiiii`- Re: The joy of FORTRAN1Peter Flass
25 Sep 24  iiii+- Re: The joy of FORTRAN1Chris Ahlstrom
25 Sep 24  iiii+- Re: The joy of FORTRAN1Kerr-Mudd, John
27 Sep 24  iiii+* Re: The joy of FORTRAN2Peter Flass
27 Sep 24  iiiii`- Re: The joy of FORTRAN1Dennis Boone
27 Sep 24  iiii`* Re: The joy of FORTRAN3Andy Walker
28 Sep 24  iiii +- Re: The joy of FORTRAN1Lawrence D'Oliveiro
28 Sep 24  iiii `- Re: The joy of FORTRAN1Peter Flass
25 Sep 24  iii+* Re: The joy of FORTRAN2Peter Flass
25 Sep 24  iiii`- Re: The joy of FORTRAN1Lawrence D'Oliveiro
25 Sep 24  iii+- Re: The joy of FORTRAN1Peter Flass
25 Sep 24  iii+- Re: The joy of FORTRAN1Peter Flass
25 Sep 24  iii+- Re: The joy of FORTRAN1rbowman
25 Sep 24  iii+* Re: The joy of FORTRAN124Woozy Song
25 Sep 24  iiii`* Re: The joy of FORTRAN123rbowman
25 Sep 24  iiii +* Re: The joy of FORTRAN3Lawrence D'Oliveiro
27 Sep 24  iiii i`* Re: The joy of FORTRAN2Peter Flass
30 Sep 24  iiii i `- Re: The joy of FORTRAN1Waldek Hebisch
25 Sep 24  iiii +* Re: The joy of FORTRAN37Chris Ahlstrom
25 Sep 24  iiii i+* Re: The joy of FORTRAN3R Daneel Olivaw
25 Sep 24  iiii ii`* Re: The joy of FORTRAN2Kerr-Mudd, John
25 Sep 24  iiii ii `- Re: The joy of FORTRAN1R Daneel Olivaw
25 Sep 24  iiii i+* Re: The joy of FORTRAN6Lynn Wheeler
26 Sep 24  iiii ii+- Re: The joy of FORTRAN1Pancho
26 Sep 24  iiii ii`* Re: The joy of FORTRAN4Lynn Wheeler
26 Sep 24  iiii ii `* Re: The joy of FORTRAN3Lawrence D'Oliveiro
27 Sep 24  iiii ii  `* Re: The joy of FORTRAN2rbowman
27 Sep 24  iiii ii   `- Re: The joy of FORTRAN1Lawrence D'Oliveiro
26 Sep 24  iiii i+* Re: The joy of FORTRAN3rbowman
26 Sep 24  iiii ii+- Re: The joy of FORTRAN1John Ames
26 Sep 24  iiii ii`- Re: The joy of FORTRAN1Lawrence D'Oliveiro
26 Sep 24  iiii i+* Re: The joy of FORTRAN19Pancho
26 Sep 24  iiii ii+* Re: The joy of FORTRAN16Lawrence D'Oliveiro
26 Sep 24  iiii iii`* Re: The joy of FORTRAN15Pancho
26 Sep 24  iiii iii `* Re: The joy of FORTRAN14Lawrence D'Oliveiro
27 Sep 24  iiii iii  `* Re: The joy of FORTRAN13Lars Poulsen
27 Sep 24  iiii iii   +* Re: The joy of FORTRAN7Lawrence D'Oliveiro
27 Sep 24  iiii iii   i`* Re: The joy of FORTRAN6Pancho
28 Sep 24  iiii iii   i `* Re: The joy of VAX5Lawrence D'Oliveiro
28 Sep 24  iiii iii   i  `* Re: The joy of VAX4Pancho
29 Sep 24  iiii iii   i   `* Re: The joy of VAX3Robert Marshall
29 Sep 24  iiii iii   i    +- Re: The joy of VAX1Bob Eager
29 Sep 24  iiii iii   i    `- Re: The joy of VAX1Peter Flass
28 Sep 24  iiii iii   `* The joy of VAX C5Lars Poulsen
28 Sep 24  iiii iii    +- Re: The joy of VAX C1The Natural Philosopher
29 Sep 24  iiii iii    +- Re: The joy of VAX C1rbowman
29 Sep 24  iiii iii    `* Re: The joy of VAX C2Peter Flass
30 Sep 24  iiii iii     `- Re: The joy of VAX C1Lawrence D'Oliveiro
27 Sep 24  iiii ii`* Re: The joy of FORTRAN2Peter Flass
27 Sep 24  iiii ii `- Re: The joy of FORTRAN1Lawrence D'Oliveiro
27 Sep 24  iiii i`* Re: The joy of FORTRAN5Peter Flass
27 Sep 24  iiii i +* Re: The joy of FORTRAN2Bob Eager
28 Sep 24  iiii i i`- Re: The joy of FORTRAN1Peter Flass
27 Sep 24  iiii i `* Re: The joy of FORTRAN2Lynn Wheeler
27 Sep 24  iiii i  `- Re: The joy of FORTRAN1Lynn Wheeler
25 Sep 24  iiii `* Re: The joy of FORTRAN82John Ames
25 Sep 24  iiii  +* Re: The joy of FORTRAN77Stefan Ram
25 Sep 24  iiii  i+* Re: The joy of FORTRAN2John Ames
25 Sep 24  iiii  i+* TeX and Pascal [was Re: The joy of FORTRAN]73Rich Alderson
25 Sep 24  iiii  i`- Re: The joy of FORTRAN1Lawrence D'Oliveiro
25 Sep 24  iiii  `* Re: The joy of FORTRAN4Lawrence D'Oliveiro
25 Sep 24  iii`* Re: The joy of FORTRAN4John Levine
24 Sep 24  ii+* Re: The joy of FORTRAN91rbowman
24 Sep 24  ii+* Re: The joy of FORTRAN2Lawrence D'Oliveiro
25 Sep 24  ii`* Re: The joy of FORTRAN2Bob Eager
24 Sep 24  i+* Re: The joy of FORTRAN5Bob Eager
24 Sep 24  i+- Re: The joy of FORTRAN1R Daneel Olivaw
25 Sep 24  i+- Re: The joy of FORTRAN1Peter Flass
25 Sep 24  i`* Re: The joy of FORTRAN1287186282@ud0s4.net
24 Sep 24  +* Re: Can't Avoid That Shit Rust - Even On Gentoo3rek2 hispagatos
24 Sep 24  +* Re: Can't Avoid That Shit Rust - Even On Gentoo2rbowman
24 Sep 24  +- Re: Can't Avoid That Shit Rust - Even On Gentoo1The Natural Philosopher
25 Sep 24  +* Re: Can't Avoid That Shit Rust - Even On Gentoo41rbowman
7 Oct 24  `- Re: Can't Avoid That Shit Rust - Even On Gentoo1Rich Alderson

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal