1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/runtime
2023-06-24 14:15:15 +03:00
..
free_memory_impl_darwin.c.v
free_memory_impl_default.c.v
free_memory_impl_linux.c.v
README.md runtime: add new functions total_memory/0 and free_memory/0 (#18499) 2023-06-24 14:15:15 +03:00
runtime_nix.c.v
runtime_test.v
runtime_windows.c.v
runtime.v

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.