38 karma · joined Nov 19, 2020 (6y ago) · 22 submissions
comment 4y ago · link · parent
Go 1.18 added generics to the language. This allows you to have your types take types as parameters so that you can create composite types (types out of types). This lets you get a lot of expressivity and clarity about how you use Go.
Aren't structs already composite types?comment 5y ago · link · parent
comment 5y ago · link · parent
1. Continue trying to create error-handling systems for devs 2. Try to solve this with more generic static (or dynamic) analysis tools.
I mean, maybe what we need to do is make simulator-esque testing more popular, or something.
comment 5y ago · link · parent
comment 5y ago · link · parent
It's hilarious to me that it's hitting "1.0" now. I remember the original release ~4 years ago?? That was way before Rust even had async/await. I imagine there were quite a few refactors. I mean, so much work, to make a library for asynchronous network service programming? If I needed an event loop and a scheduler I think I would just invest in implementing it myself, tailored to the requirements of my project.
comment 5y ago · link · parent
comment 5y ago · link · parent