|
|
|
|
|
by jmillikin
1118 days ago
|
|
> Actually there is support for using WASM as a container runtime.
Isn't that what I said?Some container runtimes (such as `runc`) execute a native binary. There are also container runtimes that execute a WASM+WASI binary. So trying to compare WASM with "containers" is like asking "should you deploy your code as x86 or as a container", which isn't a useful question. |
|
Wikipedia describes CGI as "In computing, Common Gateway Interface (CGI) is an interface specification that enables web servers to execute an external program, typically to process user requests.[1]
Such programs are often written in a scripting language and are commonly referred to as CGI scripts, but they may include compiled programs.[2]
A typical use case occurs when a web user submits a web form on a web page that uses CGI. The form's data is sent to the web server within an HTTP request with a URL denoting a CGI script. The web server then launches the CGI script in a new computer process, passing the form data to it. The output of the CGI script, usually in the form of HTML, is returned by the script to the Web server, and the server relays it back to the browser as its response to the browser's request.[3]"
Which bears little resemblance here imo.