-
Most likely, it should, we just haven't had the time to fully implement it or add a library to wrap the FFI. Please let us know you need a feature by opening an issue.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
It certainly can be, it has a lot of nice ergonomics. Pattern matching is a very nice feature that I think reads really intuitively. Also the compiler tends to help you along quite well. There isn't as much learning material as other more established languages out there, but that is changing. I would recommend reading the book first as it's written in a fairly beginner friendly manner.
-
There have been written a bunch of books on rust, you can find the list (and links to the free ones) here: https://github.com/sger/RustBooks
-
If your current measurement varies between 2 and 3 seconds then it's going to be difficult to tell if a particular optimization is good or not. So for starters I suggest setting up benchmarks so that you would be able to measure improvements with better precision. Take a look at criterion crate for that. And you should perform only hashing part inside the benchmark - i.e. if you are reading a file for test data you should avoid measuring the time needed to do that because it will vary greatly depending on disk cache.
-
After that you would need some tools to help figure out how to achieve improvements. That will depend on your system and personal preferences. As the other commenter suggested, perf is a good choice on linux. I personally like to look at the generated assembly, using either cargo asm, godbolt, or just rust playground.
-
hi can anyone tell me why cargo is ignoring my newly added rust file? So I am trying to work on an issue, its my first time contributing a feature to a rust project here is a draft PR https://github.com/palash25/client_rust/pull/1/files
-
Yes. That's what I do. My actual site is in Go and uses a Post struct, but first I have to check if the text file has each field.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Here's the commit where I've removed all unrelated app code: https://gitlab.com/freiguy1/status-monitor/-/blob/3edb2b6d965574e8c0d54e1d00ea49a6fdae126a/src/main.rs
-
I'm following some examples for creating a server with Axum like realworld-axum-sqlx and customize-extractor-error. The second one shows how to get request errors related to json and I'd like to know if there's anyway to make the where clause more error-proof.
-
I'm following some examples for creating a server with Axum like realworld-axum-sqlx and customize-extractor-error. The second one shows how to get request errors related to json and I'd like to know if there's anyway to make the where clause more error-proof.
-
rust by example is a good refresher and probably quicker to go through than re-reading the book.
-