<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Native on Tech News Feed</title>
    <link>https://news.dhphong.com/tags/native/</link>
    <description>Recent content in Native on Tech News Feed</description>
    <generator>Hugo -- 0.131.0</generator>
    <language>vi</language>
    <lastBuildDate>Fri, 24 Apr 2026 13:05:00 +0700</lastBuildDate>
    <atom:link href="https://news.dhphong.com/tags/native/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>[Hacker News] Spinel: Ruby AOT Native Compiler</title>
      <link>https://news.dhphong.com/posts/2026-04-24-spinel-ruby-aot-native-compiler/</link>
      <pubDate>Fri, 24 Apr 2026 13:05:00 +0700</pubDate>
      <guid>https://news.dhphong.com/posts/2026-04-24-spinel-ruby-aot-native-compiler/</guid>
      <description>Nguồn: GitHub - matz/spinel
Tóm tắt Spinel là một AOT (Ahead-of-Time) compiler cho Ruby, được tạo bởi Matz — người sáng tạo ngôn ngữ Ruby. Compiler này biên dịch Ruby source code thành native executable bằng cách thực hiện whole-program type inference và sinh ra C code được tối ưu hóa, sau đó biên dịch C code đó bằng trình biên dịch C chuẩn (cc -O2).
Pipeline biên dịch gồm hai bước: spinel_parse dùng thư viện Prism (libprism) để parse Ruby source và serialize AST; spinel_codegen thực hiện type inference và sinh C code.</description>
    </item>
  </channel>
</rss>
