🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #5744

Compiling Times (was Re: Many people's opinions on computer languages)

#5744
From: Clifford Adams
Date: Thu, 15 Sep 1988 01:01
34 lines
1865 bytes
In article <1400@garth.UUCP> smryan@garth.UUCP (Steven Ryan) writes:

>Well, before I jump in, I would like to see proof that extensible languages
>are significantly harder to compile.


	Extensible languages do not need to be hard to compile, or slow.

	Take FORTH for example.

	Forth is *very* extensible.  Forth also is one of the fastest
languages (in compilation speed).  For a real-world example, here are
some results from compiling my current Forth project (ForthLisp).

Actions done during compilation.

	0.  Load (from csh) the Forth nucleus (about 70k)
	1.  Compile the linker (6k of Forth).
	2.  Link a 1k C file with a Forth library (29k) to produce a
	    4k object file.  Load that file
	3.  Compile nearly 50k of Forth source into 12k of object
	    code.  The source is split into 42 files, all retrieved
	    from a network file server.

	The above takes less than 30 seconds on a Sun 3/260 (load
average about 1).

	To compile a simple "Hello World" program and link the output
libraries takes about 10 seconds on the same system.

-- 
 Clifford A. Adams  ---  "I understand only inasmuch as I become."
 ForthLisp Project Programmer   (Goal: LISP interpreter in Forth)
 caasnsr@nmtsun.nmt.edu     ...cmcl2!lanl!unm-la!unmvax!nmtsun!caasnsr
Technical Details
Message-ID: <1120@nmtsun.nmt.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!rutgers!cmcl2!lanl!unm-la!unmvax!nmtsun!caasnsr
References: <3938@enea.se> <923@l.cc.purdue.edu> <14147@agate.BERKELEY.EDU> <1400@garth.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!rutgers!cmcl2!lanl!unm-la!unmvax!nmtsun!caasnsr
From: caasnsr@nmtsun.nmt.edu (Clifford Adams)
Newsgroups: comp.lang.misc
Subject: Compiling Times (was Re: Many people's opinions on computer languages)
Summary: A counter-proof
Keywords: forth compiler time
Message-ID: <1120@nmtsun.nmt.edu>
Date: 15 Sep 88 01:01:43 GMT
References: <3938@enea.se> <923@l.cc.purdue.edu> <14147@agate.BERKELEY.EDU> <1400@garth.UUCP>
Reply-To: caasnsr@nmtsun.nmt.edu (Clifford Adams)
Organization: New Mexico Tech, Socorro NM
Lines: 34