<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>oupo</author_name>
  <author_url>https://blog.hatena.ne.jp/oupo/</author_url>
  <blog_title>oupoの日記</blog_title>
  <blog_url>https://oupo.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>そこそこ速度が必要になるプログラムを書くとき、そうはいっても今時Cは使いたくないかなーと思ったので代替になりそうな言語でベンチマークをとってみた。 今回のベンチマークに使ったのは32ビットの整数演算の実行速度が問われるMTの計算。1000000未満の各非負整数に対してその値をseedとしたMTの一番目の乱数を得てその和も求めるもの。じゃん。 c 0.88 sec d 1.00 sec java 1.01 sec scala 1.60 sec go 0.87 sec コンパイル時の最適化のフラグの設定などはhttps://github.com/oupo/mt-benchmark/blob/mas…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foupo.hatenadiary.com%2Fentry%2F20121211%2F1355198614&quot; title=&quot;いろんな言語で整数演算ベンチマーク - oupoの日記&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/o/oupo/20121211/20121211125802.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-12-11 13:03:34</published>
  <title>いろんな言語で整数演算ベンチマーク</title>
  <type>rich</type>
  <url>https://oupo.hatenadiary.com/entry/20121211/1355198614</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
