Explore >> Select a destination


You are here

eli.thegreenplace.net
| | yasoob.me
2.9 parsecs away

Travel
| | Hi people! Recently, I was super confused when I found out that: >>> pow(3,89) runs slower than: >>> 3**89 I tried to think of a suitable answer but couldn't find any. I timed the execution of both of these statements using the timeit module in Python3: $ python3 -m timeit 'pow(3,89)' 500000 loops, best of 5: 688 nsec per loop $ python3 -m timeit '3**89' 500000 loops, best of 5: 519 nsec per loop The difference is not big.
| | blog.m-ou.se
2.0 parsecs away

Travel
| | Have you ever seen the Rust compiler give a Python error? Or better, have you ever seen rust-analyzer complain about Python syntax? In this post, we'll extend our python!{} macro to make that happen.
| | speakerdeck.com
3.2 parsecs away

Travel
| | A talk I gave at PyCon 2012 about code generation and how Jinja2 works internally.
| | sookocheff.com
22.8 parsecs away

Travel
| Writing correct programs is hard; writing correct concurrent programs is harder. Java Concurrency in Practice. So, why bother with concurrency? A number of reasons: Concurrency provides a natural method for composing asynchronous code. Concurrency allows your program to avoid blocking user operations. Concurrency provides one of the easiest ways take advantage of multi core systems. As processor counts increase, exploiting concurrency will be an even more important facet of high performance systems.