4 ms·
Talking about fit with the ecosystem; I couldn't find any documentation on: a) how interop with Java is handled b) what kind of performance we'd be getting Ba
by mtrimpe 14y ago
Talking about fit with the ecosystem; I couldn't find any documentation on:
a) how interop with Java is handled
b) what kind of performance we'd be getting
Based on what I've seen so far Redline could just as we'll be a naive Smalltalk VM written in Java.
Clojure does it fairly well showing off interop with a few lines of idiomatic code and addressing performance by showing how close to the metal you can get with type hints and having the garbage collection tweaks ready to go.
- jeffheon 14y agoHere's a little blog post about Redline Java interop http://www.redline.st/blog/2012/11/20/automatic-java-class-integration.html http://www.redline.st/blog/2012/11/20/automatic-java-class-i... Short story: import: 'com.friendly.Greeting' as: 'Greeter'. Greeter new say.
- mtrimpe 14y agoThat short story is indeed what should receive some more emphasis in the marketing materials ;) Is there also a similar post about interop the other way around, like Clojure's gen-class? For piecemeal migration from Java to Smalltalk being able to compile a class to an existing interface is key since once you have that you can just plug it into the Spring context of any existing Java app and slowly migrate from there.
- spooneybarger 14y agoWe are indeed working on that. We have given it little 'marketing push' because it is still very immature.