Is there any books such as 'effective python' or else about theperformance?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kenneth Xie

    Is there any books such as 'effective python' or else about theperformance?

    att, thx.
  • Charles Krug

    #2
    Re: Is there any books such as 'effective python' or else about the performance?

    On 2006-02-11, Kenneth Xie <mailinglist4ke n@gmail.com> wrote:[color=blue]
    > att, thx.[/color]

    A lot of the ideas discussed in Effective C++ et al are things that
    Python does for us already. C++ works at a much lower layer of
    abstraction and you need to deal explicitly with freestore for any
    nontrivial class.

    EC++ is mostly about how NOT to crash your programs.

    The Python Cookbook is a "more pythonic" version of the same
    idea--proven techniques appropriate to the abstraction level of the
    language.

    Design Patterns is worth reading as well, but be careful with it. Many
    of the ideas that are difficult to do in C++, Java, Smalltalk, etc
    (singletons come to mind) are trivially easy to do in Python because of
    how our object model works.

    Bruce Eckle's "Thinking in Python" gives a pattern introduction
    explaining how things work in Python that can give you a sprinboard to
    adapting other patterns from C++ et al.

    Comment

    • Jorgen Grahn

      #3
      Re: Is there any books such as 'effective python' or else about the performance?

      On Sat, 11 Feb 2006 07:54:46 -0600, Charles Krug <cdkrug@aol.com > wrote:[color=blue]
      > On 2006-02-11, Kenneth Xie <mailinglist4ke n@gmail.com> wrote:[color=green]
      >> att, thx.[/color]
      >
      > A lot of the ideas discussed in Effective C++ et al are things that
      > Python does for us already. C++ works at a much lower layer of
      > abstraction[/color]

      Yes.
      [color=blue]
      > and you need to deal explicitly with freestore for any
      > nontrivial class.[/color]

      Not true.

      /Jorgen

      --
      // Jorgen Grahn <grahn@ Ph'nglui mglw'nafh Cthulhu
      \X/ snipabacken.dyn dns.org> R'lyeh wgah'nagl fhtagn!

      Comment

      • gene tani

        #4
        Re: Is there any books such as 'effective python' or else about the performance?


        Kenneth Xie wrote:[color=blue]
        > att, thx.[/color]

        Start here.




        Comment

        Working...