Rust Language Server
DISCONTINUED
stampino-element
Our great sponsors
Rust Language Server | stampino-element | |
---|---|---|
6 | 1 | |
3,568 | 28 | |
- | - | |
7.0 | 0.0 | |
over 1 year ago | almost 3 years ago | |
Rust | TypeScript | |
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.
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
-
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)
stampino-element
-
Show HN: Skruv – No-dependency, no-build, small JavaScript framework
As someone who helped lead the Polymer team in the transition from HTML-first Polymer to JavaScript-first lit-html/LitElement, I have some experience building approaches.
I think that JavaScript-first is far better for templating the more general case (or the lower level foundation) because JavaScript is where your data lives. It's generally much easier to bring markup into JavaScript than it is data and data manipulation into HTML.
In HTML you need re-invent expressions, scopes, control-flow, references, and imports. You're going to spend more time and code implementing a less expressive, slower, and more proprietary system.
In JavaScript you just need a way to describe fragments of the resulting DOM (whether you prefer JSX, function calls, or tagged template literals), and the rest is just JavaScript.
Now, I do see benefit from the HTML-first approach for a lot of people and some use cases. One reason I also push on web components so hard is that with interop comes flexibility in allowing a mix-and-match of approaches. As a side-project I'm working on an HTML-first declarative component system layered on top of LitElement: https://github.com/justinfagnani/stampino-element
What are some alternatives?
Rustup - The Rust toolchain installer
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
artifact - The open source design documentation tool for everybody
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
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
Water.css - A drop-in collection of CSS styles to make simple websites just a little nicer
coc-rust-analyzer - rust-analyzer extension for coc.nvim