llvm-project
zig
Our great sponsors
llvm-project | zig | |
---|---|---|
152 | 385 | |
14,001 | 13,820 | |
7.4% | 5.6% | |
10.0 | 10.0 | |
about 22 hours ago | 2 days ago | |
C++ | Zig | |
- | 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.
llvm-project
-
Problems Building LLVM 14
Whenever I try to build llvm with the following instructions wget https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.4/llvm-project-14.0.4.src.tar.xz mkdir build && cd build cmake ../llvm-project-14.0.4.src/llvm -DLLVM_ENABLE_PROJECTS="clang" -DCMAKE_INSTALL_PREFIX=/ make -j16 DESTDIR=../opt make install
-
Sometimes, it *is* a compiler bug: My journey in finding and fixing a bug in a C++ toolchain
Sounds awfully familiar to a bug I hit in lld where the xmm1 register was saved on the stack before calling into __delayLoadHelper2 but it was overriden during the call to __delayHelper2 and the restored value was wrong: https://github.com/llvm/llvm-project/issues/51941 (I should probably stop procrastinating sending a patch for that, now that I know what to do, it is trivial)
-
My Server doesnt work with pterodactyl
LogInit: Compiled with Clang: 10.0.1 (https://github.com/llvm/llvm-project ef32c611aa214dea855364efd7ba451ec5ec3f74)
-
Proper Use of Git Tags
Couple ways, for example on the github page [1] , click the "tags" link [2] above the file list, find the tag for release 14.0.0, which is llvmorg-14.0.0, and now you can do any commit operation with that name instead of a commit.
If you have a checkout, you can find the tag name by doing a git tag -l *14* and looking through the output; I'm intentionally providing a very general glob because one may not know beforehand their exact tag name conventions.
-
I can not for the life of me figure out how to set up a C developer environment. Would someone be willing to hop into a discord call and walk me through it?
clang (It is very similar to gcc, which many tutorials reccomend. You can get it here: https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.0 [ see: LLVM-14.0.0-win64.exe ]
-
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
zig
-
We Already Have Go 2
Here is link number 1 - Previous text "Zig"
My default recommendation and preference is for Rust, but assuming that that doesn't work for you, I think you'd be best-served by Zig. It should meet all of your criteria and then some, with the only caveat is that it's still largely unstable and under churn. it still delivers on its promises far more consistently than V does, though
-
How to specify shared-library dependency?
zig has chosen to list its system dependencies like this, basically declaring what is required & its min version. you could include this in your repo's README.md file
- Uber Uses Zig
-
How Zig is used at Uber
Also very excited to hear more folks push behind the macOS cross-compilation story. :) I think Andrew and Jakub plan to add tbd framework stubs that would in theory enable linking against macOS frameworks without actually having a copy of the SDK.
-
Porting a simple Mark-Sweep Garbage Collector to Zig
How to read the standard library source code
-
Creator of SerenityOS announces new Jakt programming language effort
Zig https://ziglang.org/
-
Things Are Getting Rusty In Kernel Land (Hackaday)
Zig doesn't have a stable ABI and has various features that are not C-like. By default, its structs/enums/etc are not compatible with C ABI, but it can be selectively opt-in. There is a proposal to define a Zig ABI, but the resolution is unclear.
-
What are some low level languages?
Rust is trying to be there. D Language is there. Zig is around there. Nim is around there. V lang maybe.
What are some alternatives?
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).
Odin - Odin Programming Language
v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. https://vlang.io
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
rust - Empowering everyone to build reliable and efficient software.
go - The Go programming language
TinyGo - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
crystal - The Crystal Programming Language
zig-range - A range function to loop over an index without an extra variable.
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
rules_rust - Rust rules for Bazel
terra - Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.