Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fjasdfas
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
fjasdfas
1y ago
So are there downsides to just always setting slots=True on all of my python data types?
2.
▲
by
fjasdfas
1y ago
You can do multiple processes with SO_REUSEPORT. free-threaded makes sense if you need shared state.
3.
▲
by
fjasdfas
1y ago
`:=` was new to me: https://peps.python.org/pep-0572/ It actually looks really natural in python, glad they added.
4.
▲
by
fjasdfas
1y ago
gleam: fn get_user_name() -> Result(String, String) { use user <- result.map(option.to_result(get_user(), "No user")) user }