[-] Nereuxofficial@programming.dev 1 points 2 weeks ago* (last edited 2 weeks ago)
Jan
  |> month_to_string
  |> io.println

This is something that really confused me when i first read some gleam code because it does not really look like a function call in other languages, which would be read from right to left but this way seems more logical when considering we read left to right and i think i would really get used to it when i get the opportunity to use it more

[-] Nereuxofficial@programming.dev 4 points 3 months ago* (last edited 3 months 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 3 months 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 3 months ago

Yeah that just wastes both people's time

[-] Nereuxofficial@programming.dev 14 points 3 months 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

44
3
3
submitted 10 months ago* (last edited 10 months ago) by Nereuxofficial@programming.dev to c/rust@programming.dev
[-] Nereuxofficial@programming.dev 1 points 10 months 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.

29
[-] Nereuxofficial@programming.dev 5 points 11 months 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

7
[-] Nereuxofficial@programming.dev 6 points 11 months ago* (last edited 11 months 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

48

Nereuxofficial

joined 11 months ago