<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hkoba501</author_name>
  <author_url>https://blog.hatena.ne.jp/hkoba501/</author_url>
  <blog_title>hkoba blog</blog_title>
  <blog_url>https://hkoba.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>要約：（XS も含めて）Rust と Perl の相性が良くなったよ！ どんな問題が有って、どうやって改善したか 掛かった時間 要約：（XS も含めて）Rust と Perl の相性が良くなったよ！ 例えば perlxstut の例2, is_even() が、 libperl-rs でこう書けるようになりました： use libperl_rs::{xs_boot, xs_sub, IV}; /// `Mytest::is_even($n)` — returns true if `$n` is even. /// (perlxstut EXAMPLE 2.) #[xs_sub] fn is_e…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhkoba.hatenablog.com%2Fentry%2F2026%2F05%2F09%2F111944&quot; title=&quot;Cのマクロの Rust 化 - libperl-rs 現状報告 - hkoba blog&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>https://cdn-ak.f.st-hatena.com/images/fotolife/h/hkoba501/20260509/20260509110804.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-05-09 11:19:44</published>
  <title>Cのマクロの Rust 化 - libperl-rs 現状報告</title>
  <type>rich</type>
  <url>https://hkoba.hatenablog.com/entry/2026/05/09/111944</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
