What are good ways to develop software architectures using multiple languages?
25th December 2012
My answer to What are good ways to develop software architectures using multiple languages? on Quora
There are a bunch of options for communicating between different languages, but these days the simplest is definitely JSON—it maps directly to common data structures in PHP, Python, Ruby and so on. Treat it as your common interchange format and you can’t go far wrong. It’s very easy to build simple internal web services on top of JSON.
If you’re making sensible use of databases, there’s no reason not to have different languages talking to the same database—though this can get messy if your data model frequently changes.
More recent articles
- Qwen2.5-Coder-32B is an LLM that can code well that runs on my Mac - 12th November 2024
- Visualizing local election results with Datasette, Observable and MapLibre GL - 9th November 2024
- Project: VERDAD - tracking misinformation in radio broadcasts using Gemini 1.5 - 7th November 2024