---
title: "Mrigesh Thakur (@comreton) | Hashnode"
description: "Just Do It ... Read the latest articles by Mrigesh Thakur on Hashnode."
url: "https://hashnode.com/@comreton"
---

@comreton

# Mrigesh Thakur

@comreton · Joined June 2025

Just Do It ...

### [Understanding cppyy : A True automatic Python-C++ binding](https://understandbrian2.hashnode.dev/understanding-cppyy-a-true-automatic-python-c-binding?utm_source=hashnode&utm_medium=feed)

So as discussed in our previous blog , we concluded that our entire approach to performance was trapped by traditional Ahead-of-Time (AOT) thinking. It became clear that no matter how much we optimized our existing pipeline, we were fighting the fund...

15 min read · [understandbrian2.hashnode.dev](https://understandbrian2.hashnode.dev/understanding-cppyy-a-true-automatic-python-c-binding?utm_source=hashnode&utm_medium=feed)

[Aug 11, 2025](https://hashnode.com/posts/understanding-cppyy-a-true-automatic-python-c-binding/6899e6215131bb6a5643e0af)

### [Escaping the AOT Trap: Why Brian2 Is Exploring a Cppyy-Powered Runtime](https://understandbrian2.hashnode.dev/escaping-the-aot-trap-why-brian2-is-exploring-a-cppyy-powered-runtime?utm_source=hashnode&utm_medium=feed)

I thought I understood the compilation problem in Brian2 until I realized that every "obvious" solution - manual C extensions, direct g++ calls, even fancy build systems - all fell into the same fundamental trap. They were trying to solve a dynamic r...

6 min read · [understandbrian2.hashnode.dev](https://understandbrian2.hashnode.dev/escaping-the-aot-trap-why-brian2-is-exploring-a-cppyy-powered-runtime?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/escaping-the-aot-trap-why-brian2-is-exploring-a-cppyy-powered-runtime/6899c908f6c1c77dc59af0c9) [Aug 11, 2025](https://hashnode.com/posts/escaping-the-aot-trap-why-brian2-is-exploring-a-cppyy-powered-runtime/6899c908f6c1c77dc59af0c9)

### [Dynamic Arrays Memory Access Patterns: From Python Indirection to Direct C++ Speed](https://understandbrian2.hashnode.dev/dynamic-arrays-memory-access-patterns-from-python-indirection-to-direct-c-speed?utm_source=hashnode&utm_medium=feed)

Part 3 of the Brian2 Performance Optimization Series In our previous episode, we conquered the SpikeQueue bottleneck by eliminating Python overhead with PyCapsules.Today, we're tackling an even bigger challenge: Dynamic Arrays — the data structures t...

7 min read · [understandbrian2.hashnode.dev](https://understandbrian2.hashnode.dev/dynamic-arrays-memory-access-patterns-from-python-indirection-to-direct-c-speed?utm_source=hashnode&utm_medium=feed)

[Aug 11, 2025](https://hashnode.com/posts/dynamic-arrays-memory-access-patterns-from-python-indirection-to-direct-c-speed/68996b8a0b75e5cf06c8dbc8)

### [Brian2: How We Made Spike Processing Faster by Eliminating Python Overhead](https://understandbrian2.hashnode.dev/brian2-how-we-made-spike-processing-faster-by-eliminating-python-overhead?utm_source=hashnode&utm_medium=feed)

Recap: Cython, Code Generation, and the SpikeQueue Bottleneck Last time, we dug into how code generation works in Brian2, and we ended by looking at the spikeQueue case — a great example of where Cython introduces significant overhead and complexity....

7 min read · [understandbrian2.hashnode.dev](https://understandbrian2.hashnode.dev/brian2-how-we-made-spike-processing-faster-by-eliminating-python-overhead?utm_source=hashnode&utm_medium=feed)

[Jul 3, 2025](https://hashnode.com/posts/brian2-how-we-made-spike-processing-faster-by-eliminating-python-overhead/6866871fcc5c2e9597032ba8)

### [Code-generation in Brain2 : From Math to Machine Code](https://understandbrian2.hashnode.dev/code-generation-in-brain2-from-math-to-machine-code?utm_source=hashnode&utm_medium=feed)

The Challenge: Making Python Fast Enough for Neuroscience An exploration of the compilation pipeline that transforms high-level neural network descriptions into high-performance simulations How does a neuroscience simulator convert mathematical equat...

9 min read · [understandbrian2.hashnode.dev](https://understandbrian2.hashnode.dev/code-generation-in-brain2-from-math-to-machine-code?utm_source=hashnode&utm_medium=feed)

[Jun 15, 2025](https://hashnode.com/posts/code-generation-in-brain2-from-math-to-machine-code/684f1e4b0c340b4e1cd32796)
