Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
elimerl
on Dec 31, 2022
|
parent
|
context
|
favorite
| on:
Should small Rust structs be passed by-copy or by-...
The idea is that the "default" is the easy thing, which is usually optimized by the compiler.
TillE
on Jan 1, 2023
[–]
When you're writing in a language like Rust or C++, you know broadly what the compiler optimizes and what it probably won't. You
do
need to do the work yourself a lot of the time.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: