Advanced terms
Metaclass Patterns
Python 3.6+
Metaclasses customize class creation itself — useful for registries, abstract base enforcement, and ORM column collection, but overused where decorators or __init_subclass__ would do.
2w ago
python advanced
Mixture of Experts (MoE)
Neural network architecture where a gating network routes each token to a small subset of specialist 'expert' sub-networks, enabling huge total parameter counts at moderate per-token compute cost.
1mo ago
ai_ml advanced
Module augmentation lets you extend third-party or global type definitions without modifying their source — adding properties to existing interfaces, modules, or the global scope.
2mo ago
typescript advanced
Memory-Mapped Files
A file mapped directly into a process's virtual address space — reads and writes go through the OS page cache rather than read()/write() syscalls, enabling fast access to large files and shared memory between processes.
2mo ago
linux advanced
Mutex vs Semaphore
PHP 7.0+
1
A mutex allows only one thread to access a resource at a time — a semaphore controls access to a pool of N identical resources.
CWE-362
2mo ago
concurrency advanced
Memory Barriers & Visibility
1
Memory barriers (fences) force the CPU and compiler to complete memory operations in order — ensuring changes made by one thread are visible to others at the right time.
2mo ago
concurrency advanced
Memory Leaks — Closures, Detached DOM
ES2015
JavaScript memory leaks occur when references are accidentally retained — common causes: closures holding large objects, detached DOM nodes, forgotten event listeners, and growing Maps/Sets.
2mo ago
javascript advanced
Mapped Types & Template Literal Types
2.1
Mapped types transform existing types by iterating over their keys. Template literal types create string union types from combinations — together they enable powerful type-level transformations.
3mo ago
typescript advanced
Memory Visibility & Cache Coherence
In multi-processor systems, each CPU has a cache — writes by one CPU may not be visible to others without memory barriers. PHP's process-per-request model avoids most visibility issues.
3mo ago
concurrency advanced
Message Ordering Guarantees
Different message systems provide different ordering: Kafka guarantees order within a partition, SQS Standard does not guarantee order, SQS FIFO guarantees order within a message group.
3mo ago
messaging advanced
Multi-Cloud vs Single-Cloud
Multi-cloud reduces vendor lock-in but doubles operational complexity — most lock-in comes from cloud-native services not the platform itself.
3mo ago
cloud advanced
Materialized Views
PHP 5.0+
Pre-computed query results stored as a real table — dramatically faster reads for expensive aggregations at the cost of periodic refresh overhead.
3mo ago
performance advanced
An architectural style that structures an application as a collection of small, independently deployable services organised around business capabilities.
3mo ago
architecture advanced
Model Context Protocol (MCP)
PHP 8.0+
An open standard by Anthropic that defines how AI models connect to external tools and data sources — enabling LLMs to call APIs, read files, and query databases in a standardised way.
3mo ago
ai_ml advanced
A technique that automatically modifies source code and checks whether tests fail — surviving mutations indicate test gaps even where line coverage appears complete.
3mo ago
testing advanced