News for hackers. Stuff that matters.

eolpin

Re:Switzerland. Block by block. At 1:1 scale on Tuesday October 27, 2026 @11:32AM (#50260862)
Wow, fun coincidence! I recently visited Switzerland and hiked to the Hörnlihütte at the base of the Matterhorn. I saw the parent post and found myself wanting to re-live the hike in Minecraft, then the hero image that I see immediately upon visiting buildtheearth.net happens to be of the Hörnlihütte and Matterhorn :)
Re:Go Away Python on Wednesday December 31, 2025 @11:53AM (#46445837)
Interesting! That seems unexpected, for a minimal hello-world program I'm averaging 14ms after the first execution:

```

$ echo 'fn main() { println!("hello, world!") }' > file.rs; hyperfine --warmup 1 'cargo +nightly -Zscript file.rs'

Benchmark 1: cargo +nightly -Zscript file.rs

  Time (mean ± σ):      14.0 ms ±   1.0 ms    [User: 7.7 ms, System: 9.7 ms]

  Range (min … max):    12.2 ms …  17.5 ms    203 runs
```
Re:Go Away Python on Tuesday December 30, 2025 @03:20PM (#46437518)
Fortunately this hack isn't necessary for rust, shebangs are syntactically valid and single-file scripts can be executed with cargo nightly: https://doc.rust-lang.org/nightly/cargo/reference/unstable.h...