News for hackers. Stuff that matters.
Re:Rust: Dropping heavy things in another thread can make yo... by ycombobreaker on Saturday May 30, 2020 @04:14PM (#23364261)
In a world where processes can fork-and-exec, nothing about "as a service" changes that. The compiler would just be reinvoked as needed. Converting it into a persistent process breaks a lot more than just allocation optimizations.
Re:Rust: Dropping heavy things in another thread can make yo... by rubber_duck on Saturday May 30, 2020 @04:18PM (#23364300)
But you want to share state and only update state incrementally on edit to get any reasonable level of performance for stuff like language server code analysis.
Re:Rust: Dropping heavy things in another thread can make yo... by all-fakes on Saturday May 30, 2020 @06:06PM (#23365193)
I'm not sure what the performance overhead would be, but that state can easily be stored on disk.
Re:Rust: Dropping heavy things in another thread can make yo... by tsimionescu on Sunday May 31, 2020 @06:28AM (#23368555)
I'd bet it's a lot harder to rework the compiler to update its state in place than it is to rework it to free memory.