タグ

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

  • 関連タグはありません

タグの絞り込みを解除

programmingとPythonとsmalltalkに関するhengsuのブックマーク (2)

  • SCG Wiki: Spy

    SpySpySpy is a Smalltalk VM written using the PyPy toolchain.Spy is written in RPython, and can be translated with the PyPy toolchain as C executable, as Java native backend, and as .Net native backend. Spy is the collaborative effort of the Squeak-PyPy Sprint in Bern last autumn. Spy has been realized by the PyPy Team and the SCG Group in only one week. Quick links ⇒ Download Spy VM | Sprint blog

    hengsu
    hengsu 2009/03/18
    Spy is a Smalltalk VM written using the PyPy toolchain.
  • newが嫌いな理由 -- リテラル好き好き - 檜山正幸のキマイラ飼育記 (はてなBlog)

    Pythonはほとんど使ったことがないのですけど、「いいなぁ」と思う点はインスタンス生成にnewが不要なこと。クラス名を関数呼び出し形式で使えばいいだけ、x = Person('Tonkichi') 。いいなぁ。 リテラルがなかったら不便 newがイヤなのは、まず単純に「書くのがめんどくさい」という理由があります。別な理由もあります、僕はリテラルが大好きなんだけど、newはリテラルにとって邪魔モノなんです。ここで、リテラルってのは、値やオブジェクトを直接に表現する記法です。たいていの言語で、153は整数リテラルだし、"Hello"は文字列リテラルです。 String s = "Hello";のようなリテラルが使えないと大変ですぜ。次のようにしなきゃならないでしょう。 // これはJava風 char[] s0 = {'H', 'e', 'l', 'l', 'o'}; String s =

    newが嫌いな理由 -- リテラル好き好き - 檜山正幸のキマイラ飼育記 (はてなBlog)
    hengsu
    hengsu 2006/03/20
    コメント欄が濃い
  • 1