Re:Go Is a Well-Designed Language
by guappa on Friday January 31, 2025 @07:33AM
(#42887029)
Your example doesn't make sense because that's not how the syscall works.
[ Parent
| on HN ]
Re:Go Is a Well-Designed Language
by yencabulator on Friday January 31, 2025 @09:57AM
(#42888287)
Go's Write makes a promise to not do short writes except on errors, which means it has to be a loop over write(2).
Interesting. Does it return both the amount of partially written data AND the error if it fails?
Re:Go Is a Well-Designed Language
by yencabulator on Tuesday February 04, 2025 @10:07AM
(#42933244)