Repository navigation
feat(post): what a contract check costs on a microcontroller (13 Dec) - #314
Merged
Merged
Conversation
A short for 13 December from the lvgl26 size findings: with GCC 16.2 and enforce each check keeps a 36-byte record in RAM and its full function name in flash; a check in a template gets one per instantiation; quick_enforce links the exception run-time through std::terminate unless it is mapped to abort. Three ARM GCC 16.2 assembly views and a local link table back the numbers. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Ju4yEXENcZNaSNEQWEri2X
The day's 08:00Z slot holds the RAII ffmpeg post. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Ju4yEXENcZNaSNEQWEri2X
…cts-on-a-microcontroller post Card headline: A contract check in GCC 16.2 takes 36 bytes of RAM. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Ju4yEXENcZNaSNEQWEri2X
filipsajdak
force-pushed
the
feat/post-contracts-on-a-microcontroller
branch
from
November 29, 2026 16:37
b5a4712 to
6c450db
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
13 Dec 16:00Z: what a C++26 contract check costs on a microcontroller with GCC 16.2 (a 20 B record and a 16 B source_location in RAM per check under enforce; quick_enforce stores none but links the exception runtime through std::terminate unless terminate maps to abort).
lvgl26 before (03496b8) and after (3a23a478) on a Cortex-M4 in QEMU, against the same screen in plain LVGL C:
Source: RESULTS.md in examples PR #109 (merges first). The lvgl26 disclosure line and status line are in the post.
Commits
feat(post)2.chore(schedule)13 Dec 16:00Z double 3.feat(social)Verification
check:future,check-pubdates,check-llms-sync, prose-lint (post and captions), readability,check-social-render: pass.Merge waits for the owner's go (deadline 12 Dec 20:00Z).
🤖 Generated with Claude Code
https://claude.ai/code/session_01Ju4yEXENcZNaSNEQWEri2X