LBRY Block Explorer

LBRY Claims • opening-pypy's-magic-black-box

ebfba3c96f181e5c2539fdd37bbcf045bbd13fe4

Published By
Created On
5 Nov 2021 04:26:50 UTC
Transaction ID
Cost
Safe for Work
Free
Yes
Opening PyPy's magic black box
Join the channel membership:
https://www.youtube.com/c/AIPursuit/join

Subscribe to the channel:
https://www.youtube.com/c/AIPursuit?sub_confirmation=1

Support and Donation:
Paypal ⇢ https://paypal.me/tayhengee
Patreon ⇢ https://www.patreon.com/hengee
BTC ⇢ bc1q2r7eymlf20576alvcmryn28tgrvxqw5r30cmpu
ETH ⇢ 0x58c4bD4244686F3b4e636EfeBD159258A5513744
Doge ⇢ DSGNbzuS1s6x81ZSbSHHV5uGDxJXePeyKy

Wanted to own BTC, ETH, or even Dogecoin? Kickstart your crypto portfolio with the largest crypto market Binance with my affiliate link:
https://accounts.binance.com/en/register?ref=27700065
-----------------------------------------------------------------------------------------
The video was published under the license of the Creative Commons Attribution license (reuse allowed). It is reposted for educational purposes and encourages involvement in the field of research.
Source: https://www.youtube.com/watch?v=knj2-VcF2d8

"Opening PyPy's magic black box
[EuroPython 2019 - Talk - 2019-07-11 - MongoDB]
[Basel, CH]

By Ronan Lamy

PyPy is a fast and compliant implementation of Python. In other words, it's an interpreter for the Python language that can act as a full replacement for the reference interpreter, CPython. It's optimised to enable efficient just-in-time (JIT) compilation of Python code to machine code, and has releases matching versions 2.7, and 3.6. It now also supports the main pillars of the scientific ecosystem (numpy, Cython, scipy, pandas, ...) thanks to its emulation layer for the C API of CPython.

The PyPy JIT is often just described as ""magically running your code faster"", but is actually what is known as a ""meta-tracing JIT"".
A tracing JIT optimises loops by recording and optimising a single, hopefully representative, execution of the loop. While crude, that approach is known to be effective for just-in-time compiler. Additionally, PyPy's JIT is ""meta"" in the sense that it traces the execution of the interpreter while it runs some user-code instead of tracing the user-code directly. This again simplifies the compiler. We will explore how all this works together and is implemented (spoiler: it's Python all the way down!).

This talk assumes no prior knowledge of compiler theory nor of PyPy internals, and should be of interest to anybody who wishes that their pure-Python code would run faster. The audience will gain a firmer understanding of how PyPy operates and optimises code, and how to how to get the most out of the PyPy JIT.
...
https://www.youtube.com/watch?v=7vmVxr_lWh0
Author
Content Type
Unspecified
video/mp4
Language
English
Open in LBRY

More from the publisher

Controlling
VIDEO
4 PER
Controlling
VIDEO
FAU D
Controlling
VIDEO
ACL 2
Controlling
VIDEO
NEURI
Controlling
VIDEO
NEURI
Controlling
VIDEO
LANGU
Controlling
VIDEO
CONFI
Controlling
VIDEO
MAPPI
Controlling
VIDEO
ACL-I