Questions tagged [cross-language]

In programming, "cross-language" or "multi-language" refers to features that operate across multiple programming languages.

In programming, "cross-language" or "multi-language" refers to features that operate across multiple programming languages.

Cross-language features include type systems, data formats, storage layouts, etc. which are common across multiple languages. They help applications or services written in different languages to inter-operate and exchange information.

132 questions
1
vote
1 answer

WPF equivalent to Flex states

Flex has a very elegant concept of states which let you define what components should be displayed and what should they look like based on the parent component "state". For example, you could define some Login window states as…
MonoThreaded
  • 11,429
  • 12
  • 71
  • 102
1
vote
3 answers

XML Based Validation Frameworks Cross Language

I'm about to embark on a new project within which we require the ability to re-use validations based on (preferably XML) on both the client and server. We would setup a service to provide the XML validation configuration data to the client side. The…
Peter
  • 1,776
  • 13
  • 20
1
vote
0 answers

Error reporting patterns for cross language plugin architecture

I am designing the interface of a plugin system for our product. Current plugins will be written in C#, but I envisage creating at least C/C++ wrappers in the future. I am in a quandary how to handle errors given the potential language…
GazTheDestroyer
  • 20,722
  • 9
  • 70
  • 103
0
votes
1 answer

Cross-language bi-directional Client-Server communication methodology?

I am making a turn-based card game that will have clients, a lobby server and a game server. What methologies are there that are both cross-language and bi-directional (e.g. client request -> server server response-> client, as well as server…
LDM91
  • 437
  • 1
  • 7
  • 16
0
votes
2 answers

How can I call a python instance using php?

I have a PHP program, and a Python program. You can think that the Python program is like a robot or machine. Typically, it will use a database, do some analysis and return result for you. It is a plain text console application. I would like to let…
DNB5brims
  • 29,344
  • 50
  • 131
  • 195
0
votes
2 answers

How to conduct performance tests on libraries written in different programming languages?

The problem is: Given a number of programming libraries with similar or equal scope (e.g. XML parser, regex, markup, ...); are there tools, with which one can run performance tests on these libraries and compare (and generate reports), even though…
miku
  • 181,842
  • 47
  • 306
  • 310
0
votes
1 answer

Python Java Cross communication Servers

+-------------------+ +-------------------+ | Wowza | | Django | |-------------------| |-------------------| +-------------+ | | …
Jasim Muhammed
  • 1,376
  • 1
  • 20
  • 28
0
votes
1 answer

ASP/Javascript - Send ASP value to Javascript Function

Is it possible to call a JS function, with a value from an ASP script? I thought it was possible, so I tried the following method but I can't seem to get it to run. As you can see, I have an ASP variable "totalPages" in the JS call. Response.Write…
TheCarver
  • 19,391
  • 25
  • 99
  • 149
0
votes
1 answer

With doxygen, when should the comments be placed before the entity, and when after?

Here are two styles of commenting on an entity (e.g. in a C/C++ like language). Style 1: // This is a comment // about foo int foo; // This is a comment // about bar int bar; Style 2: int foo; // This is a comment // about foo int bar; …
einpoklum
  • 118,144
  • 57
  • 340
  • 684
0
votes
1 answer

Calling C# function throws "System.AccessViolationException"

This question is a more detailed version of another one I'm trying to get a simple FFI communication between Rust and C#. The idea is to call a Rust function from C# and vice versa. Here's what I have: public class Program { …
Big_Bad_E
  • 947
  • 1
  • 12
  • 23
0
votes
0 answers

How to use C++ std::map in Python with pybind11?

I export a std::map with pybind11 to Python env. But I have no idea how to use it in Python. This is my c++ codes: #include #include #include #include namespace py…
Leon
  • 1,489
  • 1
  • 12
  • 31
0
votes
0 answers

How can I check whether a function is extern-C?

In C++, can I check whether a certain function has been declared "extern C" or not? I don't mind checks restricted to the current translation unit. I'd like to check this at compile-time, but if this is somehow possible only at run-time, that's…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
0
votes
1 answer

How to embed Python within C++ and call each other with PyBind11

I want to embed a Python interpreter within my C++ application, and make them call each other. I followed the sample in the official doc of pybind11, and now I can call a python sub-program and create a object of python's class in the main program…
Leon
  • 1,489
  • 1
  • 12
  • 31
0
votes
0 answers

Running Python in a chrome extension?

I am trying to create a chrome extension which transcribes a Youtube video into text allowing the user to save time. In order to obtain the transcript of the specific video, I use an external Python API called the 'youtube-transcript-api' which…
0
votes
1 answer

Calling C++ from Python without modifying C++ code

I have several (let's say 5-10) large C++ projects. Think around 30-50 files each. These projects are maintained by other teams and I cannot modify their code. At all. I need to call these projects inside a Python script that is supposed to call…
Rares Dima
  • 1,575
  • 1
  • 15
  • 38
1 2 3
8 9