From owner-freebsd-java Fri Feb 19 21:22:19 1999 Delivered-To: freebsd-java@freebsd.org Received: from stcgate.statcan.ca (stcgate.statcan.ca [142.206.192.1]) by hub.freebsd.org (Postfix) with ESMTP id 829501172F for ; Fri, 19 Feb 1999 21:22:16 -0800 (PST) (envelope-from jeays@statcan.ca) Received: from stcinet (stcinet.statcan.ca [142.206.128.146]) by stcgate.statcan.ca (8.9.1/8.6.9) with SMTP id XAA00416; Fri, 19 Feb 1999 23:35:37 -0500 (EST) Received: from statcan.ca by statcan.ca (SMI-8.6/SMI-SVR4) id XAA09196; Fri, 19 Feb 1999 23:28:59 -0500; sender jeays@statcan.ca Message-ID: <36CE39E4.7221ED5F@statcan.ca> Date: Fri, 19 Feb 1999 23:28:20 -0500 From: Mike Jeays Organization: Statistics Canada X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Nate Williams Cc: freebsd-java@FreeBSD.ORG Subject: Re: somewhat new to java questions References: <36CDB479.65A0EFC6@chdev.com> <199902200138.SAA22208@mt.sri.com> <36CE170E.3F11D82D@statcan.ca> <199902200241.TAA22415@mt.sri.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nate Williams wrote: > > > The amount of code you need to write to do almost anything > > in terms of a GUI implementation in Java seems to be > > much larger and harder to write and understand than in > > TK/TCL. > > Beaty is in the eye of the beholder. :) > > > This example of a MessageBox seems quite intimidating! > > Not with Swing. With Swing, it's trivial. But, this only works easily > in applications, not applets. I haven't tried writing any code for Swing yet. I got discouraged by the performance of the demos - although I was very impressed with the general appearance and style of the various widgets. > > > Furthermore, the performance seems much worse, seen from > > my perspective of FreeBSD, Java 1.1 and Swing compared with > > TK/TCL 8.0. > > Of this there is little doubt. Java performs very poorly on FreeBSD due > to the lack of JIT. Even though TCL is an interpreted language, the > interpreter is much faster. Hopefully a JIT will appear soon. > > > And inter-platform compatibility, at least between Unix and > > Windows, seems about equivalent. > > I can't speak to that since I've never used the Windows version of > TCL/TK. I have. I was impressed with how TCL/TK apps will port with very few changes. You just have to be careful with file references; most other things seem transparent. > > Nate -- Mike Jeays : System Development Division, Statistics Canada 14-O R.H. Coats Building, Holland Avenue, Ottawa, Ontario, K1A 0T6 Voice (613)-951-9929 FAX 951-0607 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message