Reddit » The Rust Programming Language
175 FOLLOWERS
A place for all things related to the Rust programming language - an open-source systems language that emphasizes performance, reliability, and productivity.
Reddit » The Rust Programming Language
30m ago
A year ago, the idea arose to rewrite the entire Java backend in Rust, which I have been developing and supporting for several years. I found all the analogues of libraries and frameworks from the Java world in the Rust ecosystem:
Spring Framework = Axum
Jackson = Serde
Hibernate = SeaORM
Bouncy Castle = Rustls
In the world of Rust, I could not find an analogue of only one library - JasperReports, which is used to generate reports. For this reason, we had to abandon the idea of rewriting the entire project in Rust.
Since the niche for generating answers in Rust is empty, I created my own ..read more
Reddit » The Rust Programming Language
4h ago
submitted by /u/milosgajdos
[visit reddit] [comments ..read more
Reddit » The Rust Programming Language
4h ago
Oxidize is the conference for companies and developers using Rust professionally. The conference agenda was published last week -- https://oxidizeconf.com. Use the discount code EMBEDDED15 to avail a 15% discount on the conference tickets.
https://preview.redd.it/x5j6k4m8qfvc1.png?width=1920&format=png&auto=webp&s=bfd3c4f9fce72e868310a862da97042ae3351844
submitted by /u/madnirua
[visit reddit] [comments ..read more
Reddit » The Rust Programming Language
4h ago
TLDR: What started out as an example Rust project got a bit out of hand as I added more features and refactored everything about 10 times. I'd love some feedback on the Rust project especially. I challenge you to defeat the main boss :)
Playable Web Demo: https://hseager.github.io/you-are-merlin-www/
Rust project & CLI version: https://github.com/hseager/you-are-merlin
WASM container project (React, Typescript etc): https://github.com/hseager/you-are-merlin-www
Although the game is pretty basic, it's been a great learning experience and a good base to add more features. I'd love to get ..read more
Reddit » The Rust Programming Language
6h ago
submitted by /u/_irh
[visit reddit] [comments ..read more
Reddit » The Rust Programming Language
6h ago
SOLVED: I'd put the linker in Cargo.toml instead of .cargo/config.toml.
When I cross compile to MIPS I get
$ cargo +nightly build -Zbuild-std --target mips-unknown-linux-gnu [...] error: linking with `cc` failed: exit status: 1 = note: LC_ALL="C" [...] "cc" "/tmp/rustc2fZ4Gz/symbols.o" [...] [...] /usr/bin/ld [...] relocations in generic ELF (EM: 8)
And it's no wonder it fails. It uses /usr/bin/cc to link, not mips-linux-gnu-gcc (or its presumed subprocess, mips-linux-gnu-ld).
I tried setting the linker in Cargo.toml, but it did not seem to take effect.
[target.mips-unknown-linux-gnu] linker ..read more
Reddit » The Rust Programming Language
6h ago
submitted by /u/hsjajaiakwbeheysghaa
[visit reddit] [comments ..read more
Reddit » The Rust Programming Language
8h ago
Which is a better way to get and modify a struct's value in a rust: using getter setters or declaring the struct's value as pub and modifying it with mut?
submitted by /u/mang_joo
[visit reddit] [comments ..read more
Reddit » The Rust Programming Language
14h ago
submitted by /u/lonelyProgrammerWeeb
[visit reddit] [comments ..read more
Reddit » The Rust Programming Language
16h ago
# of points gained as rounds go on for each strategy type.
Seeing how each strategy pool goes against each other strategy pool and who wins most points.
submitted by /u/lonelyProgrammerWeeb
[visit reddit] [comments ..read more