Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site pilchuckDataio.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!uw-june!entropy!dataio!pilchuck!jgray From: jgray@pilchuckDataio.UUCP (Jerrold Gray) Newsgroups: net.micro,net.micro.pc,net.lang.c,net.lang.pascal,net.lang.forth Subject: Re: FORTH, PASCAL, and C--- which one would you choose (it depends ?) Message-ID: <197@pilchuckDataio.UUCP> Date: Tue, 7-Jan-86 11:27:07 EST Article-I.D.: pilchuck.197 Posted: Tue Jan 7 11:27:07 1986 Date-Received: Wed, 8-Jan-86 06:16:53 EST References: <1191@princeton.UUCP> Distribution: net Organization: Data I/O Corp., Redmond WA Lines: 48 Xref: watmath net.micro:13399 net.micro.pc:6449 net.lang.c:7512 net.lang.pascal:422 net.lang.forth:337 > Now, the question is : > It seems that Forth is as extensible and structured as C and Pascal (to my > understanding), and generates more compact and faster execution program. > Its interpreter being far more faster than BASIC's makes developement time of a > project much less than when using 'edit-compile-link-test' type of language. > I wonder why Forth is still less popular (to my impression) than C and Pascal. > *** REPLACE THIS LINE WITH YOUR FORTH ENVIRONMENT *** It has been my experience that whenever speed has been the critical issue, critical components ( if not all ) of a software package should be written in assembly language. This optimizing for speed is at the expense of development time and the general level of support by other developers. I suspect that the reason Forth is not more popular is that software support in Forth is more difficult than in the other languages you cited. The effort expended in support (debugging or adding features) is product of understanding the native language used as well as the architecture and symbology of the orginal author. The "keyword" here is "cryptic". In assembly language the symbology is fairly fixed so you only have to deal with the native language (op codes) and the program structure. Though in a higher level language, the symbology of Fortran and most flavors of BASIC is also pretty much predefined. The languages in between allow a lot of freedom to make software extremely cryptic, with the effect peaking in Forth. I also suspect some people have raised software cryptography to another artform. As an effective test of which language to use. Get good and drunk on several occasions, and write several pages of code ( to do something harmless of course) whilst under the influence. The result doesn't have to be entirely working when finished. Before sobriety returns, hide your source code somewhere where you won't find it for a few weeks. If and when you find it, try to understand it. Better yet... try to fix it. My recommendation is to stick with C or Pascal linked to assembly coded critical routines where necessary. Jerrold L. Gray uw-beaver!telone!dataio!pilchuck!jgray USNAIL: 10525 Willows Road N.E. /C-46 Redmond, Wa. 98052 (206) 881 - 6444 x478 Telex: 15-2167