 |
|
JimC
|
|
Birmingham, England
May 1999 time: 05:13
|
|
Re: Blade
True, regarding performance, but a lot of people (myself included) go for budget computers. I won't be seeing an Athlon for quite some time....
However, having said that, the hotspot compiler seems to yield huge performance increases to Java code - well designed Java programs can now easily match C++ code with a little thought, since Java is much easier to perform good high-level optimization on (obviously 3D graphics etc. are exceptions).
Jim
|
|
|  |
 |
|
mca
|
|
Odense, Denmark
Jan 1970 time: 06:13
|
|
[mca5]
re me7
The overhead will be a method invokation and any sanity checks the method does.
[appendix: this is for member variable access only. Normal method invokation should be the same. ]
Martin
[This message has been edited by mca (edited September 04, 1999).]
|
|
|  |
 |
|
JimC
|
|
Birmingham, England
May 1999 time: 05:13
|
|
Hotspot availability for Linux / Mac?
I haven't got a Scooby.
(Scooby Doo; clue)
Jim
|
|
|  |
 |
|
mca
|
|
Odense, Denmark
Jan 1970 time: 06:13
|
|
[mca6]
re JimC/me8 - language features.
If we agree that all serious hacking should take place in Java, I suggest the following features for the scripting language:
- Implicit variable declaration.
- Typeless variables.
- Control structures: for, while, if/then/else
- Event triggers and functions.
- Data access: the accessible data structures should be the same for the macro language and the off-line editor.
- Provided methods/functions: Any methods that the accessible components provide. This may be overkill (not from an implementation perspective, but to prevent "information overload" in the scenario builders :-) so alternatively: Anything reasonable that shows up during development.
- Operators: basic arithmetic and logical operators (and, or, not, +, -, *, /, <, >, >=, <=, =, != (<>)) Nothing fancy, like --, +=, <<, etc. is needed, I think.
- Probably something I forgot 
[added:] Basically, I would be happy with Blade Runner's model, except for the explicit variable declarations he suggests.
Martin
[This message has been edited by mca (edited September 04, 1999).]
|
|
|  |
 |
|
mca
|
|
Odense, Denmark
Jan 1970 time: 06:13
|
|
[mca9]
re bl12
Damn, I thought I had that defined/declared thing right. Would you please elaborate?
Martin
|
|
|  |
 |
|
mca
|
|
Odense, Denmark
Jan 1970 time: 06:13
|
|
OIC! In the first example, allowing mixed styles would cause no error. Unless you require variables that were declared to also have been assigned a value (defined) before allowing their use.
Martin
|
|
|  |
 |
|
mca
|
|
Odense, Denmark
Jan 1970 time: 06:13
|
|
Blade,
No problem, I'm glad that there will be more than one way to do things. I see your point, too, and I would typically support even type declarations and strong typing for anything but scripting, which tends (and sometimes needs?) to be too quick and dirty to bother with explicit declarations, types, and such.
Glad to be of service,
Martin
[This message has been edited by mca (edited September 04, 1999).]
|
|
|  |
 |
|  |
All times are GMT. The time now is 05:13. Apolyton Time is 00:13. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|