<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>simotin13</author_name>
  <author_url>https://blog.hatena.ne.jp/simotin13/</author_url>
  <blog_title>simotin13's message</blog_title>
  <blog_url>https://mcommit.hatenadiary.com/</blog_url>
  <categories>
    <anon>C言語</anon>
    <anon>ruby</anon>
  </categories>
  <description>この記事は、低レイヤのコードをRubyで書きたいという人のための拡張モジュール作成入門記事です。Rubyが好きでC言語がある程度分かる方には読んで頂けると参考になるかと思います。※ただし、私が真面目に拡張モジュールを書いていたのはもう5年以上前なので知識が古くなっている可能性があります。この記事を書いた動機ですが、RXマイコンのリンカをRubyで書いていて、Rubyで書いているとC言語の構造体へのアクセスが辛くなってきたので、FFIや拡張モジュールを使うべきだったと感じました。久しぶりに拡張モジュールの書き方など復習してみたので記事にしてみました。FFIも拡張モジュールもちょこちょこと触ってい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmcommit.hatenadiary.com%2Fentry%2F2018%2F08%2F31%2F225001&quot; title=&quot;低レイヤプログラミングのためのRubyの拡張モジュール開発入門 - simotin13&amp;#39;s message&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-08-31 22:50:01</published>
  <title>低レイヤプログラミングのためのRubyの拡張モジュール開発入門</title>
  <type>rich</type>
  <url>https://mcommit.hatenadiary.com/entry/2018/08/31/225001</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
