frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Kakehashi Update: Running Apple Clang build and lowering overhead to 1.24x

2•vlad_kalinkin•2h ago
Hello again HN!

After 11 days, I'm back with an update about Kakehashi. I want to thank you for your support! Thank you for all your stars, comments. I didn't expect you to be so interested in the project.

What's new:

I managed to significantly accelerate the implementation process. Now, 7zip lags by just 1.24x compared to native Linux performance, and the Lua build differs literally by 1.5 to 2 seconds from a native launch. The Lua build fails to compile via kh run make due to Linux-specific flags, which mirrors its behavior on native macOS. However, if it is built using kh run gcc -- -Wall -O2 -DLUA_USE_MACOSX -std=c99 onelua.c -lreadline -o /tmp/lua-onelua, everything compiles, builds, and runs perfectly. Overall, I am currently actively working on the following binaries: git, clang, make, xcrun, otool, gcc, curl, 7zip, rm, ls, sh, csh, zsh, bash, and the Rust installation script. Please note that you currently need to manually port the /bin, /sbin, /usr/bin, and /usr/lib/zsh folders from a macOS installation into the guest environment ("bottle") located at ~/.local/share/kakehashi/bottle/, since the entire setup won't work without these core dependencies.

As for the known problems: right now, xcodebuild hits a SIGSEGV, and the Rust installer still fails to work correctly (it exits with error 1, and I haven't been able to pinpoint the exact root cause yet). Additionally, zsh has some bugs with localization and encodings, which surprisingly don't occur in other similar utilities. And, of course, you can still encounter unimplemented symbols and various other errors across different binaries or untested edge cases. It is still far from a finished product, but compared to what it was just 11 days ago, it's in a completely different state.

I would be incredibly grateful for any help with testing, finding edge cases, and uncovering execution bottlenecks—especially in non-standard configurations (such as running the environment from an external drive). Pull requests are also highly welcome. It is simply impossible for me to keep track of everything on my own. Thank you all once again!

Link: https://github.com/wie-project/kakehashi

Ask HN: Should hard-tech founders join a problem or technology-first PhD lab?

10•misterballer•3h ago•8 comments

Ask HN: Does a human still review your code?

5•stikit•3h ago•7 comments

Live Experiment of the Veblen Effect

3•henryfudgeoffic•1h ago•0 comments

Ask HN: What are your unfinished projects?

2•adam_gyroscope•2h ago•1 comments

Kakehashi Update: Running Apple Clang build and lowering overhead to 1.24x

2•vlad_kalinkin•2h ago•0 comments

Ask HN: Why not expand accessibility laws to include the right to use AI?

2•amichail•3h ago•1 comments

Ask HN: Let's all sell our AI stocks, short Nvidia and pop the AI bubble

7•roschdal•1h ago•17 comments

Ask HN: What's the AI Revolution "Model T Ford"?

2•ComputerPerson•3h ago•4 comments

Ask HN: Do you know how much head hunters cost?

3•mojomark•4h ago•10 comments

New DeepSeek Pricing Published (Peak and Off-Peak)

5•mittermayr•8h ago•5 comments

Ask HN: Does AI watermarking present a new attack vector?

4•nathanfig•6h ago•5 comments

Ask HN: In your experience, what are sound conventions for e-ink UI development?

213•BoxOfRain•1w ago•72 comments

Ask HN: Move AI news from Hacker News to somewhere else?

8•thomasfl•9h ago•4 comments

Tell HN: In 2021, there were 4.5 jobs per job seeker vs. 2.5 job seekers/job now

10•ed_balls•23h ago•4 comments

Ask HN: How much money do you spend monthly on subscriptions for AI models?

13•marko-djuric•22h ago•31 comments

Ask HN: How are you preventing brainrot?

8•flyingcoder•14h ago•15 comments

Ask HN: What are you working on? (August 2026)

318•david927•5d ago•1178 comments

Is HTTPS://status.claude.com loading for you all?

7•soorajsanker•12h ago•7 comments

Ask HN: How are you finding the job market in 2026?

17•dzonga•1d ago•19 comments

Ask HN: How can you tell a site/app is vibe coded?

8•gkolli•22h ago•9 comments

Ask HN: Is AI code verification becoming your main bottleneck?

7•ochidaniel4•1d ago•6 comments

Ask HN: What browser do you use?

10•Pieczasz•1d ago•30 comments

Ask HN: Small team devs – how do you collab with UI/UX designers in the AI era?

4•cameronnimmo•1d ago•2 comments

Weekly VSCode Grumbling

3•azatom•1d ago•0 comments

Cmux SSH Lagging

3•217•1d ago•2 comments

You've reached the end!