问题:
How
can I write a set of functions that can be invoked from (almost) any programming language?
解答:
You have a few options
1) create a HTTP interface, almost everything can talk HTTP so that will get you a lot of languages.
2) Create something that can be linkend into a language runtime, this will be rather time consuming as you will need to find a way to connect it to many different langauges