Open in app

Sign In

Write

Sign In

Maxim Zaks
Maxim Zaks

813 Followers

Home

About

Published in

AI Mind

·Aug 24

🔥 FibyTree vs. 🐍 Set and SortedSet

Couple of days ago, I wrote an article about FibyTree, a data structure I designed and implemented in Mojo. Today I would like to reveal some benchmarks. Words of caution. This benchmarks are preliminary. At current point in time Mojo code runs only in a Jupyter Notebook, so I run…

Python

9 min read

🔥 FibyTree vs. 🐍 Set and SortedSet
🔥 FibyTree vs. 🐍 Set and SortedSet
Python

9 min read


Published in

AI Mind

·Aug 19

A high level introduction to FibyTree

FibyTree is an optionally fully balanced and complete implicit binary search tree, which has the same semantics as a sorted set. I did a reference implementation of this data structure in Mojo, but fear not if you have no idea about Mojo, this article is very high level. …

Data Structures

6 min read

A high level introduction to FibyTree
A high level introduction to FibyTree
Data Structures

6 min read


May 28

Simple CSV parser in Mojo

Parsing 400MB per second with less than 80 lines of 🔥 — So what is so hard about parsing CSV, isn’t it just .split("\n") and .split(",")? It can be, if you don’t have to comply with the RFC 4180. RFC 4180 states, that a field can be placed between quotes (") and then it is legal to have new lines and commas…

Csv

7 min read

Simple CSV parser in Mojo
Simple CSV parser in Mojo
Csv

7 min read


May 18

Counting chars with SIMD in Mojo

Mojo is a very young (actually a work in progress) programming language designed and developed by a new company called Modular. Here is a blurb from their website: Mojo combines the usability of Python with the performance of C, unlocking unparalleled programmability of AI hardware and extensibility of AI models. …

Mojo

9 min read

Counting chars with SIMD in Mojo
Counting chars with SIMD in Mojo
Mojo

9 min read


Published in

Nerd For Tech

·Jun 29, 2021

Progressive index

Enable random accessibility for a stream of asymmetric data points — When we store multiple data points together in one stream, we need to make sure that the stream is deconstruct-able. A trivial case being symmetric data points. What do I mean by symmetric? I mean that the size (in bytes) of each data point is equal. If we have a…

Data Serialization

6 min read

Progressive index
Progressive index
Data Serialization

6 min read


Dec 15, 2020

Data structure vs. Data base

Does your mobile app really need a DB? — Data bases are essential when it comes to multi user applications. They help us store huge amount of data generated by, or related to, huge amount of users. They let us query for a sub set of data, relevant to our business cases. …

Mobile App Development

3 min read

Mobile App Development

3 min read


Jul 24, 2020

Packaging 93K Levels

A story of custom binary serialization for a game made with Unity3D — This year I helped a customer develop and ship a word puzzle game for iOS and Android. One of the challenges in this project was, the game should ship localized in 31 languages. This means every language gets its own set of levels. The customer wanted to start with 3K…

Unity

4 min read

Packaging 93K Levels
Packaging 93K Levels
Unity

4 min read


Published in

The Startup

·Jun 8, 2020

Binary Search vs. Eytzinger Order

You probably know what binary search is but WTF is Eytzinger order? You might have heard of a data structure called binary heap. …

Computer Science

4 min read

Binary Search vs. Eytzinger Order
Binary Search vs. Eytzinger Order
Computer Science

4 min read


May 10, 2020

Why don’t we use DTOs in FlatBuffers

DTOs (Data Transfer Objects) are classes which people use to represent and store data before they serialise and send the data over the wire. So the primarily purpose of a DTO is to be able to turn an object graph into a buffer (array of bytes). [Application state] --> [DTOs]…

Flatbuffers

4 min read

Flatbuffers

4 min read


Apr 25, 2020

Stop using JSON in production

If you need a self describing object notation? Check out CBOR (Concise Binary Object Representation): CBOR Edit descriptioncbor.me Paste your precious JSON into the playground and see how much bytes you are wasting with JSON. If you are using JSON + JSON-Schema? You are really doing something wrong. The main benefit of JSON is that the payload is self describing. The main benefit of Schemas is that it…

Json

1 min read

Stop using JSON in production
Stop using JSON in production
Json

1 min read

Maxim Zaks

Maxim Zaks

813 Followers

Tells computers how to waste electricity. Hopefully in efficient, or at least useful way.

Following
  • Coffee With Jaimee

    Coffee With Jaimee

  • Michael Hunger

    Michael Hunger

  • Medium

    Medium

  • Marcin Wichary

    Marcin Wichary

  • 孙浩

    孙浩

See all (144)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams