language-interoperability Questions

1

Solved

A very simple question: are there any guarantees that a C int is the same thing as a C++ int, on the same system? It goes without saying that this is, of course, a purely theoretical question. Th...
Mellisa asked 29/1, 2014 at 3:51

2

Solved

I know that many large-scale applications such as video games are created using multiple langages. For example, it's likely the game/physics engines are written in C++ while gameplay tasks, GUI are...
Burdette asked 6/7, 2013 at 20:49

4

A Java API returns a java.util.Map<java.lang.String,java.lang.Boolean>;. I would like to put that into a Map[String,Boolean] So imagine we have: var scalaMap : Map[String,Boolean] = Map.emp...
Amphigory asked 22/6, 2009 at 15:33

2

Solved

I am a Scala beginner and coming from Object Oriented Paradigm. While understanding Functional programming part of Scala, I was directed to Haskell - the pure Functional programming language. Exp...
Precipitin asked 22/6, 2012 at 19:19

2

Solved

I am a web developer, and I have observed that many times I need the same function on both client and server. So I write it in JS as well as in PHP or whichever server side language. I am fed up wi...

1

Solved

I have a web page loaded in a QWebView. In there, I would like to have JavaScript call a function of my application. That function would then returns some strings that JavaScript would dynamically ...
Least asked 8/3, 2012 at 9:15

2

Solved

What are current solutions to Haskell/Java interop? I've seen the paper on Lambada by Meijer and Finne. There is a project called GCJNI, but it seems to be defunct -- links to it are broken. Is the...
Frightened asked 10/3, 2012 at 21:5

2

Solved

How do you call scanf from Ada? That is, presumably with an appropriate pragma import declaration, but what would the declaration look like? (I'm interested in how to call C functions of the more ...
Fasciculus asked 8/1, 2012 at 9:58

2

I am trying to instantiate and call methods on a .net object created from a dll from coldfusion. This works when I call methods with one or zero arguments but fails with - System.MissingMethodEx...
Pseudohemophilia asked 10/6, 2011 at 17:11

4

Solved

Can I create a class in VB.NET which can be used from C# like that: myObject.Objects[index].Prop = 1234; Sure I could create a property which returns an array. But the requirement is that the in...
Nation asked 13/5, 2011 at 12:44

6

Solved

I know this question has been asked, at least here. But there wasn't a satisfactory answer, at least not to me. There is a lot of talk about marshalling as regards interoperating with unmanaged co...

3

Solved

I have one large project with components in multiple languages that each depend on some of the same enum values. What solutions have you come up with to unify enums across multiple arbitrary langua...
Carhart asked 17/12, 2010 at 17:6

3

In a system which requires use of multiple languages, what are the best practices to ensure a loosely-coupled architecture when code is calling another language's code?
Kutenai asked 1/5, 2010 at 12:24

1

Solved

I've ran into a problem recently while developing with Spring Security. It has an interface GrantedAuthority with following signature: public interface GrantedAuthority extends Serializable, Compa...
Bevus asked 13/2, 2010 at 19:23

5

Solved

I'm working on some Java <-> Perl interaction. I would like to know what the best way is to pass information from Perl to Java. (Great answers about Perl and Java here and here btw). There's a ...
Unguentum asked 4/3, 2009 at 16:41

2

Solved

When I try to run the following code (from the REPL) in Clojure: (dotimes [i 5] (.start (Thread. (fn [] (Thread/sleep (rand 1000)) (println (format "Finished %d on %s" i (Thread/currentThread...
Beitch asked 4/12, 2008 at 22:3

© 2022 - 2024 — McMap. All rights reserved.