solana
rust-analyzer
Our great sponsors
solana | rust-analyzer | |
---|---|---|
288 | 132 | |
11,738 | 13,479 | |
4.2% | 2.4% | |
10.0 | 10.0 | |
7 days ago | about 14 hours ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
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.
solana
-
Projects to contribute to
Solana (9700 GitHub Stars) https://github.com/solana-labs/solana
-
DuneAnalytics - A Guide to Solana for Ethereum Analysts
EIP Core standards: Changes to Solana’s core code go through “feature gates” in the Solana repo. Yes, it’s much less organized than the EIP pages you are used to, and a headache to understand or keep up with. A cost of the speed of development, I’m told.
- Rust Cryptography Should Be Written in Rust
-
Top 10+ Blockchain Networks to look for in 2023
Solana
-
Blockchains: Ethereum vs Solana vs Avalanche vs MultiversX (Elrond). What are the differences?
With the introduction of new and advanced blockchain platforms in the Web 3.0 scene, the narrative around Ethereum has slowly shifted towards its younger “Ethereum Alternatives”. Solana, Avalanche, and MultiversX (former Elrond) are some of the crypto blockchains that are given this terminology, as they share similar features but are comparatively cheaper and better than Ethereum.
-
Solana Foundation just held the first-ever core dev community call with engineering teams from across the ecosystem, here's what was discussed!
Some topics that may be discussed in the next call include @ShinobiSystems Timely Vote Credits proposal (https://github.com/solana-labs/solana/blob/master/docs/src/proposals/timely-vote-credits.md), @elusivprivacy new built-in cryptographic operations to accelerate ZK verification (for privacy tech), and feature activation coordination standards.
- Can Solana defeat the bears? Its development activity suggests….
- Real Question: Is Solana losing developers?
-
Recent positives around Solana's network performance and things that I'm looking forward to :)
2) Improved throughput. There are a few different algorithms that have been developed by Jito Labs and Solana Labs to improve the amount of parallelism happening during block packing (when a leader validator builds a block from transactions) and replay (when other validators replay blocks to make sure they're good). Solana validators have super good hardware but we don't even use that many of the cpu threads for actually executing transactions, and the current block space limits (48 million compute units) were conceived for the use of 4 cpu threads (our validator server has 48 cpu threads). The older block packing algorithm was also really bad at handling situations where a certain transaction type was spammed heavily (nft mints for example) and degraded parallelism. Anyway, it seems that these newer replay algorithms are over 2x better than the current implementations -- you can find more about them in the depths of github or discord. Some seem close to production-ready and I think we will see faster confirmation times and increasing of the block compute limits. ABIv2 is another architectural change that will substantially improve throughput as well (afaik) but I know less on this subject. I'm not sure when this will be ready but I've heard that the earlier half of the year is the target https://github.com/solana-labs/solana/issues/27384. There are other upcoming changes to look forward to, but it's probably best to summarize in another post.
-
Popular Youtuber (InvestAnswerts) spreading Algo fake news / incorrect metrics / general fudding all while shilling SOL
Lastly, Algorand IS fast: 6k TPS with 3.7s blocks, soon 10k TPS with 2.5s, and in a not-too-distant future 46k TPS, all of which with instant finality. Algorand IS cheap, and actually exactly as cheap as Solana now ($0.00025/txn: https://solana.com/ & https://metrics.algorand.org/#/protocol/), but with the added benefit that all transactions (whether they're NFTs, non-native assets, or using smart-contracts) are handled the same by the protocol, so same speed and same fees as regular payments. Lastly, Algorand IS clean: it's so clean in fact that it's almost carbon-neutral on a regular basis, but really it's carbon negative because fees are automatically used to offset the remaining carbon emissions with ClimateTrade (see this report, even though it doesn’t take into account recent upgrades in scalability and not comparing smart-contract transactions, so Algorand would be first on top in reality: https://arxiv-export1.library.cornell.edu/pdf/2109.03667).
rust-analyzer
-
Cranelift code generation comes to Rust
go build 3.62s user 0.76s system 171% cpu 2.545 total
I was looking forward to parallel front-end[4], but I have not seen any improvement for these small changes.
-
A guide on Neovim's LSP client
For example, intelephense can show diagnostics in real time, there is no need to save the file to get new diagnostics. But rust-analyzer, the language server for rust, can only update diagnostics after saving the file.
-
Top 10 Rusty Repositories for you to start your Open Source Journey
6. Rust Analyzer
-
LSP could have been better
Agree this is not a problem. rust-analyzer also includes a boatload of custom extensions. Here's how "query type of selected expression" works, for example:
https://github.com/rust-lang/rust-analyzer/blob/master/docs/...
For example: https://github.com/rust-lang/rust-analyzer/blob/master/docs/...
> If you create an LSP, it will work best in VS Code.
Any editor can work just as well as (or even better than) VS Code.
-
Mastering Emacs: What's new in Emacs 29.1
I am not a Rust dev. It surely looks great.
However, from what I understand it seems to supply just a parser separate from the Rust compiler (https://github.com/rust-lang/rust-analyzer/tree/master/crate...) trying to keep up with Rust‘s development. So, in principle, it could have been just another treesitter parser plugin, too.
So, again, the LSP framework does not directly provide any magical benefit over a static parsing framework. All the semantic analysis capabilities stem from a good parser.
-
rust-analyzer significantly slowing down compilation
You may file issue at github rust-analyzer
-
Any new Opensource projects in (rust) looking for contributors. I want to start my journey as an OSS contributor.
I've contributed to rust-analyzer and nushell and had a great experience in both! Tons of open issues with a huge range of difficulties, and the maintainers are really helpful in providing hints to get started.
-
I want to contribute in a big project
For something more concrete you can try and ask around on their zulip or browse their issues.
-
Microsoft is rewriting core Windows libraries in Rust
More info here: https://rust-analyzer.github.io/ and here: https://rust-analyzer.github.io/manual.html#installation
What are some alternatives?
opensea-js - TypeScript SDK for the OpenSea marketplace
vscode-rust - Rust extension for Visual Studio Code
solana-docker-mac-m1 - Docker config for Mac M1, to support development on Solana
intellij-rust - Rust plugin for the IntelliJ Platform
cardano-node - The core component that is used to participate in a Cardano decentralised blockchain.
cosmos-sdk - :chains: A Framework for Building High Value Public Blockchains :sparkles:
mx-chain-go - ⚡ The official implementation of the MultiversX blockchain protocol, written in golang.
trezor-firmware - :lock: Trezor Firmware Monorepo
rustfmt - Format Rust code
sublime-rust - The official Sublime Text 4 package for the Rust Programming Language
coc-rust-analyzer - rust-analyzer extension for coc.nvim
metaplex - A directory of what the Metaplex Foundation works on!