v/vlib/runtime
2025-05-10 12:19:30 +03:00
..
free_memory_impl_darwin.c.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
free_memory_impl_default.c.v
free_memory_impl_freebsd.c.v runtime: add free_memory/0 implementation for FreeBSD too (fix #23581) (#23594) 2025-01-29 23:38:14 +02:00
free_memory_impl_linux.c.v os,runtime: workaround for v.c generation instability 2024-05-01 21:51:28 +03:00
free_memory_impl_openbsd.c.v runtime: fix cast error in free_memory implementation for OpenBSD (#24445) 2025-05-10 12:19:30 +03:00
README.md doc: update trim_doc_node_description, make module readmes more uniform (#20792) 2024-02-12 12:38:47 +02:00
runtime.v runtime: force runtime.nr_jobs() to return 1, while V is bootstrapping itself, from vc/ source, that was compiled with -os cross (fix #22991) 2024-11-27 16:20:14 +02:00
runtime_nix.c.v runtime: add note for the availability of the free_memory/0 implementation (#23620) 2025-01-31 19:43:56 +02:00
runtime_test.v
runtime_windows.c.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00

Description

runtime provides access to functions describing the current platform:

  • whether it is 32bit or 64bit
  • how many CPUs/cores are available
  • total/free physical memory
  • whether the platform is little endian or big endian
  • etc.