News for hackers. Stuff that matters.
Re:Open-sourcing Sorbet: a fast, powerful type checker for Ruby by tomp on Thursday June 20, 2019 @06:19PM (#20237966)
Do you have any documentation?

> Dark also doesn't have nulls or exceptions because they're hard to reason about.

How do you handle OutOfMemory errors?

Re:Open-sourcing Sorbet: a fast, powerful type checker for Ruby by pbiggar on Thursday June 20, 2019 @07:05PM (#20238316)
No documentation just yet, but we do have an introductory design doc: https://medium.com/darklang/the-design-of-dark-59f5d38e52d2. I'm working on an essay about this particular thing (email/twitter me for an early draft).

In the longer term, OutOfMemory errors will be handled by automatically rerunning the request with more memory enabled. (Or even longer term, requests will be split and parallelized and checkpointed, etc, automatically). But yeah, if you run out of memory, it will probably simple return a 500.