Skip to Content
ハイパフォーマンスPython
book

ハイパフォーマンスPython

by Micha Gorelick, Ian Ozsvald, 相川 愛三
November 2015
Intermediate to advanced
360 pages
6h 16m
Japanese
O'Reilly Japan, Inc.
Content preview from ハイパフォーマンスPython

訳者まえがき

本書は、Amazonのレビューなどで高い評価を得ている『High Performance Python』の全訳です。本書の特色は、「こう書いたほうが速い」といった、いわゆる小手先のテクニックの紹介にとどまらず、マルチコア・マルチCPUの活用法や、コンパイラ、ライブラリ、近似計算といった、抜本的に高速化・省メモリ化する手法をたっぷりと紹介している点にあります。高性能なプログラムの書き方だけでなく、高性能なシステムの作り方を総合的に学ぶことができます。

いわゆる小手先テクニックについては、リストとタプル、辞書と集合、イテレータとジェネレータの効率のよい使い方について学べます。それに先駆けて、プロファイリングに基づいて最適化すべき箇所を特定することと、単体テストでデグレード(修正によりバグが発生すること)を防ぐこと、という重要な点を押さえています。本書がただのテクニック本とは一線を画し、本格的な実用書であることがわかります。

コンパイラやライブラリは進化が激しいので、今後もよりよいものが出てくる可能性があります。しかしながら、本書で紹介しているCythonやNumPy、PyPyは、かなり成熟しており、さまざまなライブラリやシステムの基盤として幅広く使われているため、今後も陳腐化することはないでしょう。本書記載のテクニックは長く使えるものと思います。

12章のケーススタディーを読めば、プロトタイプから実用システムへすばやく開発するのにPythonの設計思想がいかに役立っているのかがよくわかります。さまざまな外部システムと結合し、必要に応じて段階的に最適化していくという戦略が具体的に記述されており、現場で鍛えられた知識を学ぶことができます。金融工学、ビッグデータ、機械学習、人工知能といったバズワードの変遷の背後には、PythonとNumPyによる高度な行列計算とシステム連携の発展がありました。いかに大量のデータを高速に処理できるか? ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

ハイパフォーマンスPython 第2版

ハイパフォーマンスPython 第2版

Micha Gorelick, Ian Ozsvald, 中山 光樹
Python機械学習クックブック

Python機械学習クックブック

Chris Albon, 中田 秀基
オブザーバビリティ・エンジニアリング

オブザーバビリティ・エンジニアリング

Charity Majors, Liz Fong-Jones, George Miranda, 大谷 和紀, 山口 能迪
パフォーマンス向上のためのデザイン設計

パフォーマンス向上のためのデザイン設計

Lara Callender Hogan, 西脇 靖紘, 星野 靖子

Publisher Resources

ISBN: 9784873117409Other