[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Repost of Wainwright message
From: |
Marcus G. Daniels |
Subject: |
Re: Repost of Wainwright message |
Date: |
02 Apr 2001 12:45:25 -0700 |
User-agent: |
Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4 |
TW> Actually, the improvements in speed of Java with JIT are what
TW> brought me back to Swarm after trying to build similar models in a
TW> fully-compiled OO language (Eiffel).
If I were writing a new simulation engine, I think I'd take a swing
at Mercury. http://www.cs.mu.oz.au/research/mercury
They've even got a real front-end for GCC.
TW> The main reason I reject C++ is the same reason I object to
TW> ObjC--It's too easy to write bad (i.e. obscure and loosely typed)
TW> code, resulting in a very long revision/debugging cycle.
I tend to agree about Objective C. I just think of it as C with a
runtime library. I'm glad to have it hidden behind JNI and look
forward to the day when defobj/collections/activity is replaced with
a tighter implementation and the GUI is no longer Tk-based.
Note Java has some of the same `bad' properites of Objective C. It
tries to add typing, but the lack of generics makes for a lot of
casting sometimes (that you don't bother with in Objective C). And
dynamic casts can fail, e.g.
class Bar {
}
public class Foo {
static void main (String args[]) {
Bar bar = new Bar ();
Foo foo = (Foo) (Object) bar;
}
}
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.