<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xtalco</author_name>
  <author_url>https://blog.hatena.ne.jp/xtalco/</author_url>
  <blog_title>新言語 Xtalを作る日記</blog_title>
  <blog_url>https://xtalco.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>たとえばluaでは、数学系の関数をluaから使いたいという場合、 lua_State *L = lua_open(); luaopen_math(L); というように、luaopen_math()を呼ぶ必要があります。これはsquirrelでもそうだったはずです。 使わないライブラリでメモリを圧迫しないようにできるわけですが、ちょっと面倒にも思います。Xtalでは必要なときに自動的にバインドされる機構を入れました。 f: math::sin(1); // ここでmathのメンバがバインドされる Xtalでは、使わないときはバインドされないし、使う際は何もC++側をいじることなく使うことができる…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxtalco.hatenadiary.org%2Fentry%2F20100121%2F1264044900&quot; title=&quot; 標準ライブラリのバインド - 新言語 Xtalを作る日記&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>2010-01-21 12:35:00</published>
  <title> 標準ライブラリのバインド</title>
  <type>rich</type>
  <url>https://xtalco.hatenadiary.org/entry/20100121/1264044900</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
