perfanno.nvim
evcxr
perfanno.nvim | evcxr | |
---|---|---|
3 | 75 | |
175 | 5,233 | |
- | 1.9% | |
4.3 | 8.6 | |
7 months ago | 30 days ago | |
Lua | Rust | |
MIT License | 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.
perfanno.nvim
-
How do you profiling Neovim to identify which plugin causing a key typing latency in a Python source code?
LuaJIT has an inbuilt profiler that could be of use here. My call graph profiler plugin supports this profiler so that would allow you to search through hot lines via telescope to find out where the issue is.
-
what do you guys use treesitter for?
Also my profiling plugin uses treesitter for functions like "show me the hottest callsites of the function containing the cursor" or "highlight the hottest lines in this function".
- Plugin: PerfAnno, explore Perf / call graph profiler output in NeoVim
evcxr
-
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
- Nannou – An open-source creative-coding framework for Rust
-
Rust vs. Haskell
There is also implementations of rust REPLs, like the beautifully named evcxr.
What are some alternatives?
neotest - An extensible framework for interacting with tests within NeoVim.
vscode-jupyter - VS Code Jupyter extension
dressing.nvim - Neovim plugin to improve the default vim.ui interfaces
polars - Dataframes powered by a multithreaded, vectorized query engine, written in Rust
vim-python-pep8-indent - A nicer Python indentation style for vim.
jupyter-rust - a docker container for jupyter notebooks for rust
profile.nvim - lua profiler for nvim
rust-script - Run Rust files and expressions as scripts without any setup or compilation step.
config.nvim - My neovim configuration - entirely in Lua using modern plugins (native LSP, treesitter, telescope, etc.)
bincode - A binary encoder / decoder implementation in Rust.
dotfiles - It is my work in progress dotfiles managed by Chezmoi
cargo-script - Cargo script subcommand