You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
-
1Microsoft's COM is one example of what such a fairly generic language independent interfacing standard can look like. That takes the approach of asking each caller or callee to implement the types and interfaces defined by COM but not the types and interfaces of all unknown potential counterparts. Some language toolsets have made it easy to interoperate using COM. People working in a Microsoft environment often don't think twice about it. There's a good chance COM is not what you are imagining. But there are many things to learn from it, why it's complex, etc.joshp– joshp2023-06-07 00:41:49 +00:00Commented Jun 7, 2023 at 0:41
-
1CORBA is another example of something like that.Mat– Mat2023-06-07 04:31:19 +00:00Commented Jun 7, 2023 at 4:31
-
1A little of own research would have brought you to this Wikipedia article(Language interoperability), where you find some technicle options and limitations, as well as more pointers, for example to JVM languages and CLI languages.Doc Brown– Doc Brown2023-06-07 05:23:05 +00:00Commented Jun 7, 2023 at 5:23
-
... and I am not an expert on Julia, but a short look into the docs gives me the impression that for "calling C++ from Julia", one has utilize the Cxx.jl package, so this FFI does not seem to be included in Julia's standard lib.Doc Brown– Doc Brown2023-06-07 06:00:43 +00:00Commented Jun 7, 2023 at 6:00
-
2Multiple such interfaces exists (C calling convention, COM, CORBA, SOAP), but none of them have gained universal traction. The problem is languages and runtimes are too different, e.g. how to pass objects between garbage collected languages and languages without memory management? Too many compromises for a one-size-fits-all standard.JacquesB– JacquesB2023-06-07 07:58:56 +00:00Commented Jun 7, 2023 at 7:58
|
Show 2 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you