llvm-project
gcc
Our great sponsors
llvm-project | gcc | |
---|---|---|
147 | 47 | |
13,724 | 6,296 | |
5.6% | 2.7% | |
10.0 | 0.0 | |
7 days ago | about 1 month ago | |
C++ | C | |
- | 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.
llvm-project
-
What is the dominant aspect in choosing Go, over and above others, as a programming language?
Interesting! What is your take on TinyGo. How does the LLVM compiler compare to say something you are familiar with, i.e. gcc? Would it be comparable?
- LLVM Libc is implemented in C++
- Standard library ABI
-
rustc + avr = lovelove back again!
Locating this kind of bug usually starts innocently, by commenting out various places of your own code, then analyzing your program under a debugger only to find yourself doing git clone https://github.com/llvm/llvm-project a few hours later 😅
-
Including “And. And. And. And. And.” in a Google doc causes it to crash
> Should I report it somewhere?
Please do. You can open an issue (Bugzilla has been deprecated) on LLVM's github repo: https://github.com/llvm/llvm-project
-
The $440M Software Error at Knight Capital
Here is what Clang thinks: https://github.com/llvm/llvm-project/blob/589b9df4e15131348b...
parens: ()
squares: []
braces: {}
basically a mixed of British and American English
-
Ask HN: Who is hiring? (May 2022)
Apple | Debugger Engineer | Full-time | Onsite | Cupertino
The LLDB team at Apple is looking for an engineer to work on the LLDB debugger. LLDB is a core part of Apple's developer tools, used internally to debug Apple's software stack and externally by millions of developers. You’ll be able to work on different levels of the stack: from supporting our existing and upcoming platforms to developing new features to make debugging even better. Most of your work will be open source, on llvm.org (http://llvm.org/) and github.com (http://github.com/) where you’ll collaborate with the LLVM and Swift community.
If you love working on low-level tools you should check out the details here: https://jobs.apple.com/en-us/details/200311412/debugger-engi...
- Clang gives error when trying to access class member from 'requires'.
-
help a newbie with this webasm thing
% emcc -v emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.8-git clang version 15.0.0 (https://github.com/llvm/llvm-project.git 80ec0ebfdc5692a58e0832125f2c6a991df9d63f) Target: wasm32-unknown-emscripten Thread model: posix InstalledDir: /usr/local/Cellar/emscripten/3.1.8/libexec/llvm/bin
-
Best CLI apps and programs when SSH just works?
clang + lldb for getting work done
gcc
-
Common libraries and data structures for C
> the terribleness of exceptions is way overhyped
It's not that exceptions are terrible. I have nothing against them. The thing is that most of the time they are not affordable, especially in embedded. Some compilers don't even support them (some 8-bit IIRC). Most (including mine) embedded C++ programs have exceptions disabled.
> return a `std::optional`
The same goes for std. I don't know the overhead of possibly duplicating these classes(1) for every instance of std::optional. Most (including mine) embedded C++ programs don't use std.
30KB of extra code is nothing for desktop/server applications, but it's not convenient for a MCU with 64KB of flash.
(1): https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-...
> just use a factory function instead
This is practical with an efficient heap allocator (which I might not have). What happens if I want a scoped (on stack) instance of a class?
See how things are quickly getting more complicated with C++?
-
Any updates on the release date for GCC 12.1?
Good news, GCC 12.1 is expected to be released in this week or in early May. https://gcc.gnu.org/ https://github.com/gcc-mirror/gcc/commit/091e10203846812c4e98b465ddfb36d12f146be8 (bumped the version into 13.0.0)
-
which do you use for file endings for C++?
Ohh, I missed it, GCC did the mass rename after all: https://github.com/gcc-mirror/gcc/commit/5c69acb32329d49e58c26fa41ae74229a52b9106
- gcc 10, 11 std::span ABI break
-
Swapping two Numbers without Temporary Variables
True; I probably overstated it in terms of idiom recognition (compiler enthusiast, but by no means expert). I suspect that a similar SSA or data flow analysis combined with some judicious rewrite rules like (X ^ Y) ^ Y -> X [0] are enough for the xor swap trick as well.
[0] https://github.com/gcc-mirror/gcc/blob/9fdac7e16c940fb6264e6...
-
Vector initialization size
gcc: https://github.com/gcc-mirror/gcc
- “Sustainability with Rust” wrong about Go
- Regression in GCC11's optimizer vs. previous versions? Or is it an installation / options issue?
-
Libretro - Regarding DuckStation/SwanStation
There might have been other code / files they were using incorrectly of course, but at least the ppu_intrinsics.h file that I believe was specifically originally in question there comes directly from GCC, not any kind of Sony SDK.
- AdaCore and Ferrous Systems Joining Forces to support certified Rust for mission and safety-critical applications
What are some alternatives?
CMake - Mirror of CMake upstream repository
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
rtl8192eu-linux-driver - Drivers for the rtl8192eu chipset for wireless adapters (D-Link DWA-131 rev E1 included!)
cosmopolitan - build-once run-anywhere c library
SDL - Simple Directmedia Layer
skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.
avr-hal - embedded-hal abstractions for AVR microcontrollers
PyInstaller - Freeze (package) Python programs into stand-alone executables
busybox - The Swiss Army Knife of Embedded Linux - private tree
Lark - Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
STL - MSVC's implementation of the C++ Standard Library.
cobol-on-wheelchair - Micro web-framework for COBOL