<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>faith_and_brave</author_name>
  <author_url>https://blog.hatena.ne.jp/faith_and_brave/</author_url>
  <blog_title>Faith and Brave - C++で遊ぼう</blog_title>
  <blog_url>https://faithandbrave.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>C++26から新たに擬似乱数生成器としてPhiloxというアルゴリズムが入ります。 32ビット版はstd::philox4x32、64ビット版はstd::philox4x64です。 Philoxはカウンターベースの乱数生成器というもので、key (seed) とcounter (4次元の添字) の組み合わせによってランダムアクセスで乱数を生成します。 既存のメルセンヌ・ツイスターを使ったコードを書き換えるほどではない 既存のstd::mt19937を使ったコードを書き換える必要はとくにないですが、新規にゲームを作る場合には、std::mt19937の代替としてPhiloxは有力な選択肢になりま…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F2026%2F08%2F19%2F164010&quot; title=&quot;ゲーム開発で乱数生成としてメルセンヌ・ツイスターの代わりにPhiloxを使う場合に考えること - Faith and Brave - C++で遊ぼう&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>2026-08-19 16:40:10</published>
  <title>ゲーム開発で乱数生成としてメルセンヌ・ツイスターの代わりにPhiloxを使う場合に考えること</title>
  <type>rich</type>
  <url>https://faithandbrave.hateblo.jp/entry/2026/08/19/164010</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
