[-] Nereuxofficial@programming.dev 4 points 2 years ago* (last edited 2 years ago)

A general purpose memory allocator although this is really much a work in progress i think there are some good opportunities for otimization in a memory allocator for rust.

For example Rust gives you the size of memory region to free, which means the allocator does not have to track that.

[-] Nereuxofficial@programming.dev 5 points 2 years ago

Maybe Cloudflare's pingora suits this purpose better given that it is being used by cloudflare to proxy traffic at a large scale

[-] Nereuxofficial@programming.dev 7 points 2 years ago

Yeah that just wastes both people's time

[-] Nereuxofficial@programming.dev 14 points 2 years ago

Yeah that's the fun part!

Maybe there are also some security implications of the code?

Because the thing is: That code is probably gonna end up in production somewhere

45
3
2
submitted 2 years ago* (last edited 2 years ago) by Nereuxofficial@programming.dev to c/rust@programming.dev
[-] Nereuxofficial@programming.dev 1 points 2 years ago

Hmm now it would be interesting how eyra fares for allocating. And also why does musl not implement a faster allocator? I get that it should be backwards compatible but the gap to glibc seems to be really large.

30
[-] Nereuxofficial@programming.dev 5 points 3 years ago

And then you find out you have that dependency but your linker decides to not take it and then you have it but a slightly other version and you decide it's not worth it

4
[-] Nereuxofficial@programming.dev 8 points 3 years ago* (last edited 3 years ago)

This is my first post on the Threadiverse! I hope i didn't miss tagging the post with a flair. If you have any feedback feel free to write in this thread!

This is a smaller blogpost but i will write larger ones in the future hopefully more in-depth than those in the past

53

Nereuxofficial

0 post score
0 comment score
joined 3 years ago