タグ

関連タグで絞り込む (3)

タグの絞り込みを解除

perlとprogrammingに関するnonomachon2ndのブックマーク (2)

  • mixi Engineers’ Blog » 言語バインディングを書こう

    世田谷の某所から原宿まで自転車通勤しているのですが、そろそろ寒くなってきたので電車に切り替えようかと悩み中のmikioです。今回はTokyo Cabinetのスクリプト言語バインディングについて述べます。 スクリプト言語バインディングとは TCはC言語で実装されたライブラリで、C言語(C89、C99)およびC++言語のプログラムから利用することができます。CやC++は各種の計算処理やシステムコールの呼び出しを直接的に記述できるので高速に動作するプログラムを作ることができる反面、ポインタ演算やメモリ管理などで致命的なバグを潜ませやすいので非常に注意深くコーディングを進めなければいけません。つまり、プログラムの実行速度は速いが、開発速度は遅いということです。 それに対して、PerlRubyをはじめとするいわゆるスクリプト言語は、実行速度はCやC++に劣るものの、高水準かつ直感的な文法と強力な

    mixi Engineers’ Blog » 言語バインディングを書こう
  • I dislike object-oriented programming in general

    good chemistry is complicated, and a little bit messy -LW Since my previous meditation seemed to upset some people, here's more serious pondering. This is not the first node on the merits of Object-Oriented Programming (or Object-Oriented Paradigm), and certainly not the last. Interested monks can read The world is not object oriented, Damian Conway's ten rules for when to use OO, and Coding style

    nonomachon2nd
    nonomachon2nd 2007/10/22
    頼むからPerl6は数値がオブジェクトはやめてくれという記事。クラス使いすぎなくて時には関数でフィットするところもあるじゃんという話。最後のパラグラフだけが筆者のメッセージ。
  • 1