Profile for hikari

Header for hikari
Avatar for hikari
Display name
hikari 🌟
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
17739
Followed by
1566
Following
197

Recent posts

I’d just like to interject for a moment. What you’re referring to as Linux, is in fact, glibc/Linux, or as I’ve recently taken to calling it, glibc plus Linux. Linux is not an operating system unto itself, but rather—

Open thread at this post

IMA ADPCM is an extremely cute audio compression format. the reference algorithm is a few lines of C code with no multiplication or division, let alone floating-point. just bitshifts and two constant lookup tables <3

Open thread at this post

you know, it’s a shame that C is designed by ISO/IEC JTC1/SC22/WG14 and not the OpenGL Architecture Review Board. i’m sure we’d all rather write:

glDisable(GL_MASKING);
glEnableClientState(GL_SOURCE_DATA_ARRAY);
glBindBuffer(GL_ARRAY_BUFFER, 0);
glSourceDataPointer(1, gl::UNSIGNED_BYTE, 1, dst_ptr);
glEnableClientState(GL_DESTINATION_DATA_ARRAY);
glBindBuffer(GL_ARRAY_BUFFER, 0);
glDestinationDataPointer(1, gl::UNSIGNED_BYTE, 1, src_ptr);
glCopyBytes(0, num_bytes);
if (glGetError() != 0) {
   // fuck
}

rather than

memcpy(dst_ptr, src_ptr, size);
Open thread at this post