You never do understand #lowlevel concepts in #programming until you actually go and implement them in something like #c .

I am working on the MQTT Client still and am learning a lot about #allocators and #memory.

I've learned about those things, both from the infosec and from the computer engineering sides, but now that I am actually implementing this stuff and having to make decisions and research and reading-the-effing-manual I feel that I am building an actual intuitive understanding of this stuff.

I've basically intuited 95% of the way to slab allocators before learning the actual term, like, it is just the logical progression.

Of course not everything is like this, but it feels very cool.

Man, I love computers so much!

Why We Built Lightpanda in Zig - Blog | Lightpanda

We chose Zig over C++ and Rust because we wanted a simple, modern systems language. Here's what we learned building a browser with it.

Lightpanda
Why We Built Lightpanda in Zig - Blog | Lightpanda

We chose Zig over C++ and Rust because we wanted a simple, modern systems language. Here's what we learned building a browser with it.

Lightpanda

Is it currently a new trend, that C open-source projects have to write their own allocator?

at work we are using 2 projects which have "recently" (over the last two years) implemented their own allocators. Both projects had used platform independent alignment. So their software might work or just crash with a "bus error" on another architectur.

#opensource #c #allocators

Allocators are Monkeys With Typewriters

Jason Evans

The jemalloc memory allocator was first conceived in early 2004, and hasbeen in public use for about 20 years now. Thanks to the nature of open source software licensing,jemalloc will remain publicly available indefinitely. But active upstream development has come to anend. This post briefly desc...

Arenas in Odin: Dynamic Array Trouble

When programming in Odin you can use arena allocators. If you use an arena allocator combined with a dynamic array, then there are a couple of pitfalls that may not be apparent at first. Let’s look at what arenas are, how you can run into trouble when naively using them with dynamic arrays and what you can do instead. What’s an arena? How does it work? Arenas and arena allocators are useful for grouping allocations that have the same lifetime.

Allocator-Aware C++ Type Design – Jonathan Coe – C++ on Sea 2024

https://www.youtube.com/watch?v=hZyJtRY84P4

#allocators #coding #cplusplus #cpp #programming

Allocator-Aware C++ Type Design - Jonathan Coe - C++ on Sea 2024

YouTube

Allocator-Aware C++ Type Design – Jonathan Coe – C++ on Sea 2024

https://www.youtube.com/watch?v=hZyJtRY84P4

#allocators #coding #cplusplus #cpp #programming

Allocator-Aware C++ Type Design - Jonathan Coe - C++ on Sea 2024

YouTube

Allocator-Aware C++ Type Design – Jonathan Coe – C++ on Sea 2024

https://www.youtube.com/watch?v=hZyJtRY84P4

#allocators #coding #cplusplus #cpp #programming

Allocator-Aware C++ Type Design - Jonathan Coe - C++ on Sea 2024

YouTube