From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,517611567e1815f2 X-Google-Attributes: gid103376,public From: David Botton Subject: Re: Java momentum slowing ? Date: 1999/05/12 Message-ID: <373A1E6D.8CDB54C9@Botton.com>#1/1 X-Deja-AN: 477227208 Content-Transfer-Encoding: 7bit References: <372b0ec7.28153993@news2.ibm.net> <3728E60E.F789FD8@uq.net.au> <373612A6.3752CC19@Botton.com> <7h5ak3$2t8@drn.newsguy.com> <37365163.1AB89036@Botton.com> <7h5n2d$prl@drn.newsguy.com> <3736D161.48A9E77B@Botton.com> <3737AB6D.FACB718C@Botton.com> <7h8lmu$2p8n@drn.newsguy.com> <3739C39F.E9B46156@Botton.com> <56EF566E81E8663B.12EEA4C03A4F6995.985E539C8D89B2D1@library-proxy.airnews.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@gate.net X-Trace: news.gate.net 926555758 105894 199.227.189.156 (13 May 1999 00:35:58 GMT) Organization: CyberGate, Inc. Mime-Version: 1.0 NNTP-Posting-Date: 13 May 1999 00:35:58 GMT Newsgroups: comp.lang.ada Date: 1999-05-13T00:35:58+00:00 List-Id: I can do that in Perl too (create a "function" factory) using a linked in native code module. The point is that there is no direct method with in the language and as you see here, it requires another language in the middle, in this case C. If you notice the license included has the famous Java don't do that clause :) This software is not designed or intended for use in on-line control of aircraft, air traffic, aircraft navigation or aircraft communications; or in the design, construction, operation or maintenance of any nuclear facility. Licensee represents and warrants that it will not use or redistribute the Software for such purposes. Java is what java is, a C syntaxified TCL/TK. I don't understand why people have a hard time dealing with this. It doesn't make Java "BAD", it just means that Java is not the language / OS killer that Sun (and not so long ago M$) would force down your throat to believe. The JVM has some great uses and I have used it for many cool applications, like providing programmability to the user who can dynamically add to the application, etc. Do to all the marketing fluff, the JVM has become one of the best and most portable scripting engines around. David Botton Hyman Rosen wrote: > > lrk@pobox.com (Lance Kibblewhite) writes: > > David Botton wrote: > > >You have to first wrap the call in a C (or Ada for that matter) function > > >that can be called through the JNI interface. > > > > Exactly correct. Thick bindings are needed, and these cannot be > > written in Java. > > Not quite correct. It's true that an interface routine must be written > in a native language, but there is a technique available called "shared > stubs" which allows a single interface routine to call essentially any > native function. You can get source code and description from > .