1026
18

@nnethercote@mas.to wrote:

I have rewritten the Build Configuration chapter of the Rust Performance Book.

https://nnethercote.github.io/perf-book/build-configuration.html

It's now a much better guide to all the ways you can change the performance characteristics of your Rust program without changing its source code. These characteristics include runtime speed, memory use, binary size, and compile times.

Big improvements to your Rust program's performance are possible with simple changes. Try these things out!

1027
12

Not happy to link to the evil site, but there was no other link, and I thought that there might be people here that migtht be interested in helping out with porting Kellnr to Axum.

Here is the original request by /u/secanadev on the evil site:

Hi Rustaceans,

I’m the author of https://kellnr.io. When I started working on Kellnr three years ago, https://rocket.rs was “the web framework” to use. Unfortunately, the project seems dead. Before adding more functionality using an unmaintained framework, I want to port Kellnr to https://github.com/tokio-rs/axum.

Kellnr is a huge project, so migrating it will take a long time as every handler, state, and test have to be migrated. I’ve never worked with Axum before, and the amount of work feels overwhelming.

Are there any brave Rust warriors with experience in Axum? If so, would you be interested in helping me migrate the project?

1028
33
UEFI Rust Std is now in Nightly (programmershideaway.xyz)
1029
9
Rust Analyzer Changelog #201 (rust-analyzer.github.io)
1030
24
submitted 2 years ago by runiq@feddit.de to c/rust@programming.dev
1031
39
1032
47

We just accomplished two big milestones:

  • We can now compile Rust for Linux without any patches to cg_gcc.
  • We can compile, run and pass all the tests from the most popular crates. This is huge!
1033
9
1034
37

Docs: https://leptos-rs.github.io/leptos/

Notably, an experimental but official new UI for Lemmy is being developed with Leptos: https://github.com/LemmyNet/lemmy-ui-leptos

It is based on a Hacker News example that has been updated for v0.5: https://github.com/leptos-rs/leptos/tree/main/examples/hackernews

1035
26
1036
14
1037
14
1038
34
Was async fn a mistake? (seanmonstar.com)
1039
16
This Week in Rust 514 (this-week-in-rust.org)
1040
14
1041
11
1042
9
1043
20
Rust Language Guide (rust-lang.guide)
1044
15
1045
183
The ???? operator (programming.dev)
submitted 2 years ago* (last edited 2 years ago) by snaggen@programming.dev to c/rust@programming.dev

I found this funny.

The context is as explained by @laund@hachyderm.io

the issue is that you can't return from inside a closure, since the closure might be called later/elsewhere

and this post was the asnwer to the question by @antonok@fosstodon.org

you got me curious what the record for the longest ? operator chain on crates.io is

Original post: https://fosstodon.org/users/antonok/statuses/111134824451525448

1046
9
Learning Rust (midwest.social)

Anyone have tutorial recommendations,

1047
15
1048
20
1049
19
Qualifying Rust without forking (ferrous-systems.com)
1050
10

a small crate that implements a hybrid Estrin's/Horner's method suitable for evaluating polynomials fast by exploiting instruction-level parallelism.

view more: ‹ prev next ›

Rust

8252 readers
30 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 3 years ago
MODERATORS