> For the complete documentation index, see [llms.txt](https://cloud.secondstate.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cloud.secondstate.io/server-side-webassembly.md).

# Server-side WebAssembly

- [Why?](https://cloud.secondstate.io/server-side-webassembly/why.md): WebAssembly could improve security and efficiency of web services
- [WebAssembly vs native code](https://cloud.secondstate.io/server-side-webassembly/why/webassembly-vs-native-code.md): How can WebAssembly and Rust programs benefit your web and services application
- [Getting started](https://cloud.secondstate.io/server-side-webassembly/getting-started.md): High-performance Rust functions in Node.js
- [VS Codespaces](https://cloud.secondstate.io/server-side-webassembly/getting-started/the-no-software-approach.md): Get started with Rust functions in Node.js app without installing any software
- [The ssvmup tool](https://cloud.secondstate.io/server-side-webassembly/getting-started/the-ssvmup-tool.md): The compiler toolchain for Rust functions in JavaScript
- [Rust functions in Node.js](https://cloud.secondstate.io/server-side-webassembly/pass-any-argument-and-return-any-value.md): Calling any Rust function from Node.js JavaScript code
- [Access system resources](https://cloud.secondstate.io/server-side-webassembly/enterprise-webassembly.md): How to access resources outside of the WebAssembly sandbox
- [WASI](https://cloud.secondstate.io/server-side-webassembly/enterprise-webassembly/wasi.md): Access system resources, such as random numbers, file system, and network from WebAssembly applications
- [The storage interface](https://cloud.secondstate.io/server-side-webassembly/enterprise-webassembly/the-storage-interface.md): Access high performance storage and databases from a Rust API
- [The inference interface](https://cloud.secondstate.io/server-side-webassembly/enterprise-webassembly/the-inference-hardware-interface.md): Use AI hardware to accelerate inference operations in WebAssembly
- [Examples and use cases](https://cloud.secondstate.io/server-side-webassembly/examples-and-use-cases.md): High performance, safe, portable, and manageable server-side apps using Rust
- [Encryption and decryption](https://cloud.secondstate.io/server-side-webassembly/examples-and-use-cases/encryption-and-decryption.md): Use RSA public key algorithms to encrypt and decrypt
- [Machine learning](https://cloud.secondstate.io/server-side-webassembly/examples-and-use-cases/machine-learning.md): Use k-means clustering algorithm to classify data points
- [Artificial intelligence](https://cloud.secondstate.io/server-side-webassembly/examples-and-use-cases/artificial-intelligence.md): Image recognition using Tensorflow
- [SSVM Performance](https://cloud.secondstate.io/server-side-webassembly/performance.md): Performance benchmark for the SSVM against other WebAssembly runtimes


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cloud.secondstate.io/server-side-webassembly.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
