<?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>Bugsik</title>
    <link>https://blog.bugsiki.dev/</link>
    <description>Recent content on Bugsik</description>
    <generator>Hugo -- 0.118.2</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 07 Jan 2026 12:48:00 +0800</lastBuildDate>
    <atom:link href="https://blog.bugsiki.dev/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>PMU Counters on Apple Silicon</title>
      <link>https://blog.bugsiki.dev/posts/apple-pmu/</link>
      <pubDate>Wed, 07 Jan 2026 12:48:00 +0800</pubDate>
      <guid>https://blog.bugsiki.dev/posts/apple-pmu/</guid>
      <description>Last time I wrote about profiling in Zig on Apple Silicon, I touched on PMU counter profiling. This time I decided to go further and create my own tool to fetch all available counters for Apple Silicon processors (M1, M2, and later).
Brief explanation of PMU counters PMU (Performance Monitoring Unit) counters are hardware counters that track microarchitectural events inside the CPU, e.g. executed instructions, retired operations, branches, cache misses, and more.</description>
    </item>
    <item>
      <title>Zig profiling on Apple Silicon</title>
      <link>https://blog.bugsiki.dev/posts/zig-profilers/</link>
      <pubDate>Mon, 28 Jul 2025 21:00:00 +0200</pubDate>
      <guid>https://blog.bugsiki.dev/posts/zig-profilers/</guid>
      <description>If you&amp;rsquo;re a developer rocking an Apple Silicon Mac and writing in Zig, congratulations - you&amp;rsquo;ve chosen the scenic route through the desert of profiling tools. It&amp;rsquo;s just you, your code, and a tumbleweed named Apple Instruments. But don&amp;rsquo;t worry - we&amp;rsquo;ll try to find some oases.
Okay, it&amp;rsquo;s not that bad, but we&amp;rsquo;re far away from the rich ecosystem of profiling tools available on Linux.
Note:
I have limited experience using low-level languages, so this article doesn&amp;rsquo;t provide a deep dive into profiling, but rather serves as an entry point to the world of profiling.</description>
    </item>
    <item>
      <title>Replace your *env tools with Mise</title>
      <link>https://blog.bugsiki.dev/posts/mise/</link>
      <pubDate>Sun, 17 Nov 2024 16:40:28 +0100</pubDate>
      <guid>https://blog.bugsiki.dev/posts/mise/</guid>
      <description>I&amp;rsquo;ve noticed that starting a new fish shell takes at least 2 seconds, and it&amp;rsquo;s really starting to annoy me.
Profiling I decided to profile my config.fish script. Since I couldn&amp;rsquo;t find any profilers, I resorted to the oldest method: putting print and time statements everywhere in my fish script. I quickly found that the main bottleneck was the section initializing my env tools, so I wrapped it in the time command to measure the execution time.</description>
    </item>
    <item>
      <title>Terminal Offline Documentation</title>
      <link>https://blog.bugsiki.dev/posts/dedoc/</link>
      <pubDate>Thu, 10 Oct 2024 00:26:11 +0200</pubDate>
      <guid>https://blog.bugsiki.dev/posts/dedoc/</guid>
      <description>If you&amp;rsquo;re looking for a TUI alternative to Devdocs/Zeal/Dash, you are in the right place.
Dedoc Dedoc is a small CLI tool for fetching documentation from the Devdocs API. It&amp;rsquo;s written in Rust and it just works.
Commands dedoc fetch - Get the latest metainfo of available documentations. dedoc list - List all available documentation, have to be run after dedoc fetch. dedoc download &amp;lt;doc&amp;gt; - Download the documentation. dedoc search &amp;lt;query&amp;gt; - Search for a documentation.</description>
    </item>
    <item>
      <title>The best type checker for Python</title>
      <link>https://blog.bugsiki.dev/posts/type-checkers/</link>
      <pubDate>Tue, 14 May 2024 23:21:57 +0200</pubDate>
      <guid>https://blog.bugsiki.dev/posts/type-checkers/</guid>
      <description>I&amp;rsquo;ve struggled choosing the best type checker for Python. Let&amp;rsquo;s compare them and decide which one is the best.
Requirements The choice of a type checker depends on several factors. I&amp;rsquo;ve set the following requirements:
Maintainability Integration with the IDE Ease of use Popularity Candidates I&amp;rsquo;ve picked several candidates for comparison based on their popularity and the number of stars on GitHub. The initial analysis of their repositories provides the following statistics:</description>
    </item>
  </channel>
</rss>
