Hacker GitHub

← All repos

llvm/llvm-project

View on GitHub ↗ ★ 41,296 LLVM

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

319 mentions on Hacker News by 202 people: 30 stories, 289 comments · first 2019-03-20 · latest 2026-10-31

Mentions per year 319 mentions · busiest year 2025 (96)
20082026
  1. …code in clang is distributed over multiple files which together are way more than 3000 lines: https://github.com/llvm/llvm-project/tree/llvmorg-12.0.1/cla...
  2. …handwritten but the same file handles parsing C, Objective-C and C++. And it's under 3000 lines! https://github.com/llvm/llvm-project/blob/llvmorg-12.0.1/cla...
  3. This appears to be the source code: https://github.com/llvm/llvm-project/blob/main/llvm/lib/Tran... It's long, but it looks well-commented! Some Googling also finds https://llvm.org/devmtg/2009-10/ScalarEvolutionAndLoopOptimi... which…
  4. …an answer to the question, but a fun fact: there is a julia source file in the llvm project [1] [1] https://github.com/llvm/llvm-project/blob/d480f968ad8b56d3ee...
    comment by stabbles · 2021-07-26 · in What's bad about Julia?
  5. LLVM got upstream support for the swifttailcc calling convention last week [0]. [0] https://github.com/llvm/llvm-project/commit/82a0e808bb2cddc1...
    comment by tambre · 2021-05-24 · in WWDC21
  6. https://github.com/llvm/llvm-project/blob/main/llvm/lib/Targ... is probably a good start for LLVM.
  7. Funny that compilers (e.g. clang: https://github.com/llvm/llvm-project/blob/b04148f77713c92ee5... ) might be able to do that only because someone on the compiler team has hand-coded a bswap expression detector.
    comment by borman · 2021-05-08 · in The Byte Order Fiasco
  8. …and CIL for C/C++/Fortran [1]. It seems like Fortran tooling is making somewhat of a comeback. [0]: https://github.com/llvm/llvm-project/tree/main/flang [1]: https://llvm.org/devmtg/2020-09/slides/CIL_Common_MLIR_Abstr...
    comment by aarchi · 2021-04-29 · in Fortran Package Manager
  9. It seems that that code handles just the case when target is function. https://github.com/llvm/llvm-project/blob/535df472b04208d6ae...
  10. …guaranteed, and rejects the program if these rules are violated. The documentation has the details: https://github.com/llvm/llvm-project/blob/3b8ec86fd576b9808d... These rules guarantee that the tail call is possible to perform on every…
  11. …clang+llvm package takes 300-400 MB, that's almost an order of magnitude difference: https://github.com/llvm/llvm-project/releases/tag/llvmorg-11...
  12. …[2]: https://github.com/gcc-mirror/gcc/blob/master/libgcc/unwind-... [3]: https://github.com/llvm/llvm-project/blob/main/libunwind/src...
    comment by loeg · 2021-02-11 · in Pattern matching accepted for Python
  13. …they still do reviews and merges outside of github. linux kernel project does a similar thing. [0] https://github.com/llvm/llvm-project
    comment by olmideso · 2021-02-09 · in SDL Moves to GitHub
  14. …with Ruby changes. But even for example the parser in clang doesn't seem to be touched very often. https://github.com/llvm/llvm-project/commits/main/clang/lib/... Take a look at the commits there and see how much each changes the parser vs…
    comment by chrisseaton · 2021-02-09 · in Compiler Class
  15. …that it would do something like compiler-rt and replace that operation with a function call. See https://github.com/llvm/llvm-project/tree/main/compiler-rt/l... for examples of "code that doesn't look like a function call" that actually is.
  16. They are there: cplusplus_top_200.csv:llvm-project, https://github.com/llvm/llvm-project,C++,48,0,2573,5,652.3,2... c_top_200.csv:postgres, https://github.com/postgres/postgres,C,124,0,50,5,41.1,52,1,... sqlite sorry since it is not hosted…
    comment by abharya · 2020-12-11 · in Finding Critical Open Source Projects
  17. …However, there's a Fortran front-end for LLVM: https://github.com/flang-compiler/flang/wiki https://github.com/llvm/llvm-project/tree/master/flang/ I wonder if it's an alternative to waiting on gcc gaining arm64 support. Frankly, I don't…
  18. You may also want to try the GN build: https://github.com/llvm/llvm-project/blob/master/llvm/utils/...
    comment by zmodem · 2020-10-29 · in Bazel Build System Support for LLVM
  19. I think while flang ( https://github.com/llvm/llvm-project/tree/master/flang ) is getting more stable. It would be a lot easier to compile Fortran into WASM with LLVM's WASM backend
    comment by mshockwave · 2020-09-30 · in Fortran Compiled to WebAssembly
  20. …(calculating in base 10^16) for conversions that is fast and doesn't require big look-up tables. https://github.com/llvm/llvm-project/tree/master/flang/lib/D...
  21. The new URL is a nice overview but doesn't mention at which commit the code got merged: https://github.com/llvm/llvm-project/commit/94faadaca4e1704f...
  22. Apple’s strange ABI is upstreamed: https://github.com/llvm/llvm-project/search?q=arm64_32&unsco... . Not sure what “column” you’re talking about, but it’s fairly clear that macOS’s clang is based on a fairly recent LLVM that they branched…
    comment by saagarjha · 2020-08-14 · in Producing Open Source Software (2017)
  23. For compiler-rt it is Apache 2.0 license https://github.com/llvm/llvm-project/blob/master/compiler-rt...
    comment by danlark1 · 2020-07-19 · in Optimizing 128-bit Division
  24. This is incorrect, the LLVM project has an official Fortran compiler in tree called flang: https://github.com/llvm/llvm-project/tree/master/flang It is quite hard to write portable Fortran code, but code that at least compiles with PGI…
  25. Is this related to flang? https://github.com/llvm/llvm-project/tree/master/flang/
  26. …sessions, your only option so far are handwritten object caches along the lines of this example: https://github.com/llvm/llvm-project/blob/ae47d158a096abad43...
    comment by weliveindetail · 2020-06-26 · in Query-Based Compiler Architectures
  27. From a very quick search I can't seem to find such a branch. Judging from https://github.com/llvm/llvm-project/releases they seem to occasionally branch release candidate branches from master, every two weeks or so. That's very far from a…
    comment by tom_mellior · 2020-06-04 · in Clang-11.0.0 Miscompiled SQLite
  28. …and use C++ language facilities for the core implementation." Sure, now let's look at the code https://github.com/llvm/llvm-project/blob/master/libc/src/ Oh, it's not even a completed project. Here is stdio…
    comment by jstimpfle · 2020-05-01 · in OCaml is Pretty Great (2019)
  29. Looks like llvm-libc is being written in C++. Which is... odd. https://github.com/llvm/llvm-project/tree/master/libc/src/st...
    comment by antiquark · 2020-03-26 · in About Musl
  30. Isn't it already supported backend in LLVM? https://github.com/llvm/llvm-project/tree/master/llvm/lib/Ta... I mean it is still under development but I think it is usable. Here's a quick intro I found some time ago:…
    comment by tjelen · 2020-02-25 · in Securing Firefox with WebAssembly
  31. …confident is the traction we are getting outside Google. First, we landed MLIR in LLVM last month: https://github.com/llvm/llvm-project/commit/0f0d0ed1c78f1a80... The LLVM Fortran frontend (f18/flang) which will merge soon in the LLVM…
  32. No, it doesn't. The aforementioned concerns have nothing to do with the GPL license. https://github.com/llvm/llvm-project/blob/master/llvm/LICENS... > .. "If you combine or link compiled forms of this Software with software that is…
    comment by brynet · 2019-09-19 · in LLVM 9.0
  33. …choose to deem waived or otherwise exclude such Section(s) of the License [...]" Source: https://github.com/llvm/llvm-project/blob/master/llvm/LICENS...
    comment by riscy · 2019-09-19 · in LLVM 9.0
  34. …This would save having to privately ask permission to backport changes on case-by-case basis. https://github.com/llvm/llvm-project/blob/release/8.x/clang/...
    comment by brynet · 2019-09-19 · in LLVM 9.0
  35. …- being able to build the kernel with LLVM - working with eBPF/XDP just got way easier [2]. [1] https://github.com/llvm/llvm-project/commit/784929d0454c4df6... [2] https://www.spinics.net/lists/netdev/msg544057.html
    comment by lpage · 2019-09-19 · in LLVM 9.0
  36. …Analyzer uses immutable data structures. Here, for instance, is its immutable list implementation: https://github.com/llvm/llvm-project/blob/master/llvm/includ... The data structures are used during program state exploration because they…
  37. …LLVM 8.0.1 isn't released. There's an rc2 available (3 days ago), but that's not really a release: https://github.com/llvm/llvm-project/releases Jumping the gun a bit maybe? ;)
  38. …standard all the time. For the library part of the standard, it is worked around by having its own: https://github.com/llvm/llvm-project/blob/master/llvm/includ... (and others in the same directory)
  39. …copy and paste the lines from the getting started page.[1] Here's my .bash_history: $ git clone https://github.com/llvm/llvm-project.git $ cd llvm-project $ mkdir build && cd build $ cmake -DLLVM_ENABLE_PROJECTS=clang…
    comment by slacka · 2019-03-20 · in LLVM 8.0.0 Release