现在的位置: 首页 > 综合 > 正文

想写一些function能被任何语言调用的方法

2013年08月11日 ⁄ 综合 ⁄ 共 325字 ⁄ 字号 评论关闭

问题:

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

抱歉!评论已关闭.