-3

I have a django web app and my friends have made a messaging app in erlang and I want to combine both of them so that the users and their friends can communicate.

We are trying build something like facebook, their main web languages is php but they use erlang for messanger

Lewis Wedmore
  • 45
  • 2
  • 9
  • You create libraries and import them to the foreign code. https://stackoverflow.com/questions/1408417/can-you-compile-php-code – yacc Nov 04 '17 at 14:33
  • How do i do that with python – Lewis Wedmore Nov 04 '17 at 14:39
  • google *python library compile* https://stackoverflow.com/questions/4650243/convert-python-program-to-c-c-code – yacc Nov 04 '17 at 14:42
  • Read up on [IPC](https://en.wikipedia.org/wiki/Inter-process_communication). These days IPC usually means performing HTTP requests, and since you appear to show low familiarity with these matters, HTTP supposedly is the way to go. – kostix Nov 07 '17 at 08:42

1 Answers1

1

HTTP Rest API, you can communicate Java with Erlang, With C++, With Python, Haskel, just about anything that you can turn into a small server and create a Rest API you can use to communicate multiple services without having ever to care for which language they were created with.

Lucas Coppio
  • 328
  • 2
  • 12