Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eolpin
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
eolpin
9mo ago
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
2.
▲
by
eolpin
9mo ago
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...