rest - HTTP-based API vs. Scripting language-based API, Performance -


according post how-can-i-write-a-set-of-functions-that-can-be-invoked-from-almost-any-program

there discussions how write api can run on of programming languages. me there 2 interesting ways

  1. http-based api
  2. scripting language-based api

where http-based api people talked rest on http (implementating language might c, java or etc) , scripting language-based api or command-line based api people talked lua, python, perl, etc.

and @sk-logic mention "if performance , call latency not issue, consider providing comprehensive command line interface"

so, lead me wondering of performance between http-based api , scripting language-based api. if want make cross-language api solution should use? anyway if have ideas or suggestions cross-language api can post on answer below.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -