Our great sponsors
evcxr | vim-slime | |
---|---|---|
71 | 53 | |
4,466 | 1,639 | |
1.8% | - | |
6.0 | 8.3 | |
14 days ago | 30 days ago | |
Rust | Vim Script | |
GNU General Public License v3.0 or later | MIT License |
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.
vim-slime
-
Help running chunks of Python to a terminal as REPL
I use vim-slime. It works really well in tmux. https://github.com/jpalardy/vim-slime. Just blocks of code as cells
-
slimux.nvim - Simple plugin to send text to tmux panes
This is yet another plugin to capture text from the current buffer and send it to a tmux pane. I was using https://github.com/jpalardy/vim-slime previously, and wished I could just set sensible defaults for where to send text. Also, I wanted to create my first Neovim plugin! I have to say, after writing a bit of Vimscript in the past, the Neovim Lua API makes me a much happier camper.
-
If we can have this functionality in neovim, I'll probably never leave my room again
I use slime (which sends code to tmux panes), tmux (of course) and ipython for this. For example, the code I sent to ipython was with a simple keybinding ...
-
Running codes in one line
If I understand correctly, what you need is a combination of vim, tmux, ipython and vim-slime.
-
Tools for productivity
REPL??? Do you have a very-easy-to-use way of running and testing your code? From vim-slime to nvim sniprun to autocommands with the built in terminal, to an external repl like ptpython (for python obviously). iron.nvim and conjure are two other neovim repl plugins. There are many ways of running the code that you're working on, and having something that makes this really easy for you is pretty essential. (sometimes I use inotifytools on linux to literally just run the script every time I save it.)
-
Favorite REPL/Notebook/Task Running plugins and workflow?
For the record/list, there's also: - https://github.com/hkupty/iron.nvim and - https://github.com/jpalardy/vim-slime
-
Outdated tutorials
However, if you're coding in an interpreted language like python, R, bash, etc., then there is one plugin which you are likely to find helpful. That's vim-slime.
- Which vim plugins do not have a lua equivalent yet?
-
Get output from your bash script directly in Vim, with colors too.
I've written something similar trying to mimic Vimux/vim-slime in my quest to learn vimscript and ditch plugins; because It's nice to have a terminal split like tmux.
-
The way I setup neovim with vim-slime and lazy.nvim for REPL interaction
I have a Python and Julia REPL based workflow and I achieved a pretty nice setup with LazyVim, vim-slime and tmux.
What are some alternatives?
vim-repl - Best REPL environment for Vim
neovim-remote - :ok_hand: Support for --remote and friends.
iron.nvim - Interactive Repl Over Neovim
vscode-jupyter - VS Code Jupyter extension
Pluto.jl - 🎈 Simple reactive notebooks for Julia
neoterm - Wrapper of some vim/neovim's :terminal functions.
vim-ipython-cell - Seamlessly run Python code in IPython from Vim
vim-floaterm - :computer: Terminal manager for (neo)vim
julia-vim - Vim support for Julia.
vim-julia-cell - Run Julia cells in Vim
ipython - Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.
zellij - A terminal workspace with batteries included