-
Notifications
You must be signed in to change notification settings - Fork 340
More FAQs #248
Comments
The second question is about RAM usage, not executable size. |
Comparison to swift would be useful. |
@antoyo Yes, but the additional RAM usage is caused by a larger executable (which is loaded into RAM). For swift I guess something along the lines of it having a very similar type system without the ownership/borrowing, and using automatic reference counting for memory safety? |
@Manishearth In the thread on rust-lang, I learned that using the system allocator lower the RAM usage. Does this mean that jemalloc is using 10 MB of RAM? |
That could be the case, but I doubt it; it probably means you're statically linking to jemalloc which increases the binary size (whereas the system allocator exists on your machine anyway) |
"What's the point of inner attributes?" / "Why are there so many attribute forms?" / "Why are doc comments attributes?" |
"Why does my Windows application show console?" |
"Which string type should i use?" http://hermanradtke.com/2015/05/03/string-vs-str-in-rust-functions.html |
"Can i write a function that accepts both http://hermanradtke.com/2015/05/06/creating-a-rust-function-that-accepts-string-or-str.html |
Why there is no incremental/decremental operators ( ++/-- ) in Rust? Well, I know these operators lead to troubles, but I can't find the canonical explanation. |
I am happy to take a crack at answers to the above-listed questions. I can probably whip up reasonable answers to all of them but the naming question. If anyone familiar with the history has a good explanation for the name, I'm happy to write up an answer that explains it. |
There are still FAQs not answered:
The text was updated successfully, but these errors were encountered: