<?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>Hpc on Tech News Feed</title>
    <link>https://news.dhphong.com/tags/hpc/</link>
    <description>Recent content in Hpc on Tech News Feed</description>
    <generator>Hugo -- 0.131.0</generator>
    <language>vi</language>
    <lastBuildDate>Sun, 19 Apr 2026 13:00:43 +0700</lastBuildDate>
    <atom:link href="https://news.dhphong.com/tags/hpc/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>[Hacker News] Binary GCD</title>
      <link>https://news.dhphong.com/posts/2026-04-19-binary-gcd/</link>
      <pubDate>Sun, 19 Apr 2026 13:00:43 +0700</pubDate>
      <guid>https://news.dhphong.com/posts/2026-04-19-binary-gcd/</guid>
      <description>Nguồn: Algorithmica HPC
Tóm tắt Binary GCD (hay Stein&amp;rsquo;s algorithm) là biến thể hiệu quả của thuật toán Euclid để tính ước chung lớn nhất, tận dụng các phép tính bit thay vì phép chia modulo tốn kém. Thay vì dùng a % b, thuật toán sử dụng phép dịch bit và phép trừ — những phép tính có độ trễ thấp hơn nhiều trên CPU hiện đại.
Bài viết trên Algorithmica (dự án giáo dục HPC của Sergey Slotin) trình bày chi tiết các bước tối ưu hóa: loại bỏ số chẵn bằng cách dịch bit, tránh phân nhánh không cần thiết, và cách CPU hiện đại xử lý các nhánh dự đoán.</description>
    </item>
  </channel>
</rss>
