evcxr
cargo-script
Our great sponsors
evcxr | cargo-script | |
---|---|---|
71 | 10 | |
4,466 | 661 | |
1.8% | - | |
6.0 | 0.0 | |
14 days ago | over 2 years ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
evcxr
- Exploring Options for Dynamic Code Changes in Rust without Recompilation (hot reloading)
- Go 1.21 will (likely) have a static toolchain on Linux
-
What’s an actual use case for Rust
In theory you should be able to create Rust notebooks (Jupyter notebook) using evcxr so maybe some AI, data analysis, prototyping make sense if you aim for good performance in final application (protype in evcxr and use notebook as reference to implement final application in Rust for speed and safety).
-
would you use rust for scripting?
You should check out evcxr
- Nannou – An open-source creative-coding framework for Rust
-
A Case for Rust in Deep Learning
I think you might like this project: https://github.com/google/evcxr . It brings the REPL workflow to Rust, so having fast iteration should not be an issue.
-
Building a Cloud Database from Scratch: Why We Moved from C++ to Rust
While not Elixir good, the evcxr python notebook plugin gets you 50% of the way there.
https://depth-first.com/articles/2020/09/21/interactive-rust...
-
Improving Rust compile times to enable adoption of memory safety
I've started liking evcxr (https://github.com/google/evcxr) for REPL. It's a little slow compared to other REPLs, but still good enough to be usable after initial load.
-
Blog Post: Next Rust Compiler
Would such a project make it possible to have a faster rust repl? We can use evcxr, but it definitely doesn't feel first-class.
-
Am I dumb in thinking I can use Rust as a Fast Python and leave it at that?
I'm a long-time python developer and develop on the side in Rust for about as long as you, I also found myself familiar with the available datastructures and algorithms, as well as some FP-inspired syntax ( i.e. iterators instead of for loops ) . evcxr is reminiscent of ipython, it can even be integrated with jupyter notebook. And indeed I was surprised to find myself in such a familiar world. It's definitely something that more python developers should be aware of.
cargo-script
- Why is Rust always advertised as system programming not general purpose programming?
-
Quick Tip: You don't need to create a new cargo project if you want to test if something works in rust
You can also use cargo script. After installing it you can just do
-
Announcement: xshell 0.2.0
I think there are some projects in this area, eg, https://github.com/DanielKeep/cargo-script. For my personal scripts, I have a single Cargo.toml for a busy-box style multiplexed binary: https://github.com/matklad/config/blob/f0259ca8a3755f2e62a3bf472c2514fd6cb891ff/tool/src/main.rs#L16.
-
Shell Scripting in Rust
You don't have to set up a project if you use cargo-script
-
Is there any way to compile and run Rust from an input stream?
Take a look at cargo script. That should/could do what you want
- Run Rust source code like a script (Linux)
-
Rust for simple tasks
when I first started using rust, I knew python a lot better so I would write scripts with python. at this point though, I write a lot more rust than python these days, so I'll write pretty much everything with rust. cargo-script is a useful tool for this, as well as the self-compiling script: https://neosmart.net/blog/2020/self-compiling-rust-code/
-
Correct way to do "micro projects"?
Another option is cargo-script, which lets you run self contained rust files.
What are some alternatives?
vscode-jupyter - VS Code Jupyter extension
polars - Fast multi-threaded, hybrid-out-of-core DataFrame library in Rust | Python | Node.js
rust-script - Run Rust files and expressions as scripts without any setup or compilation step.
cargo-do - allows you to run multiple cargo commands in a row
cargo-outdated - A cargo subcommand for displaying when Rust dependencies are out of date
cargo-watch - Watches over your Cargo project's source.
cargo-edit - A utility for managing cargo dependencies from the command line.
jupyter-rust - a docker container for jupyter notebooks for rust
bincode - A binary encoder / decoder implementation in Rust.
cargo-graph
vim-slime - A vim plugin to give you some slime. (Emacs)