Re:Making a low level Linux debugger, part 3: our first program
by pmarreck on Tuesday July 10, 2018 @11:52AM
(#17499181)
> threading weirdness, memory corruption, resource leakages, other people's bugs
Just as an FYI, most of these are theoretically eliminated or at least drastically mitigated by a switch from mutable state to immutable, purely-functional data structures. The cost of course being somewhat increased memory consumption and a bit more slowness (or a lot, depending on the algorithm).
If you ever get a chance to work with the BEAM VM, it's pretty tight.
Just as an FYI, most of these are theoretically eliminated or at least drastically mitigated by a switch from mutable state to immutable, purely-functional data structures. The cost of course being somewhat increased memory consumption and a bit more slowness (or a lot, depending on the algorithm).
If you ever get a chance to work with the BEAM VM, it's pretty tight.