A Byte of Coding Issue 365

A Byte of Coding Issue 365

A Byte of Coding

Hey-yo,

Hope you had a nice weekend. I recently added uptime kuma for service status monitoring to my self-hosted server via caprover. It was super simple to set up and has a ton of different notification options (email, signal, telegram, discord, etc). The dashboard looks really nice too. I’d definitely recommend it if you’re doing any self-hosting and want to add another nifty tool to your silicon utility belt.

Good luck with Ramadan to whoever follows it and here’s the issue.

Published: 2 July 2023

Tags: c

Sébastien Michelland dives under-the-hood of how malloc works in c and focuses on one potential implementation of it.

Some highlights:

  • malloc() is the mechanism through which programs obtain memory at runtime, and it often ends up being the primary way in which objects are created and managed”

  • the process of the kernel lending memory space to processes (their virtual address space) is called paging

  • most of the variety in malloc implementations comes from the requirement of not allowing any live blocks of memory to intersect (causing overwrite issues)

Published: 12 February 2024

Tags: database, performance, graphs

Marc Brooker does an introductory exploration how graphs can be used to generate synthetic database benchmark workloads.

Some highlights:

  • rows in the database are treated as nodes, rows appearing in the same transaction are treated as edges

  • modeling database transactions using a graph can also be a good way to see how to partition a database

  • the difficulty is in producing graphs that are a specific shape

Published: ?

Tags: graphics, assembly, games

Garote wrote a 15 part series on creating a video game for the Apple IIgs (in highschool).

Some highlights:

  • covers the challenges of writing code for a very slow computer

  • it’s a super mario bros ripoff

  • there’s a lot of interesting low-level programming

- 50x lower cost with the separation of reads, writes, and storage

- O(s) fresh results with vector clustering over blob storage

- Industry-first indexing and retrieval algorithms for fast search without sacrificing recall

- Powerful performance with a multi-tenant compute layer

- Zero configuration or ongoing management

Thanks for your Support!

Big thanks to all of the Patreon supports and company sponsors. If you want to support the newsletter you can checkout the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.A Byte of Coding Issue 364