Rust Language Server
vanilla-teuxdeux
Our great sponsors
Rust Language Server | vanilla-teuxdeux | |
---|---|---|
6 | 5 | |
3,568 | 25 | |
- | - | |
7.0 | 0.0 | |
over 1 year ago | over 3 years ago | |
Rust | JavaScript | |
GNU General Public License v3.0 or later | 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.
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.
vanilla-teuxdeux
-
Show HN: 7GUIs in Vanilla HTML, CSS, JavaScript
A few years back I stumbled into something a bit more complex, still done in pure js, just for the hell of it: https://github.com/morris/vanilla-todo
And then wrote my own version, with code a lot closer to modern react, with undo/redo and other niceties - https://github.com/ivank/vanilla-teuxdeux
And what I leaned is that is astonishingly easy to write code that would be understandable to people coming from the redux crowd. Maybe that’s because redux is just such a simple concept in and off itself - a glorified switch on a big object. And it’s also quite easy to hack a simple version of vdom to make it all work.
What’s missing from all those vanilla js efforts though turned out to be testability. There is a ton of code in the modern js world just to allow you to mock/test your components, and thats for me the real tragedy of vanilla js.
I have no idea why W3C crowd have not invested into standardizing js tests in all these years…
-
React's UI State Model vs. Vanilla JavaScript
Kinda like restarting windows to fix it, rather than figuring out whats wrong.
And you could get quite far that way. 37signal’s basecamp was like that - an html app with vanilla js sprinkled throughout. Worked great.
But there is a limit in complexity. JS and html are great for building websites, but if you want to build an actual application, you need to be really clever and accept a lot of limitations. React just lifts the ceiling of what you can do, without being all to complicated.
And you can use the technics of react without react itself too, once you understand what it is all about - https://github.com/ivank/vanilla-teuxdeux
-
Astro: Ship Less JavaScript
Recently I went on a deep dive to test for myself if it’s even possible to write a modern looking web application with no build tools or dependencies, and turns out its very doable - https://github.com/ivank/vanilla-teuxdeux
Web tech has gone a long way and gives us a ton of stuff for free, without the need to reimplement it all in JS. Though the apis themselves are often rather awkward.
Sadly, the biggest missing piece in all of it though is testing.
-
Show HN: Skruv – No-dependency, no-build, small JavaScript framework
Hah last year I did my case study of building an app with only web tech - no dependencies, build steps etc. - https://github.com/ivank/vanilla-teuxdeux
Figured out virtual dom is the one big missing piece to make webdev workable without any dependencies at all.
I can see other people are getting to similar conclusions:)
- Vanilla TeuxDeux – a case study for building an SPA with vanilla JavaScript
What are some alternatives?
Rustup - The Rust toolchain installer
petite-vue - 6kb subset of Vue optimized for progressive enhancement
Racer - Rust Code Completion utility
reagent - A minimalistic ClojureScript interface to React.js
rusty-tags - Create ctags/etags for a cargo project
htmx - </> htmx - high power tools for HTML
rust-analyzer - A Rust compiler front-end for IDEs
mvc_for_the_web - Example programs explaining the techniques of Model-View-Controller implemented as web applications.
semantic-rs
vanilla-todo - A case study on viable techniques for vanilla web development.
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
7guis-React-TypeScript-MobX - Implementation of 7GUIs with React, TypeScript and MobX