The Standard Library provides core control helpers, containers, text-processing modules, synchronization utilities, numeric helpers, and platform-specific wrappers for MPL programs.

The visible module names below use module-descriptor form without the trailing .mpl, matching use.

Index

Foundation / Core

controlFoundational schema aliases, low-level runtime bindings, predicates, stack helpers, control combinators, and numeric utilities.

FunctionCallable wrapper schema and callable adaptation helpers.

memoryAllocation, raw memory operations, cached allocation helpers, and heap-usage accounting.

Data Structures and Algorithms

ArrayGrowable array.

AvlMapOrdered map with key-based insertion, search, erasure, and in-order traversal.

DequeDouble-ended queue data structure.

HashTableHash-based map and set module.

IntrusiveDequeIntrusive doubly linked deque over external items.

IntrusiveQueueIntrusive singly linked queue over external items.

IntrusiveStackIntrusive singly linked LIFO stack over external items.

PoolPooled storage with reusable numeric keys.

PriorityQueuePriority queue with customizable comparison.

algorithmCollection interfaces, comparison helpers, iteration adapters, and view slicing utilities.

Structured Values and Object Tools

interfaceInterface-wrapper construction and implementation helpers.

MrefMinimal Ref type with custom semantics.

objectToolsStatic object-formatting helpers and dictionary-shape manipulation utilities.

OwnerOwnership management and move/transfer semantics.

UnionUntagged multi-schema storage and helper operations.

VariantTagged multi-schema storage and helper operations.

Interoperability

CommandLineCommand-line argument view construction and printing.

conventionsCalling-convention descriptor objects for imported and exported procedures.

Text Processing and Serialization

StringUTF-8 string views, owned strings, formatting helpers, and text conversion utilities.

asciiDynamic ASCII code constants grouped under object ascii.

windows/unicodeUTF-8 to zero-terminated UTF-16 conversion helper.

JsonJSON value type, parsing helpers, and serialization helpers.

XmlXML document, parser, and serialization helpers.

Hashing and Checksums

murmurHashMurmur3 32-bit hashing helpers over raw byte storage.

sha1Whole-input and incremental SHA-1 hashing helpers.

Numeric, Randomness, and Geometry

algebraAlgebraic operations, vectors, and matrix utilities.

PoseRigid-transform helpers over position vectors and quaternions.

QuaternionQuaternion construction, normalization, interpolation, and matrix conversion.

RandomLCGLinear congruential pseudo-random generator.

Network and I/O

sync/TcpAcceptorListening TCP acceptor with address reporting and accepted connection creation.

sync/TcpConnectionConnected TCP stream with buffered read, string read, write, and shutdown operations.

fileFile I/O helpers for byte arrays and String values.

Synchronization and Scheduling

atomicAtomic operations and memory-order markers.

lockGuardScope-based locking and unlocking helpers.

SpinlockLightweight spinlock for concurrency control.

sync/ContextSpawned context handle with waiting, output retrieval, and cancellation.

sync/ContextGroupGroup of spawned contexts with shared waiting and cancellation.

sync/EventPersistent event state with clear, set, wait, wake, and wakeOne.

sync/SignalWait queue with wake and wakeOne operations.

sync/syncCross-platform scheduling, sleep, time, IPv4 formatting, and TCP helpers.

Linux

linux/errnoAccessor for platform error-number storage.

linux/linuxLinux epoll and timerfd declarations.

linux/posixPOSIX process, timing, descriptor, and context declarations used by Linux support modules.

linux/ProcessLinux process creation, waiting, and termination helpers.

linux/runningTimeElapsed-time helper built on platform monotonic timing APIs.

linux/socketLinux socket declarations, constants, address schemas, and imported functions.

macOS

macos/errnoAccessor for platform error-number storage.

Windows

windows/ConditionVariableSRW-lock-based condition-variable wrapper.

windows/dispatcherWindows completion-port dispatcher and callback posting helpers.

windows/errnoAccessor for platform error-number storage.

windows/gdi32GDI32 pixel-format and buffer-swap declarations.

windows/hardwareConcurrencyProcessor-count query helper.

windows/kernel32Kernel32 declarations for synchronization, process, thread, file, and timing helpers.

windows/MutexSRW lock wrapper with exclusive and shared locking.

windows/ole32OLE32 COM initialization declarations.

windows/opengl32OpenGL32 WGL context declarations.

windows/ProcessWindows process creation, waiting, and termination helpers.

windows/runningTimeElapsed-time helper built on platform performance counters.

windows/shell32Shell folder path declarations.

windows/ThreadWindows thread wrapper and helper constructor.

windows/unicodeUTF-8 to zero-terminated UTF-16 conversion helper.

windows/user32User32 windowing, message, cursor, monitor, and device-context declarations.

windows/winmmWinMM joystick input declarations.

windows/ws2_32Winsock2 declarations for sockets, overlapped I/O, and address-resolution helpers.