Why Rust ?

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • SaaSHub - Software Alternatives and Reviews
  • Not really. There is exactly one legitimate use case for writing plugins in something other than Lua or Vim script: if you want to use libraries written in that language. For example, I have a plugin named pycodestyle.nvim which is written in Python because it uses the Pycodestyle library to figure out the user's linter configuration. If I wanted to do it in Lua I would basically have to re-implement a major part of Pycodestyle myself, which would be a pointless waste of time. And people who use that plugin already have Pycodestyle installed anyway, so it's not an extra dependency.

  • Nim

    Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

    Rust people are like a cult. There are many great languages out there, but you don't see for example Nim people going around re-implementing the coreutils in Nim for no good reason or trying to get Nim into Linux (which would actually make more sense than Rust). I love Lisp and use it whenever it makes sense, but I would never write a plugin in Lisp, not even in Fennel.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • Fennel

    Lua Lisp Language

    Rust people are like a cult. There are many great languages out there, but you don't see for example Nim people going around re-implementing the coreutils in Nim for no good reason or trying to get Nim into Linux (which would actually make more sense than Rust). I love Lisp and use it whenever it makes sense, but I would never write a plugin in Lisp, not even in Fennel.

  • parinfer-rust

    A Rust port of parinfer.

    Another example where rust's benefits show is something like parfiner. Currently I'm using my own ffi interface to https://github.com/eraserhd/parinfer-rust, and it feels significantly faster than the plain-lua version I had before. Getting to write the whole thing in rust just makes life easier and simpler

  • xbase

    Develop Apple software products within your favorite editor.

    I think an excellent example is https://github.com/xbase-lab/xbase/blob/master/Cargo.toml

  • Rust-for-Linux

    Adding support for the Rust language to the Linux kernel. (by Rust-for-Linux)

    There's a lot of interest in adding Rust to other parts of the kernel if the driver experiment is successful and once the current problems are addressed.

  • coreutils

    Cross-platform Rust rewrite of the GNU coreutils

    For example: https://github.com/uutils/coreutils doesn't really bring anything new to the table. Ripgrep has a plethora of improvements rather than being a 1 to 1 clone of grep, same with exa and ls

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts