Truth
Rust Language Server
Truth | Rust Language Server | |
---|---|---|
5 | 6 | |
31 | 3,568 | |
- | - | |
9.3 | 7.0 | |
5 days ago | over 1 year ago | |
Haskell | Rust | |
GNU General Public License v3.0 only | 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.
Truth
-
Implicit parameters vs ReaderT
Here's an example in Pinafore's type unifier code, where I use ?rigidity :: String -> NameRigidity everywhere. In my opinion, the implicit parameter constraint makes the already complicated code slightly simpler. But it doesn't escape the module.
-
[RFC] Generate Cabal files from TOML
I'm actually using YAML file includes with hpack to include a common.yaml file for settings common to multiple packages.
-
install package into haskell project
HPack is YAML, so it allows file inclusion. I use this to keep common settings for a multi-package project.
-
First Class Monad Stacks
I've got something pretty similar in an unreleased package.
-
Is this type family shenanigan safe?
I have now stripped out all that complication and replaced it with typeIsPair.
Rust Language Server
-
Why doesn't rust-analyzer reuse infrastructures of rustc?
In the last there was RLS that did exactly that. But the approach of rust-analyzer was found to be more performant.
-
[RFC] Generate Cabal files from TOML
LSP support seems to be lacking as well, at least rust doesn't seem to have Cargo.toml support? https://github.com/rust-lang/rls/issues/785
-
Referencing files in subfolders and difference between borrowing and C like references
apparently, it means that you're using the old RLS-based Rust plugin for VS Code, rather than the rust-analyzer plugin. You probably won't see a lot of people familiar with RLS's error messages.
-
friendly reminder for our vscode folks, use rust-analyzer
Why: The rust-analyzer extension integrates with rust-analyzer, an alternative language server for Rust. rust-analyzer tends to perform better and get less confused with your code as compared to RLS, which the Rust extension uses.
-
Show HN: Skruv – No-dependency, no-build, small JavaScript framework
I have tried writing websites with rust instead of JavaScript. Unfortunately, the tooling is just not there. More specifically, I am talking about wasm-bindgen, which provides two-way bindings. The problem with it is that since all the declarations are generated with build.rs, there is no autocompletion. Since I am spoiled by modern tooling, no autocompletion to me means not feasible pass demo stage. (https://github.com/rust-lang/rls/issues/1489)
Aside from the lack of autocompletion, passing rust closures to js land (DOM) is extremely janky as well. However, that might be caused by my lack of experience with rust.
(If you are curious, this is what I made: https://github.com/SCLeoX/non-grid-path-finder)
-
José Valim The Creator Of The Elixir Programming
Python the core devs don't care about tooling and they have IDE's, Java is an enterprise monolith so IDE's are the standard, Rust yes it is (https://github.com/rust-lang/rls), Elm I have no idea I don't use it.
What are some alternatives?
cleff - Fast and concise extensible effects
Rustup - The Rust toolchain installer
hpack - hpack: A modern format for Haskell packages
Racer - Rust Code Completion utility
rusty-tags - Create ctags/etags for a cargo project
rust-analyzer - A Rust compiler front-end for IDEs
semantic-rs
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
artifact - The open source design documentation tool for everybody
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
rustfmt - Format Rust code
MIRAI - Rust mid-level IR Abstract Interpreter