|
|
|
|
|
by foobarian
1664 days ago
|
|
> Are you serious? In which language do you program that you don't have to use multiple libraries daily? I said I don't know which library would let me make C# method calls from a Java Spring runtime, presumably in the same process. Do you? Feel free to share a link. > That's because someone set it up for you, not because it's faster. Yes, the whole point was to come up with a concrete example for the sake of argument, and see how we can accomplish it in practice. We're not writing academic papers here, the fact that this functionality is widely available is a good thing. > It's not, you're using the term loosely Yes, me and 95% of the industry. Again, it's unfortunate but here we are. |
|
You don't need a library for that, it's is part of the language. Java can call code from native libraries, C# can export native functions. It can also be another process. [1]
> Yes, the whole point was to come up with a concrete example for the sake of argument, and see how we can accomplish it in practice. We're not writing academic papers here, the fact that this functionality is widely available is a good thing.
The problem is that you moved the goalposts. "I need to interoperate with C# code" is very different from "I need to interoperate with C# code and my company uses microservices and that's the only thing I know".
You can't claim something is automatically worse just because you're ignorant about it.
> Yes, me and 95% of the industry. Again, it's unfortunate but here we are.
Nope. There are exactly zero companies claiming to use microservices when they have exact two services. And it's not about size, by the way, it's about different architectural patterns.
[1] https://www.baeldung.com/jni