Re: How "scalable" is forth?
- From: "Paul E. Bennett" <peb@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 17 Jul 2006 22:38:20 +0100
GerryJ wrote:
http://www.cs.caltech.edu/~mvanier/hacking/rants/scalable_computer_programming_languages.html
casioculture@xxxxxxxxx wrote:
He doesn't mention forth. :-/
Perhaps it's just as well. If you consider the features that the author
thinks makes a scalable language he would have condemned it:
- garbage collection
- no pointers or pointer arithmetic
- a foreign function interface to the C language
- static type checking with type inference
- support for exception handling
- run-time error checking for errors that can't be caught at compile
time, like array bounds violations and division by zero
- support for assertions and design by contract
- a powerful, statically checked module system
- support for object-oriented programming
- support for functional programming
- structural macros
- support for components
- a simple, consistent and readable syntax
Of these surely ANS Forth only features exception handling (the last
feature could be arguable). Of course many of these can be added to
Forth but the author is talking about the defined language, not
extensions.
Quite a lot of that list could be achieved in Forth but, really, why would
anyone need to. The largest programming task I have ever seen was a
collection of small programmes that cooperated.
--
********************************************************************
Paul E. Bennett ....................<email://peb@xxxxxxxxxxxxxxxxxx>
Forth based HIDECS Consultancy .....<http://www.amleth.demon.co.uk/>
Mob: +44 (0)7811-639972
Tel: +44 (0)1235-811095
Going Forth Safely ..... EBA. www.electric-boat-association.org.uk..
********************************************************************
.
- References:
- How "scalable" is forth?
- From: casioculture
- Re: How "scalable" is forth?
- From: GerryJ
- How "scalable" is forth?
- Prev by Date: Re: OT Advice on good forth coding
- Next by Date: Re: How does forth' productivity compare to the scripting languages?
- Previous by thread: Re: How "scalable" is forth?
- Next by thread: win32forth on sourceforge?
- Index(es):
Relevant Pages
|