Alex Dremov
Author

Alex Dremov

I'm an AI researcher and ML engineer. I hold an M.Sc. in Data Science from EPFL and a B.Sc. in CS from MIPT. Over the last couple of years, I've built real-time speech recognition systems from the ground up at Yandex and researched compute-optimal quantization at Apple. My academic work on efficient training dynamics and scaling laws has been published at ICLR and TMLR. When I'm not doing research or contributing to open-source projects, I write here about whatever I'm currently exploring—from optimizing GPU kernels with Triton to the scaling laws behind efficient training.

27 posts
Swift Actors — Common Problems and Tips
JUNE 13, 2023

Swift Actors — Common Problems and Tips

Swift actors are a powerful tool to address data races and make your code thread-safe. However, it is also quite a sophisticated concept that requires deep understanding to write efficient and bug-free code.

5 MIN READ
Dive into Swift's Memory Management
JANUARY 8, 2023

Dive into Swift's Memory Management

Swift uses ARC to track and deallocate unused objects. Learn about the three types of reference counts and how ARC works — in this detailed post.

8 MIN READ
Data Binding in SwiftUI: Tips, Tricks, and Best Practices
DECEMBER 30, 2022

Data Binding in SwiftUI: Tips, Tricks, and Best Practices

Want to create dynamic and responsive user interfaces in SwiftUI? Data binding is the key! In this tutorial, I'll show you how to use @State, @ObservedObject, @EnvironmentObject, and @Binding to keep your user interface in sync with your data

7 MIN READ
iOS App As a Microservice. Using SwiftUI in Modular App
OCTOBER 19, 2022

iOS App As a Microservice. Using SwiftUI in Modular App

The modular architecture is excellent. But how to implement it effectively with SwiftUI? From its core, SwiftUI is state-driven, and it can be tricky to modularize an app and define exact responsibility borders.

7 MIN READ
Using Threads in Swift
MAY 13, 2022

Using Threads in Swift

Swift provides DispatchQueue as an excellent layer above raw threads. But sometimes you want to use a low-level thread API

4 MIN READ
New Package: Look at Swift Async Algorithms
APRIL 27, 2022

New Package: Look at Swift Async Algorithms

Apple released the first version of the async swift algorithms package. It provides tools and algorithms to use with the introduced not that far ago Async Sequence

6 MIN READ
Treap: The Easiest Search Tree (Explained)
APRIL 25, 2022

Treap: The Easiest Search Tree (Explained)

Binary search trees are mostly hard. Writing red-black tree is a nightmare. Here, I'm going to explain one of the easiest, yet efficient and powerful balanced binary tree — treap or cartesian tree

14 MIN READ
Quick Guide to Async Await in Swift
APRIL 16, 2022

Quick Guide to Async Await in Swift

Everything you need to know about new Swift asynchronous features. Async await, main actor, task, async get, and possible use cases — all covered.

8 MIN READ
Top 7 Subtle Swift Features
APRIL 9, 2022

Top 7 Subtle Swift Features

Here, I collected Swift features that are less known and can be useful when you prepare for interviews or want to deepen your Swift knowledge.

4 MIN READ
Note-taking apps
AUGUST 18, 2021

Note-taking apps

Here I cover note-taking apps for productivuty and creating your own knowledge database

2 MIN READ
The Mystery of Mach-O Object Structure
APRIL 29, 2021

The Mystery of Mach-O Object Structure

I’m going to tell you about the internals of the Mach-O file and give an introduction to the simple relocatable object file structure

15 MIN READ
Skip List Indexation and kth Maximum
NOVEMBER 5, 2020

Skip List Indexation and kth Maximum

Skip List is a nice structure that lets you to perform insertions, searches, and finding n-th maximum. In this post I focus on skip list indexation

10 MIN READ
How Deep Neural Networks Work
MAY 8, 2020

How Deep Neural Networks Work

Here, I combine the explanation of Neural Nets with coding. By the end, we will develop a basic neural network and try to solve usual problems

8 MIN READ
Type to start searching...
    ↑↓ NavigateEnter SelectEsc Close