scala -> use .net (linq) and java code base in the same program? -


Newbie here ... Can I write a program that uses .NET LINQ and various Java frameworks in the same scale program Also included? Or when I compile, the decision one or the other at the time, .net or Java

Thank you.

When you compile the scale, you either target it: MSIL or -target: Jvm-xx (default java). This means that you can try to make some consistent (which will work with both goals, but should be compiled separately for each).

Once you try to host both the frameworks with tasks that cross the boundaries, while technically is extremely difficult, and both are completed at the compiler and runtime level Support will be required.

Since Skala operates on top one or another runtime, it is not highly unlikely that it will work well, or anyone will be upset with the capabilities to get it, besides several types Of There is no analog in the net type jvm and vice versa.

By maintaining GC roots in both runtime, this will be a worthy subject of PhD thesis, which is lonely to implement it.


Comments