<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ruby on storck.io</title>
    <link>https://storck.io/tags/ruby/</link>
    <description>Recent content in Ruby on storck.io</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 12 Feb 2026 17:43:38 +0100</lastBuildDate>
    <atom:link href="https://storck.io/tags/ruby/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Calling C# from Ruby with NativeAOT and FFI</title>
      <link>https://storck.io/posts/calling-csharp-from-ruby-nativeaot-ffi/</link>
      <pubDate>Thu, 12 Feb 2026 17:00:00 +0100</pubDate>
      <guid>https://storck.io/posts/calling-csharp-from-ruby-nativeaot-ffi/</guid>
      <description>Some Ruby operations are painfully slow but writing a C extension to fix them is a big commitment. I wanted to explore an alternative: compile C# to a native shared library with NativeAOT and call it from Ruby using FFI. I picked C# because I know it and love its standard library. To see if it holds up I built a benchmark, reimplementing ActiveSupport&amp;rsquo;s String#parameterize in ~20 lines of C# stdlib code.</description>
    </item>
    <item>
      <title>Announcing Xsv 1.0.0</title>
      <link>https://storck.io/posts/announcing-xsv-1-0-0/</link>
      <pubDate>Tue, 26 Jan 2021 11:21:00 +0200</pubDate>
      <guid>https://storck.io/posts/announcing-xsv-1-0-0/</guid>
      <description>Today marks the release of Xsv 1.0.0, a high performance, pure-Ruby gem to parse .xlsx (Excel) files</description>
    </item>
    <item>
      <title>Efficient XML parsing in Ruby</title>
      <link>https://storck.io/posts/efficient-xml-parsing-in-ruby/</link>
      <pubDate>Tue, 02 Jun 2020 10:31:00 +0200</pubDate>
      <guid>https://storck.io/posts/efficient-xml-parsing-in-ruby/</guid>
      <description>&lt;p&gt;&lt;strong&gt;TL;DR I wrote a super fast Excel file reader called &lt;a href=&#34;https://github.com/martijn/xsv&#34;&gt;Xsv&lt;/a&gt;, check it out! It&amp;rsquo;s fast and low on memory because it uses a SAX-based XML parser instead of a DOM-based one. &lt;a href=&#34;https://storck.io/posts/efficient-xml-parsing-in-ruby/&#34;&gt;Here&amp;rsquo;s some benchmarks to prove it.&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Simple API for XML, or SAX for short is an event-based API, of which development started in December 1997 &lt;a href=&#34;https://docstore.mik.ua/orelly/xml/sax2/ch01_04.htm&#34;&gt;1&lt;/a&gt;. It is an alternative to the well-known Document Object Model, which was developed around the same time &lt;a href=&#34;https://www.w3.org/Press/DOM-core&#34;&gt;2&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
