|6 months ago||2 days ago|
|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.
Incremental Builds for Haskell with Bazel
7 projects | news.ycombinator.com | 23 Jun 2022
I migrated a mid-size polyglot project from Makefiles to Bazel and C++ was a large component of the project.
1. Building with QT5 MOC & UI files. There is a great library for it but it has hardcoded paths to the QT binaries and header files assuming a system-wide installation. I had to patch the rule to point to our QT location. Then it worked fine.
2. There is no rule to build a fully static library. Since we were shipping a static library in our Makefile system, that was somewhat annoying.
3. We were using system links like `$PROJECT_ROOT/links/GCC/vX.Y.Z/ -> /opt/gcc/...` to point to all the build tools, but these didn't work in Bazel I think because it required absolute paths for any binaries it calls. We ended up putting them in a .bazelrc but we would need a different one for Windows and Linux.
4. Not good integration with IDEs
Ultimately we did not keep using Bazel because we were building Python binaries and py_binary was too slow on Windows. And we didn't have enough time to write a PyInstaller rule.
WebAssembly with Zig, Part 1
2 projects | dev.to | 5 Aug 2022
The beauty behind Zig is that it supports many cross-platform targets by using shims from LLVM, and almost any platform that LLVM supports, Zig will support. Let's try to write some Zig code now to add two signed integer numbers.
There is framework for everything.
107 projects | reddit.com/r/ProgrammerHumor | 4 Aug 2022
`cargo-pgo`: cargo subcommand for optimizing binaries with PGO and BOLT
2 projects | reddit.com/r/rust | 3 Aug 2022
BOLT is a tool originally created by Facebook engineers, now it's part of mainline LLVM. https://github.com/llvm/llvm-project/tree/main/bolt
A bit confuse
2 projects | reddit.com/r/Compilers | 27 Jul 2022
Yep, this is why a lot of people will target something like LLVM (https://llvm.org/) or another language (like transpiling to C) so they can leverage those systems to handle platform targeting.
What is the point of free and open source software?
2 projects | dev.to | 27 Jul 2022
One illustration of this came in 2015 when Stallman decided he would rather prevent the Gnu Compiler Collection from supporting modern IDE features like symbol completion, than allow GCC front ends to be paired with free-but-not-copyleft backends like LLVM and Clang: "Since LLVM and Clang are not copylefted, they invite nonfree extensions. They are a gaping hole in the defensive wall around our city." Allowing full access to GCC's internals would have obvious technical benefits, and as far as I know Stallman advanced no technical argument against the proposal. Disallowing it put the project at a significant disadvantage at a time when its influence was already waning. The message was clear: GCC exists to serve FSF, not the other way around.
Google's Carbon Language: An Alternative to C++ ?
6 projects | dev.to | 24 Jul 2022
Google recently unveiled Carbon, an experimental language that is intended to match the performance of the C++ language while supporting LLVM(Low Level Vitual Machine) and being able to interoperate with existing C++ code bases. This is a big deal because C++ is by far the most widely used language for developing HIGH performance low level systems.
LLVM backend for m88k architecture
2 projects | news.ycombinator.com | 23 Jul 2022
I wonder whether this project is based on the work in our M68k backend:
Why golang isn't suitable for creating a new language?
2 projects | reddit.com/r/golang | 16 Jul 2022
You may want to look at LLVM. It’s what’s being used as a compilation foundation to build modern languages like Rust, Zig, …
I have problems building LLD on Windows
1 project | reddit.com/r/LLVM | 15 Jul 2022
Solved for now
std::construct_at compiler implementations
1 project | reddit.com/r/cpp_questions | 14 Jul 2022
What are some alternatives?
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
SDL - Simple Directmedia Layer
Lark - Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
cosmopolitan - build-once run-anywhere c library
Graal - GraalVM: Run Programs Faster Anywhere :rocket:
skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.
STL - MSVC's implementation of the C++ Standard Library.
PyInstaller - Freeze (package) Python programs into stand-alone executables
avr-hal - embedded-hal abstractions for AVR microcontrollers
dmd - dmd D Programming Language compiler
asmble - Compile WebAssembly to JVM and other WASM tools