algebra
rust
Our great sponsors
algebra | rust | |
---|---|---|
2 | 2304 | |
414 | 79,140 | |
6.8% | 2.5% | |
7.8 | 10.0 | |
5 days ago | 7 days ago | |
Rust | Rust | |
Apache License 2.0 | 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.
algebra
-
Example of how of `disallowed_method` Clippy lint in Rust 1.54 can be quite handy
Is ark a prefix Embark is using for all their Rust crates, or is it a one-off name for your future crate? If so, it might collide with our naming convention in the arkworks ecosystem: arkworks.rs
rust
-
f-strings in Rust!
format_args! is now part of the AST. https://github.com/rust-lang/rust/pull/106745
I've opened a PR to add format strings in Rust, I'd appreciate any feedback that anyone has: https://github.com/rust-lang/rust/pull/109647
-
Announcing `stabby`: a stable ABI for Rust with niche optimizations and much more!
"Experimental feature gate proposal interoperable_abi #105586"
-
Embedded Rust on BBC Micro Bit: unlocking Vec and HashMap
As an engineer having spent most of 2022 learning the Rust language, I was a little worried about the no_std side of embedded systems programming.
The reason we are providing our own hasher is that the default one relies on the sys crate which is platform dependent. Our platform being unsupported, the associated implementation either does nothing or fails.
-
The Tug-of-War over Server-Side WebAssembly
Further down that GitHub issue, it mentions the problem has been fixed:
* https://github.com/rust-lang/rust/issues/71871#issuecomment-...
* https://github.com/rust-lang/rust/pull/79998
Weirdly though, there's another issue (opened prior) that's ongoing and seems to indicate things aren't fixed after all:
>wasm32-unknown-unknown has an ABI incompatibility which means you cannot interoperate between C compiled to Wasm and Rust compiled to Wasm.
Since I was surprised to learn this, and to save everyone else the search, it's https://github.com/rust-lang/rust/issues/71871
-
Did you have a hard time grasping smart pointers introduced in the Rust book?
The reasoning behind this is that if there are no more strong references but weak references still exist, the weak references need to refer back to the same memory, which won't be possible if the memory has already been freed. A bit counter intuitive and I got amazed when I first learned it. If you're interested in the details, check out the source code.
-
Testing the stdout of a RawTerminal
There's no magic behind Stdout. It is just like writing bytes into files and any types that implement std::io::Write playground. RawTerminal is merely a wrapper for Stdout, and Stdout is an empty struct that implements io::Write that calls a libc function that displays the written bytes to our terminal.
-
Embedded rust - how to make it rusty?
You may find the discussion on issue #53639 (Consider deprecation of UB-happy static mut) from about this point onwards to be illuminating. Specifically, the topic of ISRs and synchronisation on embedded systems is discussed, with alternatives, and it's stated that UnsafeCell is so fundamental that any non-zero-cost to it is considered a bug in the compiler:
What are some alternatives?
carbon-lang - Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
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).
Elixir - Elixir is a dynamic, functional language designed for building scalable and maintainable applications
Odin - Odin Programming Language
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
mimalloc - mimalloc is a compact general purpose allocator with excellent performance.
scala - Scala 2 compiler and standard library. For bugs, see scala/bug
go - The Go programming language
Rustup - The Rust toolchain installer
spaCy - 💫 Industrial-strength Natural Language Processing (NLP) in Python
opencascade.js - Port of the OpenCascade CAD library to JavaScript and WebAssembly via Emscripten.