I would like to share my own experience in solving this problem. I can feel your pain and confusion, but in reality, it's not overly hard to implement a working solution considering the vast array of options you have if you know what you are doing. Objective Implement a pool of buffers capable of performing two operations - acquire and release. The basic pooling strategy: acquire withdraws a buffe
これまであんまり気の乗らなかった gcc4 だったが、 真面目に gcc4 移行開始、gcc4 の生成コードで気に食わんかった点を潰しに掛かったという話。 最適化フラグの確認 gcc 4.3 以上で -Q --help=optimizersすると最適化フラグの設定が得られる、ことになっている。こんな風: % gcc-4.3 -Q -O2 --help=optimizers The following options control optimizations: -falign-jumps [enabled] -falign-labels [enabled] -falign-loops [disabled] -fargument-alias [enabled] ... まあ余計な御世話がどのフラグのせいか、くらいはこれで分かるっつーか、ひとつずつ地道に enable/disable して コ
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? はじめに 自分のGoプログラムで設定ファイルやJSON周りのコードがどんどん膨れ上がって困り果てていたところ、Viperという、設定ファイルを扱える強力なライブラリを今頃知って、打ち震えた。謳い文句どおり、欲しいと思ってた機能が全部揃っている。世界に代わって泣いた。 この作者はCobraというコマンドラインの引数やオプションを扱うための総合ライブラリも公開していて、この種のライブラリをこいつらだけで終わらせるほどの勢い。これも今度訳しつつ補ってみよう。 ViperもCobraも、同じ作者のpflagというPOSIX/GNUスタイルのコマ
Titanium, OpenGLTitanium Mobile で、enchant.js や emo-framework 並みに手軽に2Dゲームが作れるモジュールを公開しました! http://code.google.com/p/quicktigame2d/ http://code.google.com/p/quicktigame2d/wiki/ Android の方は残念ですが、現在のところ iOS 用のモジュールだけです! 特徴 Titanium.UI.ImageView とかより全然速いスプライトシート対応。もちろんシートのアニメーションもできます。TexturePacker やZwoptex などのツールを利用したスプライトアトラスに対応Titanium.UIとの組み合わせもできます などなど。 emo-framework と違うのは、Titanium Mobile のコンポーネン
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く