Re:Mastering Nim – now available on Amazon
by cercatrova on Wednesday June 29, 2022 @09:52PM
(#31927915)
Elixir is not bad, but I definitely prefer static typed languages now after getting more into TypeScript. Not having types just feels wrong now.
[ Parent
| on HN ]
You might like this development around Elixir then: https://twitter.com/josevalim/status/1535008937640181760
Re:Mastering Nim – now available on Amazon
by vasergen on Thursday June 30, 2022 @06:07AM
(#31930532)
static types in Elixir would be fantastic
Re:Mastering Nim – now available on Amazon
by throwawaymaths on Wednesday June 29, 2022 @10:44PM
(#31928247)
Not having failure domains is worse than not having types IMO.
Re:Mastering Nim – now available on Amazon
by eddyschai on Thursday June 30, 2022 @12:25AM
(#31928711)
What are failure domains?
Re:Mastering Nim – now available on Amazon
by throwawaymaths on Thursday June 30, 2022 @08:39AM
(#31931631)
By default a green thread is the atomic failure domain. A 'panic' in this green thread is isolated, but sends an uncancellable notification to anyone who subscribes to it. You can tie multiple green threads together so that when one goes down the others do too.