You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
This is the followup to my talk LLVM Optimized Python at the Harvard-Smithsonian Center for Astrophysics, we'll do the deep dive that I didn't have time for. We're going to build a single module Numba-like compiler for Python. It won't be nearly as featureful or complete, but should demonstrate how you can go about building your own little LLVM specializer for a subset of Python or your own custom
Peter Norvig / 青木靖 訳 このエッセイでは、 あらゆる数独パズルを解くという問題に取り組む。制約伝播と探索という2つのアイデアを使うと、ごく簡単に解けるということがわかる(主要なアイデアはコードにして1ページたらずで、補足的なコードが2ページある)。 数独の記法と予備概念 最初に記法をいくつか決めておこう。数独パズルは81個のマス(square)からなる盤面を使う。数独ファンの多くはカラムを1-9で、行をA-Iでラベル付けしており、カラム、行、ボックスのような9個のマスの集まりをユニット(unit)と呼び、ユニットを共有するマスをピア(peer)と呼んでいる。パズルではマスのいくつかが空いており、他は数字が入っている。パズルの目的はこうだ。 それぞれのユニットのマスが1から9の数字の順列によって埋められるようにする。 つまり、1つのユニットに同じ数字が2度現れてはならず、そ
_ Zopeの導くところへ、Pythonはついて行く Web Component Development with Zope 3 の前書きにEJBがコメントを寄せているが、 なかなか面白いと思ったので、ざっくり翻訳してみる。 ちなみに、原文はここにもある。 以下、翻訳。 Zopeの導くところへ、Pythonはついて行く。 長年続いてきたけれど、この潮流は止まりそうな気配さえない。 最新の宣伝文句が何であろうと、RESTful Webプログラミングだろうが、 標準化インタフェースだろうが、プラグ可能コンポーネントだろうが、 実用的制限実行環境だろうが、 Zopeは控えめに行き先を先導し、他の誰よりも何年も先を行って、 本物を送り届けてきた。 技術上の概念だけではなくって、ちゃんとお金を払っている顧客のオフィスに届けられ、稼働してきたんだ。 ところが奇妙なことに、進みつづけるPythonの開発
The first Python 3000 release is out -- Python 3.0a1. Be the first one on your block to download it! http://python.org/download/releases/3.0/ Excerpts Python 3000 (a.k.a. "Py3k", and released as Python 3.0) is a new version of the language that is incompatible with the 2.x line of releases. The language is mostly the same, but many details, especially how built-in objects like dictionaries and str
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く