Raku NativeCalls provide a way to interact with dynamic libraries that follow the C calling convention and are very useful for obtaining information from the operating system, such as memory usage.
In this article we will see how to get the memory usage from a Windows system.
Win32 API provides the MEMORYSTATUSEX
structure: