compiler-explorer
arewefastyet
compiler-explorer | arewefastyet | |
---|---|---|
210 | 9 | |
16,883 | 19 | |
2.2% | - | |
9.8 | 0.0 | |
2 days ago | almost 2 years ago | |
TypeScript | Rust | |
BSD 2-clause "Simplified" License | 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.
compiler-explorer
-
Sonos CEO Patrick Spence steps down after app update debacle
I have, it's called Visual Studio Code and I ditched my old native editor(s) for it.
I'd even suggest that the fact that it's JS based has significantly changed the tech world because the editor itself will run in a browser so it's here https://godbolt.org/ , and here https://codesandbox.io, and here https://www.postman.com/, and here https://aws.amazon.com/pm/cloud9/ and 100s or 1000s of other sites.
-
What Did Ada Lovelace's Program Actually Do? (2018)
I'm told the story of Godbolt[0] is similar.
I think that he has an ID here, so we could probably ask him. It's a very good tool.
[0] https://godbolt.org
- 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.
arewefastyet
-
Rust Support in the Linux Kernel
That page averages all the builds across different code bases. It doesn’t specify which version/tag of which code base, nor does it talk about the hardware.
https://arewefastyet.pages.dev/ - This page tracks compile times across some common crates over all supported compiler versions, with different hardware (2, 4, 8, 16 cores). This used to be https://arewefastyet.rs but the domain expired.
-
you cant defeat rust
https://arewefastyet.rs/ see benchmark
-
Rust programming language: We want to take it into the mainstream, says Facebook
You can check incremental compile times on http://arewefastyet.rs. Choose one compile mode (Debug OR Release, preferably Debug), one hardware config (4 cores let's say) and both profile modes (Clean, Incremental).
- Arewefastyet.rs – benchmarking the Rust compiler over time
-
Reducing Rust Incremental Compilation Times on macOS by 70%
Compile times in rustc have been steadily improving with time, as shown here - https://arewefastyet.rs.
Every release doesn't make every workload faster, but over a long time horizon, the effect is clear. Rust 1.34 was released in April 2019 and since then many crates have become 33-50% faster to compile, depending on the hardware and the compiler mode (clean/incremental, check/debug/release).
Interestingly, the speedup mentioned in OP won't show up in these charts because that's a change on macOS and these benchmarks were recorded on Linux.
What is expected to be a gamechanger is the release of cranelift in 2021 or 2022. It's an alternate debug backend that promises much faster debug builds.
-
Rust compile speed
Yes plenty of effort goes into making Rust compilation faster, see https://arewefastyet.rs/, its FAQ, and some easy internet searches.
-
Announcing Rust 1.50.0
Thanks for your work on arewefastyet.rs, I was about to post a link to it haha
-
[ELI5]: How to write a simple custom Serde de/serializer?
I implemented something similar. Deserialising a comma separated strings into a struct - example. Hope that helps!
What are some alternatives?
format-benchmark - A collection of formatting benchmarks
rustc_codegen_cranelift - Cranelift based backend for rustc
papers - ISO/IEC JTC1 SC22 WG21 paper scheduling and management
sccache - Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.
{fmt} - A modern formatting library
prusti-dev - A static verifier for Rust, based on the Viper verification infrastructure.
rustc_codegen_gcc - libgccjit AOT codegen for rustc
tch-rs - Rust bindings for the C++ api of PyTorch.
rust - Empowering everyone to build reliable and efficient software.
veloren
bubblewrap - Low-level unprivileged sandboxing tool used by Flatpak and similar projects
gdnative - Rust bindings for Godot 3