Profile for hikari

Header for hikari
Avatar for hikari
Display name
Kanbaru 🌟 (one hikari of too many)
Username
@hikari@noyu.me
Role
admin

About hikari

Bio

from another world; anime girls on the internet who are terrible at playing guitar and slightly less bad at programming; EN/SV/DE/日本語

Stats

Joined
Posts
18825
Followed by
1562
Following
200

Recent posts

ok so I was going to ask what fread() does when it partially reads an object, but then I didn’t, because I realised the whole point of it working with “objects” must be so it can ensure the file position is at an object boundary if an error occurs.

JOKE’S ON ME, THIS IS C

Open thread at this post

are there any memory allocators that support partial freeing? suppose i’m doing a character encoding conversion and i cheaply estimate the amount of space required. after conversion i’ll find out maybe as much as half of the space isn’t actually needed. what if i could tell the allocator i don’t need it, so it can re-use it if possible, without moving the rest of my allocation?

Open thread at this post