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,fa2cc518ef3b992c X-Google-Attributes: gid103376,public From: Charles Hixson Subject: Re: tagged types extensions - language design question Date: 2000/02/01 Message-ID: <38971028.BB16D8A2@earthlink.net>#1/1 X-Deja-AN: 580403273 Content-Transfer-Encoding: 7bit References: <389207CC.C16D80E8@averstar.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-ELN-Date: Tue Feb 1 08:56:38 2000 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 949424198 198.94.156.19 (Tue, 01 Feb 2000 08:56:38 PST) Organization: EarthLink Network, Inc. MIME-Version: 1.0 NNTP-Posting-Date: Tue, 01 Feb 2000 08:56:38 PST Newsgroups: comp.lang.ada Date: 2000-02-01T00:00:00+00:00 List-Id: Tucker Taft wrote: > -- snip > > In general, if you start comparing languages, you are working in > the "solution" space rather than the "problem" space, and you will > generally be frustrated if you try to find an exact match in the > solution space. The more important issue is whether you can solve > the problems of interest efficiently and effectively using the > features of the language you are evaluating. > > -- snip Along this line, what would be nice would be a language that merged the capabilities of the dynamic binding languages [e.g., Smalltalk] and the capabilities of the static binding languages [e.g., Ada]. So far the closest match that I've found is Python/C, though that has a lot of limitations. Closer to what I am contemplating would be a merger of Ada95 and Java, without the Ada code being required to be executing on the JVM. Is there any good way to call native Ada methods from Ada-for-the-JVM? (Of course, Java is no Smalltalk, or even a Python. But it does have a rather nice library with lots of dynamic methods in it.) To be real specific about what I would like: Is there any reasonable way to call GNAT routines from Squeak? The idea here is that code would be prototyped in Smalltalk, and then transferred to Ada if it turned out to be used with much frequency (and it was reasonably easy to convert, of course: Some dynamic features just don't convert well).