How to Optimize Rust for Slowness: Inspired by New Turing Machine Results
1–10 of 18 posts
Re: How to Optimize Rust for Slowness: Inspired by New Turing Machine Results
#2If you can’t make it useful. It always can be used to write horrible examples hihi
Re: How to Optimize Rust for Slowness: Inspired by New Turing Machine Results
#3[flagged]
Re: How to Optimize Rust for Slowness: Inspired by New Turing Machine Results
#4[flagged]
[deleted]
Re: How to Optimize Rust for Slowness: Inspired by New Turing Machine Results
#5If you can’t make it useful. It always can be used to write horrible examples hihi
[deleted]
Re: How to Optimize Rust for Slowness: Inspired by New Turing Machine Results
#6Python version: https://towardsdatascience.com/how-to-optimize-your-python-p...
Re: How to Optimize Rust for Slowness: Inspired by New Turing Machine Results
#7 If our only goal is to run forever, the solution is immediate:
```rs
fn main() {
loop {}
}
```
I think this can even cause Undefined Behavior :) https://github.com/rust-lang/rust/issues/28728Re: How to Optimize Rust for Slowness: Inspired by New Turing Machine Results
#8If our only goal is to run forever, the solution is immediate: ```rs fn main() { loop {} } ``` I think this can even cause Undefined Behavior :) https://github.com/rust-lang/rust/issues/28728
This was fixed, llvm added the `mustprogress` attribute to get C++ semantics and Rust doesn't set it.
Re: How to Optimize Rust for Slowness: Inspired by New Turing Machine Results
#9Sorry for commenting on the form but that picture is bit too much for me. (Not because how it was produced.)
Re: How to Optimize Rust for Slowness: Inspired by New Turing Machine Results
#10tricky tricky- I think this stops well before 10^^15 due to the limits of 64 bit addressing