I was curious to know how the new default allocator usage in #rustlang 1.32.0 would affect bin sizes on osx. Here's a default "hello world" bin before and after https://gist.github.com/softprops/7711e1717ee6b21a06f8316149348c05 … . Binsize went from 576k to 280k for a 296K savings. Not bad
:)
-
Show this thread
-
I'm curious to know if this difference is about the same on other OSes or if other OSes use jemalloc by default and this diff is less noticeable
1 reply 0 retweets 0 likesShow this thread -
Replying to @softprops
Stripped release binary size goes from 420K to 196K for a 224K saving on x86_64-unknown-linux-gnu https://gist.github.com/wezm/4211679041d9b3abe447679e98c224cd …
2 replies 0 retweets 1 like -
Replying to @wezm
I'm very not aware of these things but I wonder if there's a easy to scan reference on what the default allocators are for rust supported target platforms.
1 reply 0 retweets 0 likes
Replying to @softprops
I think they all use the system allocator now, right? However for example on FreeBSD the system allocator is jemalloc.
2:40 PM - 19 Jan 2019
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.