<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: pervasif</title><link>https://news.ycombinator.com/user?id=pervasif</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 25 May 2026 18:33:16 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=pervasif" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by pervasif in "Bytecode VMs in surprising places (2024)"]]></title><description><![CDATA[
<p>These little VMs in applications are everywhere. Apple Mach-O binaries have built in opcodes for binding and rebasing symbols interpreted by (numerous) little VMs in dyld:<p><a href="https://github.com/apple-oss-distributions/dyld/blob/e9da5ae571b4191dcdbcfd827363f19847c84561/common/MachOAnalyzer.cpp#L1439-L1698" rel="nofollow">https://github.com/apple-oss-distributions/dyld/blob/e9da5ae...</a><p><a href="https://github.com/apple-oss-distributions/dyld/blob/e9da5ae571b4191dcdbcfd827363f19847c84561/common/MachOAnalyzer.cpp#L934-L1022" rel="nofollow">https://github.com/apple-oss-distributions/dyld/blob/e9da5ae...</a><p>Their use is less common now since the introduction of the mach-o load command LC_DYLD_CHAINED_FIXUPS, but these opcodes still have to be supported for older binaries. Also, some popular compilers including Zig still emit these opcodes for LC_DYLD_INFO and LC_DYLD_INFO_ONLY.</p>
]]></description><pubDate>Mon, 25 May 2026 14:49:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=48267525</link><dc:creator>pervasif</dc:creator><comments>https://news.ycombinator.com/item?id=48267525</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48267525</guid></item></channel></rss>