Skip to content

0.1.9 --- okrun on macOS over openkal-macos 0.17.1 - #15

Merged
Sunrisepeak merged 1 commit into
mainfrom
macos-current
Oct 31, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
macos-current

Conversation

@Sunrisepeak

@Sunrisepeak Sunrisepeak commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

The runner on macOS is built over openkal-macos 0.17.1, whose kal_task_current reads the thread's identifier from libSystem's record instead of a system call per answer. An image's C library (openkal-musl) finds errno, its thread pointer and every emulated thread-local variable through that call: 1.58 million times in one clangd --check. On the macOS arm64 runners clangd.okb parsed 1.25–1.96 times slower than the native clangd while the same image parses as fast on Linux arm64, which answers from a per-thread cache. No change of the format or the loader.

Co-authored-by: speak-agent 248744407+speak-agent@users.noreply.github.com

…ity without a system call

Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
@Sunrisepeak
Sunrisepeak merged commit 8d1f481 into main Oct 31, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant