xit is coming https://radarroark.github.io/xit/xit-is-coming.html

Comments

A good memory allocator in 200 lines of code https://github.com/ziglang/zig/blob/0.14.0/lib/std/heap/SmpAllocator.zig

Hi Lobsters,

I know people here may be tired of seeing too many Zig stories, but, I think this is a legitimately cool discovery that transcends programming language turf wars.

This is a memory allocator that outcompetes glibc malloc with an incredibly simple implementation, that can be read and understood in a matter of minutes, even if you have never used the programming language it is written in, even if this is your first time considering a memory allocator implementation.

I am the author of this code, which is fairly new and not yet battle-tested. Maybe I’m missing something crucial, or maybe it’s going to become a specimen for computer science students to learn about memory allocation from. Either way, I hope you will find it interesting and on-topic here.

I added the “zig” tag out of courtesy, but it’s really not the point of the story, the point is that it’s possible to implement a good memory allocator that is also conceptually simple.

-Andrew

Comments

Is it true what they say: "Lobsters love Guinness"? https://postimg.cc/phdVNwPz

Found in an Irish Pub in Barcelona.

Comments

Succinct data structures https://blog.startifact.com/posts/succinct/

Comments

Writing an OLED display driver in MicroZig (2024) https://andrewconl.in/blog/2024/microzig-display-driver/

Comments

My changes to the default Phoenix boilerplate https://mediremi.com/writing/phoenix-boilerplate/

Comments

Git without a forge https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/git-no-forge/

Comments

A Happy Day for Rust https://steveklabnik.com/writing/a-happy-day-for-rust/

Comments

Distributed Systems without Raft (part 1) https://david-delassus.medium.com/distributed-systems-without-raft-part-1-a6b0b43db7ee

Comments

50 years in filesystems: 1984 https://blog.koehntopp.info/2023/05/06/50-years-in-filesystems-1984.html

Comments

Types as a design tool https://interjectedfuture.com/types-as-a-design-tool/

Comments

xdg-ninja: A shell script which checks your $HOME for unwanted files and directories https://github.com/b3nj5m1n/xdg-ninja

Comments

We’re fixing Edge Computing: Introducing Magic Containers https://bunny.net/blog/introducing-magic-containers-what-edge-computing-was-meant-to-be/

Comments

Five years of home-cooked apps https://www.robinsloan.com/lab/five-years-of-home-cooked-apps/

Comments

(2009) Composing J in my mind https://web.archive.org/web/20130921083348/http://kaleidic.com/2009/composing-j-in-my-mind/

Comments

Algebraic effects are a functional approach to manage side effects https://crowdhailer.me/2025-02-14/algebraic-effects-are-a-functional-approach-to-manage-side-effects/

Comments

Systems Correctness Practices at AWS: Leveraging Formal and Semi-formal Methods https://dl.acm.org/doi/10.1145/3712057

Comments

Chat Bots Revisited https://blog.cofree.coffee/2025-03-05-chat-bots-revisited/

Comments

Zig 0.14.0 Release Notes https://ziglang.org/download/0.14.0/release-notes.html

Comments

Ten Machine Requirements To Satisfy Essentials Of Joint Activity https://human-machine.team/

Comments

Why "alias" is my last resort for aliases https://evanhahn.com/why-alias-is-my-last-resort-for-aliases/

Comments

Strobelight: A profiling service built on open source technology https://engineering.fb.com/2025/01/21/production-engineering/strobelight-a-profiling-service-built-on-open-source-technology/

Comments

Prolly Trees https://docs.dolthub.com/architecture/storage-engine/prolly-tree

Comments

Determinate Nix 3.0 https://determinate.systems/posts/determinate-nix-30/

Comments

From unique to cleanups and weak: new low-level tools for efficiency https://go.dev/blog/cleanups-and-weak

Comments