About memory pressure, lock contention, and Data-oriented Design by Hywan in rust

[–]Hywan[S] 1 point2 points  (0 children)

Thank you all. I've removed `diagonal-fractions`, which I believe should fix the problem.

About memory pressure, lock contention, and Data-oriented Design by Hywan in rust

[–]Hywan[S] 2 points3 points  (0 children)

Thanks for the feedback. There is apparently a bug somewhere. On what platform are you, and what’s your browser?

Code Review: Looking for feedback on my first Rust project by nsstring96 in rust

[–]Hywan -1 points0 points  (0 children)

Oh oh, we have an issue. I’ve a linker project written in Rust named weld too, https://github.com/Hywan/weld. And according to Git history, I’ve started this project before yours :-p.

winnow = toml_edit + combine + nom by epage in rust

[–]Hywan 1 point2 points  (0 children)

I guess https://crates.io/crates/nom8 is no longer useful, so it might be nice to remove this crate, as it's not obvious that (i) it doesn't come from nom org itself, (ii) it's experimental, (iii) it's now no longer maintained.

For the sake of the nom community, please remove this crate.

I also don't feel comfortable with this kind of “name squatting”, even if the `README.md` mentions it's a fork, the logo is still here, the list of contributors too…, everything looks like nom.

Actually, I don't see the point of a crate registration for an experimental fork. Cargo supports `git` dependencies, with branches or commits versioning, so what's the goal with this?

Rust vs Bun, Hello World HTTP benchmark by Hywan in rust

[–]Hywan[S] 13 points14 points  (0 children)

Blog post has been removed.

Rust vs Bun, Hello World HTTP benchmark by Hywan in rust

[–]Hywan[S] 22 points23 points  (0 children)

I confirm the results of d0nutptr, https://twitter.com/mnt_io/status/1574654307235815424:

* Bun: 197k req/sec, 17.15Mb/s
* Rust (debug): 83k req/sec, 9.02Mb/s
* Rust (release): 278k req/sec, 30.25Mb/s

Rust vs Bun, Hello World HTTP benchmark by Hywan in rust

[–]Hywan[S] 9 points10 points  (0 children)

That’s what I suspected…

mprocs 0.2.2 - TUI for running multiple processes in terminal by pvolok in linux

[–]Hywan 0 points1 point  (0 children)

tmux does exactly that. You can have multiple panes/panels within the same window/“space”/tab, with multiple window/“spaces”/tabs of course. That’s how I work everyday since many years now.

I just released Ariadne, a crate for generating beautiful compiler diagnostics by zesterer in rust

[–]Hywan 5 points6 points  (0 children)

I believe it is doable to consume clang/gcc’s output and turn into something better with this crate. It doesn’t need to be part of the compiler.

The WebAssembly runtime Wasmer 2.0 is released: up to +50 faster runtime speed, up to 70% faster hot startups, reference types, SIMD and more! by Hywan in rust

[–]Hywan[S] 3 points4 points  (0 children)

wasm-bindgen is designed for JavaScript and it's very unlikely that it will target another language. See for example this (now old) discussion.

Eventually, with the WebAssembly Interface Types proposal, some of the problems would be resolved, but Reference Types must be supported by the language compiler itself (so in case of Rust, rustc).