Re:Hooking Go from Rust
by aviramha on Friday August 26, 2022 @11:56AM
(#32609082)
Thanks for elaborating! I totally agree there's valid reasons to drop libc, though not sure if that's the right way.
In most modern languages today you can just return a tuple, not needing to mess with TLS.. whereas old times didn't really like passing results in out parameters (by ref) (which makes sense, it's less ergonomic).
[ Parent
| on HN ]
Re:Hooking Go from Rust
by throwaway894345 on Friday August 26, 2022 @02:08PM
(#32610828)
I much prefer the ergonomics of passing out-parameters than TLS. Honestly, TLS has always struck me as a code smell in any language.