evcxr
rust-script
Our great sponsors
evcxr | rust-script | |
---|---|---|
71 | 23 | |
4,466 | 821 | |
1.8% | - | |
6.0 | 0.0 | |
14 days ago | 12 days ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
rust-script
-
I made a scriptable spaced repetition CLI with Rust and Rhai!
I started this as a little script made with rust-script, which took only a few hours to mock up, and then I was able to refactor the core logic into a much larger scriptable system over only about a day. And, Rust being Rust, it worked first time once I got it compiling! Also, I have to say, having a full-blown custom scripting engine just work is a novelty coming from web programming, and Rhai is a great choice if you need this sort of functionality in your own projects!
-
Organizing a large collection of Rust "scripts"?
Use rust-script ! Instead of having a folder for each script, your script could be a single file, just like you would in python. Then you can put all the files in a single directory with a readme describing the functionality and use-case of each script.
-
Pre-RFC: `cargo-script` for everyone
In case you didn't notice in the Prior Art section, rust-script is the most actively maintained descendant of cargo-script (from which the cargo-eval crate is forked as well).
-
Rust tech stack
Someone even wrote https://rust-script.org/ to make that "shell scripting using Rust" use-case more convenient.
-
would you use rust for scripting?
Is rust-script close enough?
So personally, I use: - bash for super super basic things - ifs and loops are pretty much off the table - Rust for anything more complex than that - I've had a good time using https://rust-script.org/ , it's got some really cool features, and a very Unix-y feel
-
Why is Rust always advertised as system programming not general purpose programming?
That may have been more of the originator of the idea, but what I believe I had used was rust-script, looking into it more. That one isn't maintained.
-
How has learning Rust been a benefit to you in other programming areas?
If you want that, check out rust-script.
- rust-analyzer changelog #134
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
cargo-script - Cargo script subcommand
jupyter-rust - a docker container for jupyter notebooks for rust
bincode - A binary encoder / decoder implementation in Rust.
vim-slime - A vim plugin to give you some slime. (Emacs)
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
iron.nvim - Interactive Repl Over Neovim
dotfiles - My configuration files and personal collection of scripts.
cargo-script - Cargo script subcommand
ipython - Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.