Project Overview There are a lot of algorithms in SciPy that use Cython to improve the performance of code that would be too slow as pure Python, e.g. algorithms in scipy.spatial, scipy.stats and scipy.optimize. Recently, SciPy added experimental support for Pythran, to make it easier to...
Multi-version histories In conventional histories, at any point in time, there exists only one version of a data item. That means that the write operations always replace current version and the read operations always read the latest written version as it is defined by the schedule semantics:...
Once upon a time, I was interviewed for a database engineering position. I was asked about what deadlock prevention algorithms do I know. I could not name a few (besides detection and randomization) and I was rejected. It was an unsatisfying experience because the ideas behind those algorithms...
Recently, I came across an excellent exercise of testing a scheduling history for belonging to different serializability classes and had a lot of fun drawing a polygraph and finding out a cycle in it. When I finally managed to draw the correct version of the polygraph, I thought that it could be...
This document contains simple examples and explanations of transaction isolation anomalies well known since the late ’90s. The work based on papers [1], [2], [3]. I hope it will be helpful for someone as a quick reference. List of covered anomalies include: G0: Dirty writes G1: Dirty...
Introduction As a researcher/engineer (really, an algorithm developer) in the general area of audio and speech processing, I've always run into the same difficulty at all the companies I've worked at: How to quickly prototype and develop algorithms, and subsequently turn them into efficient code...
This blogpost originally was a Jupyter Notebook. You can download it if you want. The conversion was done using nbconvert and a custom template to match the style of the other part of the blog. Every now and then, I hang around on stackoverflow, longing for numerical kernels to pass through...
This blogpost originally was a Jupyter Notebook. You can download it if you want. The conversion was done using nbconvert and a custom template to match the style of the other part of the blog. Thanks to w1gz and Apo for their review! In https://realpython.com/numpy-tensorflow-performance/, the...
Pythran presentation hold on Université Lyon1 on Monday 27th June together with a Julia presentation, and later at Compas'2016. This blogpost originally was a Jupyter Notebook. You can download it if you want. The conversion was done using nbconvert and a custom template to match the style of the...
Pythran presentation hold on Université Lyon1 on Monday 27th June together with a Julia presentation. You can get slides shown by serge-sans-paille here. After this presentation, some examples were proposed to see Pythran usage. First example: Euler project N°14 Problem You can find Euler's...