← All projects
Project record1 mention
Originally shared on Hacker News

AADC-Python (specialised graph compiler)

A specialised graph compiler that speeds up simulations and computes derivatives automatically (backpropagation/adjoint differentiation). It supports C++, Python, and C#; AVX2 and AVX512 instruction sets with multithreading on Windows and Linux. With very few tweaks to code, calculations such as derivative pricing, curve building, financial risk computation, and small neural networks can be accelerated by 100+ times in Python and 20+ times in C++/C#. Java and GPU support are being considered.

Last shared For Model developers such as quants in finance, engineers, and ML specialists who want to code in Python without worrying about the performance of repetitive calculations.
01 / The problem

What it addresses

Python is one of the least efficient languages for complex calculations and simulations, forcing model developers to think about the performance of repetitive calculations; the compiler resolves this with minimal code changes.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. AADC-Python (specialised graph compiler)

    A specialised graph compiler that speeds up simulations and computes derivatives automatically (backpropagation/adjoint differentiation). It supports C++, Python, and C#; AVX2 and AVX512 instruction sets with multithreading on Windows and Linux. With very few tweaks to code, calculations such as derivative pricing, curve building, financial risk computation, and small neural networks can be accelerated by 100+ times in Python and 20+ times in C++/C#. Java and GPU support are being considered.

    Problem: Python is one of the least efficient languages for complex calculations and simulations, forcing model developers to think about the performance of repetitive calculations; the compiler resolves this with minimal code changes.

    Audience: Model developers such as quants in finance, engineers, and ML specialists who want to code in Python without worrying about the performance of repetitive calculations.

    Posted by @NatalijaAAD · Original source ↗

    Source text · @NatalijaAAD · · Source ↗

    We’re working on a specialised graph compiler for speeding up simulations and computing derivatives automatically (backpropagation/adjoint differentiation). It now supports C++, Python, and C#; AVX2 and AVX512 instruction sets, multithreading; Windows, and Linux.