Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

could you clarify what kinds of things are stored in the standard library, and how they are included, including their relevancy for particular types of programs ?



Currently, all there is are some simple stack manipulators, simple math stuff, a Pair (tuple) type, a Maybe (nullish) type and a linked List.

The stdlib will get more datastructures (Array, Dict, Set, Result, Triple...), some basic side effects (randomness, time) and functions to map to wasm intrinsics like bit-shift and math operations.

My aim is to keep the stdlib relatively small and portable between wasi and browser environments.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: