News for hackers. Stuff that matters.
Re:Go bindings to Rust's regex engine by derefr on Monday May 02, 2016 @08:48PM (#11617015)
It might be desirable now, but those '60s/'70s OSes probably weren't dynamically allocating memory ever. They'd make a buffer in [their equivalent to] the .BSS section that was M×sizeof(int), and another that was N×sizeof(float), and then they'd process records through those buffers blockwise.
Re:Go bindings to Rust's regex engine by pcwalton on Monday May 02, 2016 @08:53PM (#11617038)
Exactly. In the '60s and '70s malloc was a luxury that most programs didn't have, and so Rust's facilities weren't needed to ensure safety. That doesn't describe the state of play in 2016. Those safer languages from the '60s and '70s would also be inadequate to ensure safety today.
Re:Go bindings to Rust's regex engine by catnaroek on Monday May 02, 2016 @09:30PM (#11617175)
> It might be desirable now, but those '60s/'70s OSes probably weren't dynamically allocating memory ever.

Those systems suddenly seem a lot less impressive now. While the lack of dynamic resource management poses other problems (e.g. determining up-front if the system has enough resources to complete the given task), I can't imagine this being more challenging than implementing a modern runtime system (JIT compiler, garbage collector, green thread scheduler, etc.).