Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
boris
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
181.
▲
by
boris
7y ago
- Jeff Dean once caused an AI winter so cold, even humans lost their intelligence.
182.
▲
by
boris
7y ago
Isn't this how things work in dynamic languages like Python?
183.
▲
by
boris
7y ago
I would recommend staying away from OVH for anything important (e.g., a mail server). While the service is fairly reliable, when things do go wrong (like an IP network that you share with others get blacklisted because one of the IPs is pa
184.
▲
by
boris
7y ago
6 pages of gaming benchmarks and not one compilation speed test. Baffling.
185.
▲
by
boris
7y ago
That's a double-edged sword: because make doesn't "support" your language things get hairy (think sed) as soon as you need to support anything non-trivial (say header dependency extraction for C/C++). Doing it in a
186.
▲
by
boris
7y ago
With the introduction of modules in C++20 there is now an intriguing possibility of implementing a new/cleaned-up language with compatible object model/ABI and using modules to interface with existing C++ and even C (via header un
187.
▲
Show HN: Build2 0.12.0 released, supports build system as a library, modules
(build2.org)
4 points
by
boris
7y ago
|
0 comments
188.
▲
by
boris
7y ago
This ("the conceptual model is sound but the implementation could be improved") is pretty much the basis for build2: https://build2.org/build2/doc/build2-build-system-manual.xht...
189.
▲
by
boris
7y ago
make works well when you are targeting a single platform with a decent shell and the project is not too complex (e.g., no auto-generated source code that requires its own automatic dependency tracking). Once that no longer holds, make becom
190.
▲
by
boris
7y ago
This looks promising (even at $750 for the motherboard and CPU) but it seems to be a work in progress, specifically at the bottom of the page it says: Mainline Kernel – work in progress UBoot – work in progress UEFI – work in
191.
▲
by
boris
7y ago
Slightly off-topic: is there anything that is as or more powerful than RPi4 but has more/expandable memory (say 16G or more) and still works with mainline kernel/distributions? In other words, something that I could setup as a bui
192.
▲
by
boris
7y ago
Anyone hopping to have ECC with Ryzen should really read the reddit thread. Wow, what a mess.
193.
▲
by
boris
7y ago
Funny you asked, build2[1] can be (and is[2]) used to package bash. It even has build system support for modularization of bash scrips[3]. [1] https://build2.org [2] https://cppget.org/?packages=bash [3] https:
194.
▲
by
boris
7y ago
See my reply to a sibling comment.
195.
▲
by
boris
7y ago
Yes, we need to change that. Our initial focus was on taking really good care of C/C++ compilation but now we are at the stage (i.e., we have support for external build system modules) where this is starting to change.
196.
▲
by
boris
7y ago
"Works" can mean very different things on Windows. On one extreme you can have proper integration that covers Windows' idiosyncrasies such as automatically finding and setting up the Visual Studio environment instead of makin
197.
▲
by
boris
7y ago
On the contrary, build2 is a language-agnostic, general-purpose build system. There is the bash module[1], for example. And now that we have support for dynamically buildable/loadable build system modules, we can develop support for mo
198.
▲
by
boris
7y ago
I wonder if they considered build2[1]? It seems to tick most of their boxes. In particular, it has first-class Windows support and, in the upcoming release, even native Clang-targeting-MSVC support (not the clang-cl wrapper)[2]. While some
199.
▲
by
boris
7y ago
Their diagnostics is pretty cool, though. How about this gem: ld: warning: ignoring file build2/libb.u.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format Going to steal that &
200.
▲
by
boris
7y ago
You probably mean 9.0.0, 4 is several years old. Or is Rust really still using something pre-4?
201.
▲
by
boris
7y ago
Not yet, but it's coming. And most of the really difficult infrastructure is already there, at least for the C/C++ compilation.
202.
▲
by
boris
7y ago
There are alternatives that satisfy this (valid, IMO) requirement. For example, there is build2 ( https://build2.org ; full disclousure: I am involved with the project) that tries to achieve the same objectives (correct & fas
203.
▲
by
boris
7y ago
It does but not in a way you probably expect it to be handled: i.e., with some filesystem mechanisms to make the update command only see what has been declared as target's dependencies -- I must admit I don't know Bazel does this
204.
▲
by
boris
7y ago
The OP was vague on why exactly hermetic builds are required to achieve fast builds. The only concrete thing they mentioned is caching which doesn't require hermetic builds (in the strict sense, as in preventing any outside changes) pr
205.
▲
by
boris
7y ago
I never said build2 is "in the same spirit" as Bazel (whatever that means). I said it fixes the same problems as OP listed.
206.
▲
by
boris
7y ago
It currently doesn't do fully hermetic configurations (as in, where it is impossible for any inputs to come outside of the project). Instead build2 does high-fidelity builds where it makes sure that if any of the inputs change (inclu
207.
▲
by
boris
7y ago
It doesn't do Bazel's style sandboxing where your entire compiler toolchain is part of your build system. It does what we call high-fidelity builds : it tracks changes not only to inputs but also to compile options, compiler itse
208.
▲
by
boris
7y ago
Bazel (and Bazel-derivatives/alikes) is not unique in fixing all of these problems. For example, there is build2, which is arguably a lighter-weight and closer to make (in spirit, not in syntax) solution (no Java dependency, etc). Here
209.
▲
by
boris
7y ago
I would look into pcengines. It has everything you have described (or a port to plug it to) except for the battery. This is my go-to device for anything specialized (router, backup).
210.
▲
by
boris
7y ago
Yeah, also, according to the article, AMD has been aware of the issue for some time now. Buy it seems there is no urgency to address this. If you are wondering why would someone prefer slower/insecure/etc processors from Intel, th
More ›