Path: utzoo!attcan!uunet!samsung!sdd.hp.com!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!kubiak From: kubiak@crhc.uiuc.edu (Ken Kubiak) Newsgroups: comp.lang.forth Subject: Re: C compared to Forth Message-ID: Date: 25 Sep 90 13:21:11 GMT References: <9008111941.AA11132@ucbvax.Berkeley.EDU> Sender: news@ux1.cso.uiuc.edu (News) Organization: /usr/bach/kubiak/.organization Lines: 14 In-Reply-To: wmb@MITCH.ENG.SUN.COM's message of 11 Aug 90 04:58:13 GMT It seems that there is already some operator overloading going on in C. That is, the expression "a + b" compiles to different code depending on whether a and b are int, short, float, or double. On the other hand, unless you are using some typed extension to forth, you have to specify which operator (and any necessary conversions) to use. However, it is possible to make Forth higher level than C or even C++, if one wishes. But is that language still Forth? -- Ken Kubiak (kubiak@crhc.uiuc.edu) 1101 W. Springfield Ave. Center for Reliable High-Performance Computing Urbana, IL 61801 University of Illinois at Urbana-Champaign (217) 244-7179