Smalltalk and Java

Bergel, Alexandre bergel at iam.unibe.ch
Tue Nov 13 08:00:33 UTC 2007


> Do you have a sample how to implement/satisfy a java interface
> on the smalltalk side? Can you tell us a little bit more about
> "cross" exception handling. I know performance is currently not
> high priority but did you run some benchmarks?

Exception are currently not supported in Athena.
I haven't done any benchmarks, but I do not expect them to be very  
appealing frankly speaking :-)
I plan to work on translating Smalltalk bytecode into Java's. This  
should speed all the things up.

What do you mean with "how to implement/satisfy a java interface on  
the smalltalk side" ?
You can interact with any classes in Athena. No need to implement  
something on the Java side. It uses the plain Java reflection API.
An example: "System getJavaClass: 'java.lang.System') invokeStatic:   
'currentTimeMillis'"

Cheers,
Alexandre

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






More information about the Squeak-dev mailing list