Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ndmitchell
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
ndmitchell
3y ago
Neil from the Buck2 team here. I think your points are pretty much spot on - everything we use internally is battle tested, everything we don't is less tested. We've tried to use that to our advantage by making as much as we can a
2.
▲
by
ndmitchell
3y ago
We schedule tasks mostly using tokio - without any particular care. It's mostly good, but occasionally causes some performance headaches. I think in the fullness of time we might need to invest more in careful scheduling.
3.
▲
by
ndmitchell
3y ago
I think of Shake as a library for implementing build systems, and was hoping that libraries would emerge that described how to implement rules like C++, and how they should compose together so you can compile C++/Haskell/Python al
4.
▲
by
ndmitchell
3y ago
Thanks for the comments! There are two levels at which you could make Buck2/Bazel compatible: * At the BUILD/BUCK file level. I imagine you can get close, but there are details between each other that will be hard to overcome. Buc
5.
▲
by
ndmitchell
3y ago
There's no such thing as a phony target, but there is both `buck2 build` and `buck2 run` - each target can say how to run and how to build it separately. So you can have a shell script in the repo, write an export_file rule for it, the
6.
▲
by
ndmitchell
3y ago
These were from an open source contributor - out the box Buck2 doesn't really have support for Nix. But because the rules are flexible, you can write your own version of Nix-aware Buck2.
7.
▲
by
ndmitchell
3y ago
It can use watchman, but for open source we default to inotify (and platform equivalent versions on Mac/Windows) to avoid you having to install anything.
8.
▲
by
ndmitchell
10y ago
> Until they re-implement it again :) As the paper says, every previous implementation started nicely and got horrible towards the end. This time, that hasn't happened, so _hopefully_ it's the final one. But, of course, never s
9.
▲
by
ndmitchell
10y ago
The old GHC build system did do everything in 3 phases. And they were pretty magic phases. It's not clear there's any upper bound on the number of phases, and maintaining each phase separation is very tricky.