タグ

2015年4月4日のブックマーク (2件)

  • Jom - Qt Wiki

    En Ar Bg De El Es Fa Fi Fr Hi Hu It Ja Kn Ko Ms Nl Pl Pt Ru Sq Th Tr Uk Zh jom is a clone of nmake to support the execution of multiple independent commands in parallel. It basically adds the -j command line switch similar to GNU make. The original blog post can still be found on the Qt blog. Download the binary package A ZIP file, containing the latest stable build, can be downloaded from the Qt

    zetamatta
    zetamatta 2015/04/04
    QTによる nmake クローン? 曰く「jom is a clone of nmake to support the execution of multiple independent commands in parallel.」
  • モンキーパッチのライブラリを使って,golang のメソッドを差し替える黒魔術を使ってみた - 押してダメならふて寝しろ

    モンキーパッチというのは,オリジナルのソースコードを変更せずに実行時にコードを拡張したり変更したりする手法のことです.動的言語で見かけるようなモンキーパッチを golang でもやってのけることができます(って,そういうライブラリを作っちゃった人がいます! 手法については,ライブラリの作者による詳説をご覧ください. Monkey Patching in Go ざっくり言うと,メソッドの開始アドレスをすげ替えて他のメソッド呼び出すようにするという感じのものです. なので, セキュリティ厳しいOSでは動かない. スレッドセーフじゃないし,そもそも何もセーフじゃない. ということにご注意ください. 動かなくても文句は言わない.ただし,時々動作がおかしくなるようなら go test -gcflags=-l のようにフラグをつけてみるといいかもしれません. かなり黒魔術ですが,テストでどうしてもモッ

    モンキーパッチのライブラリを使って,golang のメソッドを差し替える黒魔術を使ってみた - 押してダメならふて寝しろ
    zetamatta
    zetamatta 2015/04/04
    邪悪だ