Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rui314
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
rui314
21d ago
I think the way I've talked about incremental linking may have given a somewhat misleading impression. I'm not against incremental linking, and I'm not denying its possible usefulness. But especially when I was developing lld
2.
▲
by
rui314
21d ago
Table 4 shows actual measurements on my Threadripper 7980X machine, so I'm not sure whether the numbers look too good or not. I chose large programs more or less at random as the test set without thinking too much about it, so they wer
3.
▲
by
rui314
2y ago
mold supports LTO out of the box.
4.
▲
by
rui314
2y ago
Thanks, I really wish you become a billionaire :)
5.
▲
by
rui314
2y ago
I don't know the details, but once it is proven that achieving lld/mold/sold-level performance is technically feasible, it shouldn't be extremely hard to achieve similar success for macOS.
6.
▲
by
rui314
2y ago
> But it is no longer updated, is it? Essentially, yes, but that’s because Apple’s new linker is so much faster than it was. You can use it instead.
7.
▲
by
rui314
2y ago
The sold linker is no longer commercial software; it's been relicensed under the MIT license.
8.
▲
Mold linker may not switch to a source-available license
(bluewhalesystems.blogspot.com)
9 points
by
rui314
4y ago
|
0 comments
9.
▲
by
rui314
4y ago
CRT object files which contain process startup routines are not in a fixed directory. Unfortunately compilers have to be hard-coded to contain an appropriate directory name.
10.
▲
by
rui314
4y ago
It caused a flame war, so #1 factor is not negligible.
11.
▲
by
rui314
4y ago
I could buy bikes too, but as you wrote that's not enough to make a living. This is my full time project. I could earn a mid 6 figure salary if I work for a big tech, and I think I'm creating a more valuable program than I did whe
12.
▲
by
rui314
4y ago
It didn't work. If it is available as open-source, they don't _need_ a different license. Anyway, it's off-topic.
13.
▲
by
rui314
4y ago
Author here. I'm amused that I opened HN thinking that https://docs.google.com/document/d/1kiW9qmNlJ9oQZM6r5o4_N54s... (which I posted today) might come to the front page and found this post instead. So the c
14.
▲
by
rui314
4y ago
I don’t know much about the European job market, but you can see lots of examples of US job positions and their salaries at websites such as https://www.levels.fyi .
15.
▲
by
rui314
4y ago
I'm not sure if io_uring can improve mold's performance, as it has to access random locations while copying file contents to apply relocations. Currently, we mmap all input files and an output file and use memcpy to copy file cont
16.
▲
by
rui314
4y ago
I'm just not a native English speaker.
17.
▲
by
rui314
4y ago
That's not for you then, but some people have to rebuild Chrome-scale programs dozens of times a day, and mold is created for such people.
18.
▲
by
rui314
4y ago
It can create Mac executables, but mold/macOS is still in pre-alpha and no one should expect it to work for their programs. Once it becomes out of beta, I'll release it as mold 2.0, so please wait for it.
19.
▲
by
rui314
4y ago
That's an even crazier goal which is probably 100x harder than writing a 10x faster linker. But I believe it's technically doable. At least, the world needs more crazy people who believe it is technically doable and take it as a c
20.
▲
by
rui314
4y ago
I want to write a book about linkers so that the knowledge I earned during the development of the lld and mold linkers wouldn't lost, but I don't have enough time to do that!
21.
▲
by
rui314
4y ago
None of gold, lld or mold can replace GNU ld entirely because they don't cover all features that GNU ld has.
22.
▲
by
rui314
4y ago
I didn't take it as an offense, so don't say sorry! I just wanted to say that if a senior dev wants to earn $1M in a few years, they can just find a job and do whatever assigned to them there. They didn't have to take a risk
23.
▲
by
rui314
4y ago
I don't have a plan, and that's not what I can plan. They can plan in theory, but I believe that's very unlikely to happen.
24.
▲
by
rui314
4y ago
It's being discussed ( https://github.com/rui314/mold/issues/117 ) but haven't reached any conclusion. The problem is that the jobserver protocol assumes that one process is one job, and its model doe
25.
▲
by
rui314
4y ago
We do support ELF (Unix) already, and we are working on Mach-O (macOS/iOS/watchOS/etc) now. Once Mach-O is finished, we'll be working on PE/COFF (Windows).
26.
▲
by
rui314
4y ago
mold/macOS aims to be a drop-in replacement for the Apple's ld. I don't think it supports all the feature you mentioned already, as it is still pre-Alpha. But we are working on it to make it "just work".
27.
▲
by
rui314
4y ago
I wouldn't be surprised. In mold, if we have more than one choices to implement a feature, I always take the one that scales well for more cores even if it doesn't perform the best on low-core count machines. My assumption is that
28.
▲
by
rui314
4y ago
$200K is nowadays an annual total compensation of a junior dev. I believe mold values much more than a one year outcome of a typical 5-person junior dev team.
29.
▲
by
rui314
4y ago
You may want to read this section of the README. https://github.com/rui314/mold#why-does-the-speed-of-linking...
30.
▲
by
rui314
4y ago
mold does support LTO. It's not faster or slower than lld both in terms of link speed and the output binary's speed.
More ›