C# .NET custom modules... Way or No Way?

I understand that the VASSAL engine is Java and sits on the Java runtime environment.
However, I have no experience in Java, but a fair amount of experience in C# on the .NET framework.

Is there any possibility a custom module could be created in C#/.NET and somehow connected into a VASSAL module? If so, any thoughts on how such a thing might be accomplished?

-Mark R.

Thus spake mroyer:

I understand that the VASSAL engine is Java and sits on the Java runtime
environment.
However, I have no experience in Java, but a fair amount of experience
in C# on the .NET framework.

Is there any possibility a custom module could be created in C#/.NET and
somehow connected into a VASSAL module? If so, any thoughts on how such
a thing might be accomplished?

Things like this are always possible with enough effort. What it would
involve is either creating a C# interpreter which runs in the JVM or
a compiler which compiles C# to Java bytecode. The former would require
writing far more Java than exists in all custom module code combined;
the latter you could do in any language, but would require a thorough
understanding of compilers and the Java bytecode language. Both would
require a great deal of skill and time to do correctly.

–
J.

:slight_smile:
That’s a " no way" for me…
I was hoping some sort of bridging utility existed that enabled cross-calling assemblies directly.

Thanks for the answer.
-Mark R.

Thus spake mroyer:

:slight_smile:
That’s a " no way" for me…
I was hoping some sort of bridging utility existed that enabled
cross-calling assemblies directly.

It’s possible that either a cross-compiler or an interpreter already
exists. I haven’t looked.

–
J.