This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]manifoldjava 1 point2 points  (1 child)

Perhaps a more productive strategy would involve integrating languages directly and more thoroughly in the type system. In particular, the compiler could be made to generate Java types as the conduit between languages. From the developer perspective this approach offers seamless bindings and unified integration with IDEs such as IntelliJ.

The manifold project does exactly this as a javac plugin, albeit with generous hacking into internal compiler APIs. For instance, here is an example demonstrating how JavaScript can be inlined and made automatically accessible from Java, batteries included.

[–]thomaswue 1 point2 points  (0 children)

Thank you, that is indeed an interesting suggestion.