From owner-freebsd-questions Fri Mar 29 22:28:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lists.blarg.net (lists.blarg.net [206.124.128.17]) by hub.freebsd.org (Postfix) with ESMTP id 7666837B416; Fri, 29 Mar 2002 22:28:10 -0800 (PST) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id 21FF2BD45; Fri, 29 Mar 2002 22:28:10 -0800 (PST) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id WAA17754; Fri, 29 Mar 2002 22:28:09 -0800 Received: (from jojo@localhost) by localhost.localdomain (8.11.6/8.11.3) id g2U6QZ319135; Fri, 29 Mar 2002 22:26:35 -0800 (PST) (envelope-from swear@blarg.net) To: Terry Lambert Cc: "Gary W. Swearingen" , Ilia Chipitsine , questions@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: perfomance and regular expressions References: <3CA4FC84.BAB5B698@mindspring.com> <3CA53A21.F041E72C@mindspring.com> From: swear@blarg.net (Gary W. Swearingen) Date: 29 Mar 2002 22:26:35 -0800 In-Reply-To: <3CA53A21.F041E72C@mindspring.com> Message-ID: Lines: 18 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Terry Lambert writes: > "Gary W. Swearingen" wrote: > > Anybody know any languages that allow compile-time (and/or link-time) > > computations using (most of?) the same language? I've often desired the > > feature. (I suppose some preprocessor like m4 could handle some of it.) > > LISP. Forth. Smalltalk. Prolog. BASIC. Oh yeah... Java. Can any of those execute or interpret some code and then compile the results of that into a non-interpreted executable? That's what I had desired, if it wasn't clear before. Otherwise, you're still doing the special computations at run time, only slower. Maybe I HAVE heard of some interpreters (Python?) saving an excecutable image of themselves after running a while. Is that what you're thinking of? Will all of those language systems above do that? It's not quite what I was thinking of, but I guess it meets my (poor) specifications. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message