Questions tagged [interoperability]

20 questions
18
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
  • 12,867
  • 1
  • 40
  • 65
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
  • 1
  • 8
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
  • 1
  • 3
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…
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…
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…
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
  • 362
  • 3
  • 11
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
  • 1
  • 7
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,367
  • 3
  • 12
  • 15
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
  • 3
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
  • 7
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
  • 2
  • 9
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…
1
vote
1 answer

Is there a better way of communicating between systems?

I work for a software company that makes business information systems for a large enterprise. We do systems for invoicing, payment, planning, etc. The enterprise uses SAP for their core system, and our systems use SQL Server with PHP as the…
d.a.vorm
  • 179
  • 2
1
vote
2 answers

IL and case-sensitivity

Quoted from A Brief Introduction To IL code, CLR, CTS, CLS and JIT In .NET CLS stands for Common Language Specifications. It is a subset of CTS. CLS is a set of rules or guidelines which if followed ensures that code written in one .NET…
Khadim Ali
  • 153
  • 1
  • 7
1
2