Skip to content

Instantly share code, notes, and snippets.

@luqui
Created March 26, 2013 01:53
Show Gist options
  • Save luqui/5242487 to your computer and use it in GitHub Desktop.
Save luqui/5242487 to your computer and use it in GitHub Desktop.

Am I too ambitious? Yes. Moving on.

I am very interested in getting things to work together. One of the most annoying parts of software engineering to me is knowing that somebody else has already solved your problem, but not being able to use the solution because the rest of your system is in the wrong language/framework/...

Let's solve that problem. Or at least make a step towards a solution.

So far I've been interested in creating a language / environment in which everything that is programmed in it has this adaptive property. But that is no good, because most people are not using it, so most people will still have the essential problem. I can make my own personal universe in which this problem doesn't exist, but the problem will still exist in the real world. I want to change my focus to solving a problem without creating a universe to do it in.

There is usually some way to get things to work. Let's say you have some Java library to Amazon AWS and you're writing a Haskell program that needs it (I say this because it has happened to me). There are a few of ways to go:

  • Translate the Java program to Haskell or the Haskell program to Java. Any libraries that are used must also be translated, at least enough for the program to run.
  • Write an FFI to call Java from Haskell or Haskell from Java.
  • Write a server in Java with a socket interface that it is easy for Haskell to call, or vice versa.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment