🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #14782

Re: a stupid question

#14782
From: Tom Davies
Date: Sun, 01 Aug 1999 00:00
44 lines
2299 bytes
William Barker wrote:
> 
> Hi,
> 
> i've posted a few enquiries regarding "new to java" but please tell me what
> do most people use java for ? as opposed to c or c++, because can't you do
> in c++ what can be done in java, i.e OOP, and applets, or is it the jvm
> (java virtual machine) that the main benifit is with java, making it
> portable over a wide range of operating systems ?

The reasons I use Java instead of C++ are:
- it's a more productive language due to garbage collection and being a
simpler, cleaner language.
- I can write applets which are easy to deploy (note that you will need
to spend time testing in *every* browser version you want your applet to
run in)
- I can write server side components which run on multiple
architectures. 
- It uses the same class library across platforms.
- I can use the same language for multiple parts of my system --
applets, servlets, stored procedures (in Oracle 8i, and I think Sybase
too) and CORBA/EJB components.

> my reason is the portabililty between platforms and the advantage of
> writing applets for the web.
> 
> furthermore does java have less instructions than c++,

It lacks operator overloading, templates, objects allocated on the stack
and templates. I only miss templates.

> if so does this make
> java less powerfull or less programmable.. also with java are you further
> away from the computer,

You are further away from the computer -- which is good. Java is
providing a higher level of abstraction of what a computer is.

> can java be used for writing say a database application with a windows
> frontend using the GUI and lastly can you include an inline assembler ?

Yes and no.

Tom
Technical Details
Message-ID: <37A40A4E.2E7D1BC7@smartchat.net.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bedb86$b0102020$LocalHost@gjxwxsqy>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,eefef8c15b282964
X-Google-Attributes: gidf74b3,public
From: Tom Davies <tom@smartchat.net.au>
Subject: Re: a stupid question
Date: 1999/08/01
Message-ID: <37A40A4E.2E7D1BC7@smartchat.net.au>
X-Deja-AN: 507444020
Content-Transfer-Encoding: 7bit
References: <01bedb86$b0102020$LocalHost@gjxwxsqy>
To: William Barker <Heatherdale@fsbdial.co.uk>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language