Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
c-cube
on Sept 14, 2021
|
parent
|
context
|
favorite
| on:
Resource efficient Thread Pools with Zig
It's not just the function's body, it's any block. Blocks in rust are expressions and return their last statement's value. It's nothing like Javascript's ASI where it's just inserting ; implicitly and only `return` can return a value.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: