Archive for 7月, 2009

C++本16冊すべて届きました
C++本を積んでみた

C++本を積んでいるのを見て、自分も整理も兼ねて積んでみた。
明らかに足りていない本があるんだけど、会社か・・・
book

稲葉さんの Boost 本古いよ。でも第3版を待ったほうが良さそう。
よく見ると C++/CLI 混じってた。

squirrel のバージョンが新しくなってました。
Squirrel 本家

2.2.3 の変更点まとめ
今回から SQUSEDOUBLE を利用してコンパイルすることで、内部で使用している浮動小数点を float -> double にすることが出来るらしい。
合わせて、_floatsize_ で設定されている浮動小数点のバイト数が取得可能。
デバッグ用の関数として sq_getfunctioninfo が追加されてる。
sq_getstackinfos 関数と合わせて利用するといいかも。
sqstd_format は printf と同様のフォーマットが利用できる。
フォーマット文字列はスタック上に配置して、sqstd_format にはスタックのインデックスを渡す形になる。

以下、変更点の引用

***version 2.2.3 stable***
-added sq_getfunctioninfo
-added compile time flag SQUSEDOUBLE to use double precision floats
-added global slot _floatsize_ int the base lib to recognize single precision and double precision builds
-sq_wakeupvm can now resume the vm with an exception
-added sqstd_format
-generators can now be instantiated by calling sq_call() or closure.call()
-fixed a bug in sqstd_printcallstack(thx takayuki_h)
-fixed modulo by zero(thx jup)
-fixed negative enums and constants
-fixed generator crash bug if invoked as tail call (thx Mr.Accident)
-fixed some minor bug

***version 3.0 alpha 2***
-added real free variables(thx Paul Ruizendaal)
-added refactored function call implementation and compiler(thx Paul Ruizendaal)
-added sq_getfunctioninfo
-added compile time flag SQUSEDOUBLE to use double precision floats
-added global slot _floatsize_ int the base lib to recognize single precision and double precision builds
-sq_wakeupvm can now resume the vm with an exception
-added sqstd_format
-now blobs can be cloned
-generators can now be instantiated by calling sq_call() or closure.call()
-added compile time flag SQUSEDOUBLE to use double precision floats
-fixed debughook bug
-fixed cooroutine error propagation