Intended use of multiple programming languages ​​/ platforms

Are there any good ways to define non-linguistic specific interfaces / classes and then generate the appropriate source code in certain languages? In particular, I need to target both Java and C # for a fairly complete API that I create. At some point, I recall a message in SF, which mentioned a programming language that was “compiled” into other languages, but I could not find the message. This language may be the solution for what I'm trying to do.

Thank,

Andy

+3
source share
3 answers

UML? UML (, #, Java VB.NET), , . .

+4

- , .

, (IDL). Corba IDL . idl IDL, , , , .. .

IIOP.NET - Corba #. , , IDL-, #. Java IDL-, idlj JDK.

, , # Java .

- - UML-, .

- WSDL/XSD .

+4

IKVM.NET. Java ( JVM) .NET. , JVM, .NET- .

+1
source

Source: https://habr.com/ru/post/1763634/


All Articles