copyless
compiler-explorer
copyless | compiler-explorer | |
---|---|---|
2 | 208 | |
275 | 16,581 | |
- | 1.4% | |
0.0 | 9.8 | |
about 2 years ago | 7 days ago | |
Rust | TypeScript | |
Apache License 2.0 | BSD 2-clause "Simplified" 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.
copyless
-
Is Rust Stack-Efficient Yet?
This crate is marked as deprecated because apparently upstream rust optimises its use-case now, but you never know:
https://github.com/kvark/copyless
Box::alloc().init(make_my_elem())
-
No more stack overflow on large Boxed arrays? (see bottom comment)
The copyless crate can help make it more likely that this optimization will happen.
compiler-explorer
- Learn Rust the Dangerous Way
- Compiler Explorer
-
Improve an algorithm performance step by step
The GodBolt compiler explorer is also useful for comparing the assembly function code between C++ and Rust.
-
std::array in C++ isn't slower than array in C
Using several operations as examples, let's see what assembler the compiler can get. We're using the latest Clang for the x86-64 platform available on Compiler Explorer.
-
Google's New Pipe Syntax in SQL
it is also pretty good at decompiling - try feeding the output of https://godbolt.org/ back to an LLM
-
Initial details about why the CrowdStrike's CSAgent.sys crashed
As a very first step, you may start playing with https://godbolt.org/ to see how code is translated into lower-level instructions.
-
How Random Are Random Number Generators?
Intel's built in x86 kind of suggests that there prediction may fall into gaussian distribution.Godbolt this website gives you clear idea of how a compiler works on it run the previous code in it and see the magic
- Own Constant Folder in C/C++
What are some alternatives?
flexstr - A flexible, simple to use, immutable, clone-efficient String replacement for Rust
{fmt} - A modern formatting library
rfcs - RFCs for changes to Rust
papers - ISO/IEC JTC1 SC22 WG21 paper scheduling and management
rust - Empowering everyone to build reliable and efficient software.
rustc_codegen_gcc - libgccjit AOT codegen for rustc
format-benchmark - A collection of formatting benchmarks
arewefastyet - arewefastyet.rs - benchmarking the Rust compiler
bubblewrap - Low-level unprivileged sandboxing tool used by Flatpak and similar projects
firejail - Linux namespaces and seccomp-bpf sandbox
QEMU - Official QEMU mirror. Please see https://www.qemu.org/contribute/ for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website.