Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
richardwhiuk
on Aug 30, 2019
|
parent
|
context
|
favorite
| on:
Should small Rust structs be passed by-copy or by-...
Rust doesn't have a defined, standardized, binary calling convention, to the extent that C does.
kzrdude
on Aug 30, 2019
[–]
I agree, but that doesn't mean that it picks different calling conventions for each function call it compiles or something like that. Each version & platform of Rustc will have a calling convention that it sticks to when compiling function calls.
richardwhiuk
on Sept 1, 2019
|
parent
[–]
It can pick a calling style on a per function basis.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: