Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
smeenai
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
smeenai
2y ago
Idk about Bazel, but Buck2 (and Buck1, but 2 is better in every way) does handle adding -fPIC for shared libraries and leaving it off when statically linking. Each library has a PIC and non-PIC version, and the appropriate one is selected d
2.
▲
by
smeenai
2y ago
starlark-rust (used by Buck2) supports this! They're immensely useful for grokking complex build code, as you said. https://github.com/facebook/starlark-rust/blob/main/docs/typ...
3.
▲
by
smeenai
3y ago
The Drúedain and the Dúnedain are distinct :) The Drúedain are the Púkel-men of the forest who help the Rohirrim navigate through the forest on their ride to Gondor and thereby bypass the troops that the Witch King had placed on the road to
4.
▲
by
smeenai
3y ago
https://reviews.llvm.org/D69294 is an interesting case we ran into with LLD (the LLVM linker), where the the memory pressure from mmap'ing a large output file combined with filesystem compression resulted in particula
5.
▲
by
smeenai
4y ago
Limited in what way? LLVM LTO works seamlessly if you use LLD on both macOS and Windows; that's what Chrome does, for example. LLVM LTO also works pretty seamlessly with ld64 on macOS; the linker needs libLTO, but the driver takes care
6.
▲
by
smeenai
4y ago
Disclaimer: I work at Facebook. Your thought process is completely fair, but just to clarify: Phabricator was never open-sourced by Facebook. The main engineer behind Phabricator (Evan Priestley) left Facebook to create Phacility and open-s
7.
▲
by
smeenai
5y ago
Not disagreeing with the rest, but LLD can link for Apple Silicon as well, and you could use Clang with zld as well if you wanted.
8.
▲
by
smeenai
5y ago
VS community edition is free (but not an option for commercial work). Another Clang-specific way to handle the case insensitivity is by making use of a virtual file system (VFS) overlay. https://github.com/llvm/llvm-pro
9.
▲
by
smeenai
5y ago
I was curious about this bit from https://ziglang.org/download/0.8.0/release-notes.html#Self-H... , since I work on the new LLD for Mach-O backend: > Additionally, it is doubtful that the new backend will allow
10.
▲
by
smeenai
9y ago
clang-tidy has a struct padding check which diagnoses non-optimal struct orders, and a coworker contributed a clang tool to reorder fields: https://github.com/llvm-mirror/clang-tools-extra/tree/master...
11.
▲
by
smeenai
9y ago
LLD (the new linker from the LLVM project) actually does exactly this; by default, it creates a separate read-only segment, and you have to pass --no-rosegment explicitly if you don't want this. Amusingly enough, I ran into some issues
12.
▲
by
smeenai
9y ago
> In kirundi (a common language in Burundi) there is one word for both yesterday and tomorrow. This is true in Urdu and Hindi as well.
13.
▲
by
smeenai
10y ago
ARM supports the stack growing in either direction, but on Windows ARM it grows down. PE/COFF does have some architectural differences though; for example, the relocation types differ across architectures.