Search results for “site:ashvardanian.com”

About 8 results

ashvardanian.com posts › gcc-12-vs-avx512fp16

GCC Compiler vs Human - 119x Faster Assembly 💻🆚🧑‍💻 | Ash's Blog

When our Python code is too slow, like most others we switch to C and often get 100x speed boosts, just like when we replaced SciPy distance computations with SimSIMD. But imagine going 100x faster than C code! It sounds crazy, especially...

In short: Discover how a Python programmer achieved a 119x speed boost over GCC compiler in number-crunching tasks using SIMD instructions and AVX-512. Learn about opt... (AI summary)

ashvardanian.com posts › simsimd-faster-scipy

SciPy distances... up to 200x faster with AVX-512 & SVE 📏 | Ash's Blog

Over the years, Intel’s 512-bit Advanced Vector eXtensions (AVX-512) stirred extensive discussions. While introduced in 2014, it wasn’t until recently that CPUs began providing comprehensive support. Similarly, Arm Scalable Vector...

ashvardanian.com posts › pybind11-cpython-tutorial

Our CPython bindings got 5x faster without PyBind11 🐍 | Ash's Blog

Python’s not the fastest language out there. Developers often use tools like Boost.Python and SWIG to wrap faster native C/C++ code for Python. PyBind11 is the most popular tool for the job not the quickest. NanoBind offers improvements,...

ashvardanian.com posts › javascript-ai-vector-search

Accelerating JavaScript arrays by 10x for Vector Search 🏹 | Ash's Blog

You’ve probably heard about AI a lot this year. Lately, there’s been talk about something called Retrieval Augmented Generation (RAG). Unlike a regular chat with ChatGPT, RAG lets ChatGPT search through a database for helpful information....

ashvardanian.com posts › simd-set-intersections-sve2-avx512

5x Faster Set Intersections: SVE2, AVX-512, & NEON 🤐 | Ash's Blog

Set intersections are one of the standard operations in databases and search engines. They are used in: TF-IDF ranking in search engines, Table Joins in OLAP databases, Graph Algorithms. Chances are, you rely on them every day, but you may...

ashvardanian.com posts › discount-on-keyword-arguments-in-python

35% Discount on Keyword Arguments in Python 🐍 | Ash's Blog

Python has a straightforward syntax for positional and keyword arguments. Positional arguments are arguments passed to a function in a specific order, while keyword arguments are passed to a function by name. Surprising to most Python...

ashvardanian.com posts › porting-cpp-library-to-ten-languages

Binding a C++ Library to 10 Programming Languages 🔟 | Ash's Blog

Experienced devs may want to skip the intro or jump immediately to the conclusions. The backbone of many foundational software systems — from compilers and interpreters to math libraries, operating systems, and database management systems...

ashvardanian.com posts › searching-stable-marriages

Combinatorial Stable Marriages for DBMS Semantic Joins 💍 | Ash's Blog

How can the 2012 Nobel Prize in Economics, Vector Search, and the world of dating come together? What are the implications for the future of databases? And why do Multi-Modal AI model evaluation datasets often fall short? Synopsis: Stable...

Try “site:ashvardanian.com” on: Marginalia · Mojeek · Wiby · DuckDuckGo · Bing · Google · Wikipedia · Internet Archive