calling-convention

Tag

Cards List
#calling-convention

Performance improvements in libffi

Lobsters Hottest · 4d ago Cached

This article details a performance improvement in libffi, where caching argument placement as a flat list of moves (a 'plan') eliminates redundant reclassification on every function call, offering significant speedups without resorting to JIT compilation.

0 favorites 0 likes
#calling-convention

Windows stack limit checking retrospective, follow-up

The Old New Thing (Raymond Chen) · 2026-06-17 Cached

Raymond Chen follows up on his previous article about stack limit checking on ARM64, addressing a detail about the unconventional use of the x15 register in stack probe functions and comparing register usage across multiple architectures.

0 favorites 0 likes
#calling-convention

The Fil-C Optimized Calling Convention

Hacker News Top · 2026-05-16 Cached

The Fil-C optimized calling convention ensures memory safety for C programs even under adversarial misuse, while maintaining efficiency by omitting safety checks in the common case. It explains the generic and register-passing optimizations that handle type violations via panics or well-defined behavior.

0 favorites 0 likes
← Back to home

Submit Feedback