evcxr | vim-slime | |
---|---|---|
77 | 56 | |
5,591 | 1,886 | |
1.4% | - | |
8.0 | 8.9 | |
about 1 month ago | about 1 month 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
- evcxr Rust REPL
-
Generics in Rust: visualizing Bezier curves in a Jupyter notebook -- Part 3
A project for Rust REPL environment is a combination of letter evxvr (Evaluation Context for Rust). It contains Evcxr Jupyter kernel. I chose to follow the documentation and compile Jupyter kernel from Rust sources (which takes about 6 min on my laptop), and simply run in Microsoft Windows PowerShell
-
Scriptisto: "Shebang interpreter" that enables writing scripts in compiled langs
Emacs didn't invent REPL, and it's common everywhere. For Rust: https://github.com/evcxr/evcxr/blob/main/evcxr_repl/README.m.... But heck, the compiler is reasonably fast enough that any IDE can REPL by compiling the code.
The value here is more in being able to read a script before you run it, then have it run fast, maybe tweaking something here and there. And a compiled script will run 10,000 times faster than LISP, which can be important.
-
Go: What We Got Right, What We Got Wrong
https://github.com/evcxr/evcxr can run Rust in a Jupyter notebook. It's not Golang but close enough.
-
The Hallucinated Rows Incident
The engine uses rust_decimal::Decimal to represent high precision decimal numbers, like the weight property. Serialization of RocksDB keys is done by the storekey crate. To know how Yumi's machine stores diffs, we can now ask- How does storekey serialize rust_decimal? Well, using evcxr to run Rust in Jupyter, the answer is as a null-terminated string:
- TermiC: Terminal C, Interactive C/C++ REPL shell created with BASH
- 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
vim-slime
-
Racket Language
https://github.com/jpalardy/vim-slime
you can have a REPL in nvim/vim/tmux/screen/another terminal/or any other window , and send regions from your vim buffer to that repl
-
Livebook: Elixir's Swiss Army Knife
For vim users, check out vim-slime[1]. It's really changed my workflow! It can work for any language that uses a REPL, including bash/shell. Combined with tmux, it is an amazing and (in hindsight) obvious tool. I honestly can't imagine myself going back to not having it now.
[1]: https://github.com/jpalardy/vim-slime
-
NeoVim Capability Functions
For splitting the terminal you could try either toggleterm or tmux. If you want to send things from one tmux pane to another, then you can use slime. For a toggle-able filetree, you can use nvim tree.
-
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.
What are some alternatives?
vscode-jupyter - VS Code Jupyter extension
iron.nvim - Interactive Repl Over Neovim
polars - Dataframes powered by a multithreaded, vectorized query engine, written in Rust
neovim-remote - :ok_hand: Support for --remote and friends.
jupyter-rust - a docker container for jupyter notebooks for rust
vim-repl - Best REPL environment for Vim
rust-script - Run Rust files and expressions as scripts without any setup or compilation step.
Pluto.jl - 🎈 Simple reactive notebooks for Julia
bincode - A binary encoder / decoder implementation in Rust.
neoterm - Wrapper of some vim/neovim's :terminal functions.
vim-ipython-cell - Seamlessly run Python code in IPython from Vim