Stdlib module runtime.vitl

This page is a wiki-style reference for one concrete stdlib file. It explains what the file owns, where it fits in the family, and how to decide whether this is the right surface to depend on.

Visual portrait of runtime.vitl
Wiki-style portrait for runtime.vitl.

Family: stdlib

Kind: public stdlib surface

Page style: this reference follows the same “encyclopedic card + portrait + usage contract” logic as the keyword pages, but for stdlib modules.

Summary

Overview

FieldValue
Pathruntime.vitl
Familystdlib
Kindpublic stdlib surface
Line count560
Declared procedures92
Declared forms/picks37

`runtime.vitl` is a public stdlib surface inside the `stdlib` family. It should be read as one focused slice of the broader family responsibility: Top-level map of the Vitte standard library and the responsibilities owned by each family.

Purpose

This file should be chosen because of responsibility, not because its name “sounds close enough”. Inside the stdlib family, it carries one focused part of the contract and keeps that responsibility separate from neighboring concerns.

  • Domain values start in `core` and `strings`.
  • Grouped data moves through `collections` or `data`.
  • Structured export goes through `json` and `encoding`.
  • Filesystem or process interaction goes through `path`, `io`, `os`, or `sysinfo`.
  • Explicit runtime coordination goes through `async`, `threading`, `kernel`, or `ffi`.

Taxonomy

Think of this page as a generated encyclopedia entry rather than a hand-written tutorial. The goal is to show what kind of module this is, how dense it is, and what reading strategy makes sense before depending on it.

  • Large algorithm surface: this file exposes many procedures and likely acts as a domain toolkit rather than a single thin wrapper.
  • Owns domain vocabulary: the module declares data shapes in addition to executable helpers, so its types are part of the contract.
  • Minimal top-level dependencies: the module reads as mostly self-contained from its opening declarations.
  • Explicit export surface: the file ends with visible export declarations instead of relying only on implicit namespace discovery.

Implementation profile

This profile is inferred directly from the source text. It does not replace reading the file, but it tells you quickly whether the module is mostly declarative, loop-heavy, branch-heavy, or organized around many small exits.

SignalCountWhat it suggests
if0Branching density and local decision-making.
while0Loop-heavy or iterative implementation style.
for0Collection-style traversal at source level.
match0Variant-driven branching or grammar-style decoding.
let5Local state and intermediate value density.
give92Number of explicit exit points and result shaping.

Top-level API inventory

SurfaceItems
Proceduresalloc, dealloc, runtime_panic, runtime_panic_boundary_begin, runtime_panic_boundary_end, runtime_panic_boundary_triggered, runtime_panic_boundary_code, runtime_panic_boundary_reset, assert_true, print_i32, runtime_unreachable, terminate
FormsString, Slice, Pair, IoError, IpV4, IpV6, SocketAddr, TcpStream, TcpListener, UdpSocket, UdpRecv, JsonMember
PicksOptionString, IoErrorKind, ResultIo, Result, IpAddr, JsonValue, RegexMatch, OptionRegexMatch, FswatchEventKind, HttpMethod
Constantsnone declared at top level
Exports*

Imported surfaces

This file does not advertise a top-level `use` surface in its opening declarations. That often means it is either self-contained or an aggregation layer.

Position in family

This file is module 13 of 15 in the stdlib family when ordered by path. By procedure count it ranks 5, and by line count it ranks 6. Those ranks are useful as rough signals of breadth, not as quality judgments.

Declaration map

The declaration map turns raw source into a scan-friendly catalog. It is useful when the file is large enough that a reader wants to orient by kinds of surfaces first.

LineNameKindRole
1vitte/stdlib_checked/runtimespaceDeclares the namespace that anchors this file in the stdlib tree.
9StringformIntroduces a structured data shape that other procedures can exchange.
13SliceformIntroduces a structured data shape that other procedures can exchange.
17PairformIntroduces a structured data shape that other procedures can exchange.
21OptionStringpickIntroduces a tagged variant type used to model distinct outcomes.
25IoErrorKindpickIntroduces a tagged variant type used to model distinct outcomes.
29IoErrorformIntroduces a structured data shape that other procedures can exchange.
33ResultIopickIntroduces a tagged variant type used to model distinct outcomes.
37ResultpickIntroduces a tagged variant type used to model distinct outcomes.
41IpV4formIntroduces a structured data shape that other procedures can exchange.
45IpV6formIntroduces a structured data shape that other procedures can exchange.
49IpAddrpickIntroduces a tagged variant type used to model distinct outcomes.
53SocketAddrformIntroduces a structured data shape that other procedures can exchange.
57TcpStreamformIntroduces a structured data shape that other procedures can exchange.
61TcpListenerformIntroduces a structured data shape that other procedures can exchange.
65UdpSocketformIntroduces a structured data shape that other procedures can exchange.
69UdpRecvformIntroduces a structured data shape that other procedures can exchange.
73JsonValuepickIntroduces a tagged variant type used to model distinct outcomes.
77JsonMemberformIntroduces a structured data shape that other procedures can exchange.
81RegexMatchpickIntroduces a tagged variant type used to model distinct outcomes.
85OptionRegexMatchpickIntroduces a tagged variant type used to model distinct outcomes.
89RegexformIntroduces a structured data shape that other procedures can exchange.
93ProcessResultformIntroduces a structured data shape that other procedures can exchange.
97ExitStatusformIntroduces a structured data shape that other procedures can exchange.
101ProcessChildformIntroduces a structured data shape that other procedures can exchange.
105FswatchWatcherformIntroduces a structured data shape that other procedures can exchange.
109FswatchEventKindpickIntroduces a tagged variant type used to model distinct outcomes.
113FswatchEventformIntroduces a structured data shape that other procedures can exchange.
117DbHandleformIntroduces a structured data shape that other procedures can exchange.
121DbEntryformIntroduces a structured data shape that other procedures can exchange.
125HttpMethodpickIntroduces a tagged variant type used to model distinct outcomes.
129HttpHeaderformIntroduces a structured data shape that other procedures can exchange.
133HttpRequestformIntroduces a structured data shape that other procedures can exchange.
137HttpResponseformIntroduces a structured data shape that other procedures can exchange.
141UnitformIntroduces a structured data shape that other procedures can exchange.
145allocprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
149deallocprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
153runtime_panicprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
157runtime_panic_boundary_beginprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
161runtime_panic_boundary_endprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
165runtime_panic_boundary_triggeredprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
169runtime_panic_boundary_codeprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
173runtime_panic_boundary_resetprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
177assert_trueprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
181print_i32procRepresents one top-level surface in the file contract and should be read as part of the module boundary.
185runtime_unreachableprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
189terminateprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
193vitte_c_abi_versionprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
197empty_stringprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
201make_stringprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
205char_to_stringprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
209i32_to_stringprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
213string_concatprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
217empty_slice_i32procRepresents one top-level surface in the file contract and should be read as part of the module boundary.
221empty_slice_stringprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
225slice_push_i32procRepresents one top-level surface in the file contract and should be read as part of the module boundary.
229slice_push_stringprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
233list_i32procOwns a concrete data shape or the operations that maintain it.
237list_stringprocOwns a concrete data shape or the operations that maintain it.
241time_now_msprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
245time_sleep_msprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
249env_getprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
253env_setprocOwns a concrete data shape or the operations that maintain it.
257os_platformprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
261os_archprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
265os_home_dirprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
269os_temp_dirprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
273os_current_dirprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
277os_set_current_dirprocOwns a concrete data shape or the operations that maintain it.
281os_exe_pathprocOwns path semantics, traversal, or normalization.
285os_path_sepprocOwns path semantics, traversal, or normalization.
289process_runprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
293process_run_argsprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
297process_run_shellprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
301process_spawnprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
305process_waitprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
309process_killprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
313process_stdoutprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
317process_stderrprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
321json_parseprocTransforms an input representation into a structured internal value.
325json_stringifyprocTurns internal values into a transport or textual representation.
329http_requestprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
333crypto_sha256procRepresents one top-level surface in the file contract and should be read as part of the module boundary.
337crypto_sha1procRepresents one top-level surface in the file contract and should be read as part of the module boundary.
341crypto_hmac_sha256procImplements a security-sensitive transformation in the crypto boundary.
345crypto_rand_bytesprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
349tcp_connectprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
353tcp_bindprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
357tcp_acceptprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
361tcp_readprocOwns byte movement or host I/O interaction.
365tcp_writeprocOwns byte movement or host I/O interaction.
369tcp_closeprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
373udp_bindprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
377udp_recv_fromprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
381udp_send_toprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
385udp_closeprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
389udp_set_nonblockingprocOwns a concrete data shape or the operations that maintain it.
393udp_set_read_timeoutprocOwns byte movement or host I/O interaction.
397udp_set_write_timeoutprocOwns byte movement or host I/O interaction.
401tcp_set_nonblockingprocOwns a concrete data shape or the operations that maintain it.
405tcp_set_read_timeoutprocOwns byte movement or host I/O interaction.
409tcp_set_write_timeoutprocOwns byte movement or host I/O interaction.
413regex_compileprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
417regex_is_matchprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
421regex_findprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
425regex_replaceprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
429regex_splitprocOwns path semantics, traversal, or normalization.
433fswatch_watchprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
437fswatch_pollprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
441fswatch_closeprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
445db_openprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
449db_closeprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
453db_setprocOwns a concrete data shape or the operations that maintain it.
457db_getprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
461db_deleteprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
465db_keysprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
469db_keys_prefixprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
473db_batch_putprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
477db_beginprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
481db_commitprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
485db_rollbackprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
489RuntimeManifestformIntroduces a structured data shape that other procedures can exchange.
495RuntimeHealthformIntroduces a structured data shape that other procedures can exchange.
503RuntimeSummaryformIntroduces a structured data shape that other procedures can exchange.
508runtime_versionprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
512runtime_readyprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
516runtime_manifestprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
524runtime_healthprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
538runtime_summaryprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.
545runtime_selftestprocRepresents one top-level surface in the file contract and should be read as part of the module boundary.

The table is exhaustive for top-level declarations of the selected kinds. This file declares 130 matching surfaces.

Representative signatures

These signatures are shown in source order so the page keeps the feel of a reference manual, not just a keyword cloud.

  • form String { (line 9)
  • form Slice { (line 13)
  • form Pair { (line 17)
  • pick OptionString { (line 21)
  • pick IoErrorKind { (line 25)
  • form IoError { (line 29)
  • pick ResultIo { (line 33)
  • pick Result { (line 37)
  • form IpV4 { (line 41)
  • form IpV6 { (line 45)
  • pick IpAddr { (line 49)
  • form SocketAddr { (line 53)
  • form TcpStream { (line 57)
  • form TcpListener { (line 61)
  • form UdpSocket { (line 65)
  • form UdpRecv { (line 69)
  • pick JsonValue { (line 73)
  • form JsonMember { (line 77)

The list is intentionally capped here; the source file declares 129 matching signatures in total.

How to use this module

Start by reading the file as an ownership boundary. Ask three questions: what enters this module, what stable types or procedures it exports, and what adjacent module should stay outside of it.

  1. Read space and top-level imports first so the ownership boundary of runtime.vitl is explicit.
  2. Read declared forms and picks before algorithms so the data vocabulary is stable in your head.
  3. Traverse procedures in source order; the early helpers usually explain the naming and numeric conventions used later.
  4. Only after that compare neighbor modules, because the right boundary choice matters more than memorizing one helper name.

User example

This example is generated from the actual stdlib module surface. Its job is not to be the smallest snippet possible; its job is to show a realistic consumer-shaped file that exercises the module and mirrors the language keywords the module itself relies on.

space demo/runtime
form DemoState {
  ready: bool,
  note: string
}
proc run_example() -> DemoState {
  let ready: bool = runtime_ready()
  give DemoState { ready: ready, note: "ok" }
}
export run_example

Keyword coverage

This table makes the “all keywords of the module” requirement auditable. It compares the detected Vitte keywords in the source file with the generated consumer example above.

KeywordPresent in module sourceUsed in generated user example
spaceyesyes
formyesyes
pickyesno
procyesyes
letyesyes
giveyesyes
exportyesyes
trueyesno
andyesno

Keywords still not exercised directly in the generated snippet: pick, true, and. The page still lists them here so the gap is visible.

Source shape

space vitte/stdlib_checked/runtime
form String {
  value: int
}
form Slice {
  value: int
}
form Pair {
  value: int
}

The excerpt is not meant to replace the file. It exists to make the module recognizable at first glance, the same way a Wikipedia infobox helps the reader orient before reading the whole article.

Source landmarks

Large files are easier to retain when they have visible landmarks. When the source contains explicit section banners, they are surfaced here; otherwise the first major declarations are used as anchors.

  • Line 1: space vitte/stdlib_checked/runtime
  • Line 9: form String {
  • Line 13: form Slice {
  • Line 17: form Pair {
  • Line 21: pick OptionString {
  • Line 25: pick IoErrorKind {
  • Line 29: form IoError {
  • Line 33: pick ResultIo {

Source organization

When a file carries its own internal chaptering, those chapters usually reveal the intended reading order better than a flat symbol list. This section reconstructs that organization from the source itself.

File surfaces

Top-level items: 131. Procedures: 92. Data surfaces: 37. Constants: 0.

First visible names: vitte/stdlib_checked/runtime, String, Slice, Pair, OptionString, IoErrorKind, IoError, ResultIo, Result, IpV4

Complete API catalog

This catalog is the exhaustive file-level index for the module. It is intentionally closer to a generated encyclopedia appendix than to a tutorial summary.

Data surfaces

LineNameSignatureRole
9Stringform String {Introduces a structured data shape that other procedures can exchange.
13Sliceform Slice {Introduces a structured data shape that other procedures can exchange.
17Pairform Pair {Introduces a structured data shape that other procedures can exchange.
21OptionStringpick OptionString {Introduces a tagged variant type used to model distinct outcomes.
25IoErrorKindpick IoErrorKind {Introduces a tagged variant type used to model distinct outcomes.
29IoErrorform IoError {Introduces a structured data shape that other procedures can exchange.
33ResultIopick ResultIo {Introduces a tagged variant type used to model distinct outcomes.
37Resultpick Result {Introduces a tagged variant type used to model distinct outcomes.
41IpV4form IpV4 {Introduces a structured data shape that other procedures can exchange.
45IpV6form IpV6 {Introduces a structured data shape that other procedures can exchange.
49IpAddrpick IpAddr {Introduces a tagged variant type used to model distinct outcomes.
53SocketAddrform SocketAddr {Introduces a structured data shape that other procedures can exchange.
57TcpStreamform TcpStream {Introduces a structured data shape that other procedures can exchange.
61TcpListenerform TcpListener {Introduces a structured data shape that other procedures can exchange.
65UdpSocketform UdpSocket {Introduces a structured data shape that other procedures can exchange.
69UdpRecvform UdpRecv {Introduces a structured data shape that other procedures can exchange.
73JsonValuepick JsonValue {Introduces a tagged variant type used to model distinct outcomes.
77JsonMemberform JsonMember {Introduces a structured data shape that other procedures can exchange.
81RegexMatchpick RegexMatch {Introduces a tagged variant type used to model distinct outcomes.
85OptionRegexMatchpick OptionRegexMatch {Introduces a tagged variant type used to model distinct outcomes.
89Regexform Regex {Introduces a structured data shape that other procedures can exchange.
93ProcessResultform ProcessResult {Introduces a structured data shape that other procedures can exchange.
97ExitStatusform ExitStatus {Introduces a structured data shape that other procedures can exchange.
101ProcessChildform ProcessChild {Introduces a structured data shape that other procedures can exchange.
105FswatchWatcherform FswatchWatcher {Introduces a structured data shape that other procedures can exchange.
109FswatchEventKindpick FswatchEventKind {Introduces a tagged variant type used to model distinct outcomes.
113FswatchEventform FswatchEvent {Introduces a structured data shape that other procedures can exchange.
117DbHandleform DbHandle {Introduces a structured data shape that other procedures can exchange.
121DbEntryform DbEntry {Introduces a structured data shape that other procedures can exchange.
125HttpMethodpick HttpMethod {Introduces a tagged variant type used to model distinct outcomes.
129HttpHeaderform HttpHeader {Introduces a structured data shape that other procedures can exchange.
133HttpRequestform HttpRequest {Introduces a structured data shape that other procedures can exchange.
137HttpResponseform HttpResponse {Introduces a structured data shape that other procedures can exchange.
141Unitform Unit {Introduces a structured data shape that other procedures can exchange.
489RuntimeManifestform RuntimeManifest {Introduces a structured data shape that other procedures can exchange.
495RuntimeHealthform RuntimeHealth {Introduces a structured data shape that other procedures can exchange.
503RuntimeSummaryform RuntimeSummary {Introduces a structured data shape that other procedures can exchange.

Procedures

LineNameSignatureRole
145allocproc alloc() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
149deallocproc dealloc() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
153runtime_panicproc runtime_panic() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
157runtime_panic_boundary_beginproc runtime_panic_boundary_begin() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
161runtime_panic_boundary_endproc runtime_panic_boundary_end() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
165runtime_panic_boundary_triggeredproc runtime_panic_boundary_triggered() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
169runtime_panic_boundary_codeproc runtime_panic_boundary_code() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
173runtime_panic_boundary_resetproc runtime_panic_boundary_reset() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
177assert_trueproc assert_true() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
181print_i32proc print_i32() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
185runtime_unreachableproc runtime_unreachable() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
189terminateproc terminate() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
193vitte_c_abi_versionproc vitte_c_abi_version() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
197empty_stringproc empty_string() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
201make_stringproc make_string() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
205char_to_stringproc char_to_string() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
209i32_to_stringproc i32_to_string() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
213string_concatproc string_concat() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
217empty_slice_i32proc empty_slice_i32() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
221empty_slice_stringproc empty_slice_string() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
225slice_push_i32proc slice_push_i32() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
229slice_push_stringproc slice_push_string() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
233list_i32proc list_i32() -> int {Owns a concrete data shape or the operations that maintain it.
237list_stringproc list_string() -> int {Owns a concrete data shape or the operations that maintain it.
241time_now_msproc time_now_ms() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
245time_sleep_msproc time_sleep_ms() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
249env_getproc env_get() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
253env_setproc env_set() -> int {Owns a concrete data shape or the operations that maintain it.
257os_platformproc os_platform() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
261os_archproc os_arch() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
265os_home_dirproc os_home_dir() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
269os_temp_dirproc os_temp_dir() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
273os_current_dirproc os_current_dir() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
277os_set_current_dirproc os_set_current_dir() -> int {Owns a concrete data shape or the operations that maintain it.
281os_exe_pathproc os_exe_path() -> int {Owns path semantics, traversal, or normalization.
285os_path_sepproc os_path_sep() -> int {Owns path semantics, traversal, or normalization.
289process_runproc process_run() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
293process_run_argsproc process_run_args() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
297process_run_shellproc process_run_shell() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
301process_spawnproc process_spawn() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
305process_waitproc process_wait() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
309process_killproc process_kill() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
313process_stdoutproc process_stdout() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
317process_stderrproc process_stderr() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
321json_parseproc json_parse() -> int {Transforms an input representation into a structured internal value.
325json_stringifyproc json_stringify() -> int {Turns internal values into a transport or textual representation.
329http_requestproc http_request() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
333crypto_sha256proc crypto_sha256() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
337crypto_sha1proc crypto_sha1() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
341crypto_hmac_sha256proc crypto_hmac_sha256() -> int {Implements a security-sensitive transformation in the crypto boundary.
345crypto_rand_bytesproc crypto_rand_bytes() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
349tcp_connectproc tcp_connect() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
353tcp_bindproc tcp_bind() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
357tcp_acceptproc tcp_accept() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
361tcp_readproc tcp_read() -> int {Owns byte movement or host I/O interaction.
365tcp_writeproc tcp_write() -> int {Owns byte movement or host I/O interaction.
369tcp_closeproc tcp_close() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
373udp_bindproc udp_bind() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
377udp_recv_fromproc udp_recv_from() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
381udp_send_toproc udp_send_to() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
385udp_closeproc udp_close() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
389udp_set_nonblockingproc udp_set_nonblocking() -> int {Owns a concrete data shape or the operations that maintain it.
393udp_set_read_timeoutproc udp_set_read_timeout() -> int {Owns byte movement or host I/O interaction.
397udp_set_write_timeoutproc udp_set_write_timeout() -> int {Owns byte movement or host I/O interaction.
401tcp_set_nonblockingproc tcp_set_nonblocking() -> int {Owns a concrete data shape or the operations that maintain it.
405tcp_set_read_timeoutproc tcp_set_read_timeout() -> int {Owns byte movement or host I/O interaction.
409tcp_set_write_timeoutproc tcp_set_write_timeout() -> int {Owns byte movement or host I/O interaction.
413regex_compileproc regex_compile() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
417regex_is_matchproc regex_is_match() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
421regex_findproc regex_find() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
425regex_replaceproc regex_replace() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
429regex_splitproc regex_split() -> int {Owns path semantics, traversal, or normalization.
433fswatch_watchproc fswatch_watch() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
437fswatch_pollproc fswatch_poll() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
441fswatch_closeproc fswatch_close() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
445db_openproc db_open() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
449db_closeproc db_close() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
453db_setproc db_set() -> int {Owns a concrete data shape or the operations that maintain it.
457db_getproc db_get() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
461db_deleteproc db_delete() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
465db_keysproc db_keys() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
469db_keys_prefixproc db_keys_prefix() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
473db_batch_putproc db_batch_put() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
477db_beginproc db_begin() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
481db_commitproc db_commit() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
485db_rollbackproc db_rollback() -> int {Represents one top-level surface in the file contract and should be read as part of the module boundary.
508runtime_versionproc runtime_version() -> string {Represents one top-level surface in the file contract and should be read as part of the module boundary.
512runtime_readyproc runtime_ready() -> bool {Represents one top-level surface in the file contract and should be read as part of the module boundary.
516runtime_manifestproc runtime_manifest() -> RuntimeManifest {Represents one top-level surface in the file contract and should be read as part of the module boundary.
524runtime_healthproc runtime_health() -> RuntimeHealth {Represents one top-level surface in the file contract and should be read as part of the module boundary.
538runtime_summaryproc runtime_summary() -> RuntimeSummary {Represents one top-level surface in the file contract and should be read as part of the module boundary.
545runtime_selftestproc runtime_selftest() -> bool {Represents one top-level surface in the file contract and should be read as part of the module boundary.

Exports

LineNameSignatureRole
560*export *Re-exports surfaces that the module wants to expose as part of its public boundary.

Integration boundaries

Within stdlib, this file should remain focused. If a future helper changes the host boundary, scheduling boundary, or data-shape boundary, it probably belongs in a neighbor module instead of being added here by convenience.

  • Family responsibility: Top-level map of the Vitte standard library and the responsibilities owned by each family.
  • Family architecture role: A realistic Vitte program usually starts in `core`, grows through `collections` or `data`, crosses textual boundaries with `json` or `encoding`, touches the host with `path` or `io`, and only then reaches system-facing families like `kernel`, `ffi`, `async`, or `threading`.

Composition guidance

Choose this module when

  • Choose runtime.vitl when the main question is owned by this module rather than by transport, storage, orchestration, or user-interface code.
  • Domain values start in `core` and `strings`.
  • Grouped data moves through `collections` or `data`.
  • Structured export goes through `json` and `encoding`.
  • Filesystem or process interaction goes through `path`, `io`, `os`, or `sysinfo`.
  • Explicit runtime coordination goes through `async`, `threading`, `kernel`, or `ffi`.

Pause before extending it when

  • Avoid extending this file when the new helper mostly changes the boundary to host I/O, runtime coordination, or foreign integration instead of staying inside stdlib.
  • Check nearby modules such as GETTING_STARTED.vitl, core_alias.vitl, datetime.vitl before adding convenience wrappers here.

Relationship table

This table keeps the page closer to a real encyclopedia entry: a module is easier to understand when compared with its nearest alternatives in the same family.

NeighborProceduresData surfacesWhy compare it
GETTING_STARTED.vitl260Shares the same family boundary but carries a distinct slice of responsibility.
core_alias.vitl00Shares the same family boundary but carries a distinct slice of responsibility.
datetime.vitl13816Shares the same family boundary but carries a distinct slice of responsibility.
graphics.vitl50Shares the same family boundary but carries a distinct slice of responsibility.
memory.vitl13716Shares the same family boundary but carries a distinct slice of responsibility.
mod.vit162Shares the same family boundary but carries a distinct slice of responsibility.
network/http.vitl42Shares the same family boundary but carries a distinct slice of responsibility.
network/socket.vitl52Shares the same family boundary but carries a distinct slice of responsibility.

Neighbor modules