home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pmafire!news.dell.com!swrinde!cs.utexas.edu!sun-barr!west.West.Sun.COM!cronkite.Central.Sun.COM!texsun!exucom.exu.ericsson.se!s09a05!exuhag
- From: exuhag@exu.ericsson.se (James Hague)
- Newsgroups: comp.lang.forth
- Subject: Re: Recent FORTHs' guts (was: Documenting)
- Message-ID: <1993Jan25.180225.9582@exu.ericsson.se>
- Date: 25 Jan 93 18:02:25 GMT
- References: <1993Jan23.122739.24899@sol.ctr.columbia.edu>
- Sender: news@exu.ericsson.se
- Reply-To: exuhag@exu.ericsson.se
- Organization: Ericsson Network Systems, Richardson, TX
- Lines: 29
- Nntp-Posting-Host: s09a05.exu.ericsson.se
- X-Disclaimer: This article was posted by a user at Ericsson.
- Any opinions expressed are strictly those of the
- user and not necessarily those of Ericsson.
-
- Penio Penev writes:
- >
- >I think, that when one designes a FORTH for a machine with a lot of
- >memory, native code is the better way. It's faster, while not wasting
- >much. On a i386 one have 4-byte 'address' and a 5 byte 'call address'.
- >Well, it's not like having 15 bit 'address' and 16 bit 'call address'
- >like in RTX, but it's still tolerable.
- >
- >Another consideration is when You run RISC processors (I'm running
- >R3000 currently). There You have even more space and You can benefit
- >_a lot_ from the inlining of some primitives.
-
- I have mixed feelings about making a true compiler an integral part
- of Forth. It would remove the simplicity and understandability of
- the traditional Forth system--a step toward the 'black boxes' of
- conventional language IMO. But a native code generator which could
- be run after development was complete would be a godsend and there
- seem to be surprisingly few of these. Tom Almy's ForthCMP, which I
- am a registered user of, is nice but does force you to give up some
- of the power of Forth in exchange for native code (you have to keep
- ForthCMP in mind while you are writing an application).
-
- More and more I'm discovering one of the reasons for Forth's lack
- of popularity is that, while it doesn't have to be used solely for
- embedded systems, there isn't much support outside of that area.
-
- --
- James Hague
- exuhag@exu.ericsson.se
-