Questions tagged [interoperability]
22 questions
17
votes
13 answers
Why would programmers ignore ISO standards?
One of the things I run into often is problems caused by programs which don't conform to ISO standardss.
One example would be not using the ISO country tables but making up their own shorthands, which goes okay for the United States (US), or the…
Pieter B
- 13,310
9
votes
3 answers
Better to write your .NET library with COM limitations in mind, or separate your .NET library from Interop?
I came across this interesting article: How I Came to Love COM Interoperability on CodeProject, which got me thinking...
The author argues that they do not want any COM-ities in their .NET library because it takes away from the beauty of their .NET…
robodude666
- 275
7
votes
2 answers
How can I combine C/Fortran with JavaScript?
I'm working on a project where I need heavy numerical calculations to be real-time visualized with something flexible like D3.js. Are there frameworks out there that would let me painlessly achieve this? Or do I need to use some sort of "glue" code…
pav3l
- 73
6
votes
2 answers
Why GUID Partition Table data lack the sector size?
The GPT (GUID Partition Table) is the most accepted modern standard for partitioning of a data storage device. Its unit for the offset and size of a partition is so-called sector*. Is it a well-defined unit? No, it isn’t. Firstly, one can switch a…
Incnis Mrsi
- 169
- 5
5
votes
2 answers
Maintaining evolving versions of interop structures and classes
A C# .NET application talks to an external component by calling a known API and marshalling interop structures from the component's response.
This is already implemented and working well. However, once versioning comes into the equation, things get…
user5877732
- 59
5
votes
1 answer
Best way to handle language interoperability
Background
In a language like F#, direct interoperability with most other .NET languages is possible. For example, it is possible to use classes written in C# directly in F#, and it is possible to call F# code directly from C#.
In F#, modules are…
nilu
- 1,024
4
votes
3 answers
Why the practice of writing unit tests in a different language isn't that popular?
When Microsoft released Visual Studio 2008, there was a thing they were talking a lot about at the conferences and in their online tutorials: the idea of writing the actual code in one language, and the unit tests in a different language. For…
Arseni Mourzenko
- 137,583
4
votes
5 answers
Should I encrypt files saved by my program
I'm trying to decide on what format I should save data in, and hopefully this question will help me come to a decision. The program I'm writing uses 'databases' in which word=meaning (not a dictionary, that was just an example). I don't really want…
Andy
- 372
3
votes
2 answers
Sharing an enum between a C++ and C# solution
We have 2 applications that are part of our product, one is written in native C++ and lives in its own solution, and the other is a C# application in its own solution. Both solutions are in the same repository, and we are planning to introduce a…
Shahin Dohan
- 141
3
votes
2 answers
How would I allow a PHP front end to communicate with a back end written in Go (or any other combination of languages)?
I like PHP. It's not overly complex to achieve what you want, you can write straight up HTML inside it, and I suppose I'm just used to it. I also like Go, having just discovered it while looking for something to write the back-end of a web app in…
Adam
- 1,397
2
votes
2 answers
How to develop a desktop software with components based on several different technologies
If I give a real example, I want to create a desktop software that includes:
electron js app that communicates with react js using IPC channels.
I need to communicate with software that only has a Python module. so I created a TCP server/client…
Ali Shefaee
- 159
2
votes
2 answers
interoperability between two independent platforms via HL7 FHIR
Mobile app: (Patient)
I've developed an android mobile application which you can register, login, enter your personal information, enter your blood pressure factors, heart rate, and blood sugar. In addition I've considered a place which the user by…
Jasmine
- 29
2
votes
3 answers
Can programs of different languages communicate information without file io?
Is it possible to write a C++ program that, say, passes an int array to a java program without writing it to a file?
Motivation for question: I was wondering what matlab is and how it came to be an application that was written in several different…
Minh Tran
- 78
1
vote
1 answer
Is there a way to introduce some basic type safety around IntPtrs returned from PInvoke'd methods?
I have a C-Style API with methods that return pointers to native objects, e.g.
EXPORT hs::Pose3d* getJointEndPose(dh::Joint* joint);
And in C#,
[DllImport("Solver.dll")]
public static extern IntPtr getJointEndPose(IntPtr j);
To make the API a…
sebf
- 285
1
vote
3 answers
Programming Language Interoperation for Website
Say I have one website created with the LAMP stack and another with the MEAN stack. I want to create a program which estimates the entropy of a password so that I can add a password strength meter to the sign up pages on both sites. I do not want to…