Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
boris
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
211.
▲
by
boris
7y ago
We are making a Cargo-like build toolchain for C/C++, if anyone is interested: https://build2.org
212.
▲
by
boris
7y ago
Yes, thread-sanitized code is unbearably slow. Plus, you cannot use both ASAN and TSAN in the same build (but either can be combined with UBSAN).
213.
▲
by
boris
8y ago
This comes down to the cost of failure. If your app crashes or hangs sometimes, some of us might get annoyed but in the end we are all used to this now. It's a different story if your engine blows up from time to time. I am sure if eve
214.
▲
by
boris
8y ago
What hardware do you use for development and for testing? Can you elaborate on your setup, ARM-wise?
215.
▲
by
boris
8y ago
EPYC is compared to a previous generation Xeon with lower TDP (105w vs 155/170w) and slower RAM (2400 vs 2666). The Xeon server is more expensive probably because it has 4x the amount of RAM. Edit: actually, this is a dual Xeon machi
216.
▲
by
boris
8y ago
Just add this as a second line? trap "exit 1" ERR
217.
▲
by
boris
8y ago
Yes, all valid/good points, thanks. We are packaging external libraries that we need ourselves (libmysqlclinet was "fun" -- it is actually a C-library with C++ implementation details). And getting some "critical mass&quo
218.
▲
by
boris
8y ago
Good question. Currently you will need to email a git repository URL and tag you want published (e.g., https://git.build2.org/hello/libhello.git#v1.0.0 ) and we will publish it for you (or you can provide a package arch
219.
▲
by
boris
8y ago
Yes, see https://build2.org/build2-toolchain/doc/build2-toolchain-int...
220.
▲
by
boris
8y ago
> if this can be used with a private repository Sure, you can run both archive-based and version control-based (git) private repositories without any restrictions.
221.
▲
by
boris
8y ago
I don't believe we can get to thousands of packages by packaging a substantial part ourselves -- we will just get bogged down in this instead of building a decent toolchain. Instead, the "secret" I believe is to make creating
222.
▲
by
boris
8y ago
Why would you go run (hunt) if there is still stuff (food) in your gut.
223.
▲
by
boris
8y ago
Ah, GNU make second expansion... glad to see someone else appreciates it ;-).
224.
▲
by
boris
9y ago
Right, RAM is part of the SoC... that probably makes the idea pretty much a no-go.
225.
▲
by
boris
9y ago
Or even 4G. Would be nice to have a high-memory variant especially seeing that that would require zero changes in the OS unlike most othet hardware variations.
226.
▲
by
boris
9y ago
>We use a magjack that supports Power over Ethernet (PoE), and bring the relevant signals to a new 4-pin header. We will shortly launch a PoE HAT which can generate the 5V necessary to power the Raspberry Pi from the 48V PoE supply. This
227.
▲
by
boris
9y ago
Writing your own, general-purpose build system is a hard, multi-year project (spoken from experience[1]). [1] https://build2.org
228.
▲
by
boris
9y ago
Had a similar question (with a reply from someone from Intel): https://www.reddit.com/r/cpp/comments/7gjmgd/intel_offers_pa...
229.
▲
by
boris
9y ago
> Everything is string-ly typed and you can only build up a thing to a certain level of complexity easily. Yes, make was designed for the 1970 world, where all you care about is building simple utilities on Unix. There was no today'
230.
▲
by
boris
9y ago
>... wrap make to make it easier to make ... I think there is a deep truth in (unintended?) pun: those who don't understand make are bound to reinvent it, poorly.
231.
▲
by
boris
9y ago
Check build2, it has a sane build model and syntax and comes with integrated package manager/repository, similat to Cargo: https://build2.org
232.
▲
by
boris
9y ago
>I've had to answer the "why not just use github?" question a lot of times. We have a FAQ entry for that: https://build2.org/faq.xhtml#github
233.
▲
by
boris
9y ago
There is a fresh build tool that supports modules in the big three (GCC, Clang, and VC): https://build2.org
234.
▲
by
boris
9y ago
I wouldn't call a limit to two VMs friendly. Plus Apple doesn't make suitable hardware for this.
235.
▲
by
boris
9y ago
Shameless plug for open source C/C++ projects: if you add support for the build2[1] build system, we will CI[2] your project on Mac OS (as well as Linux, Windows, and FreeBSD with various versions of GCC, Clang, and VC) for free and wi
236.
▲
by
boris
9y ago
It is being implemented by the big three (GCC, Clang, and VC). In Clang and VC it is already usable to some extent.
237.
▲
by
boris
9y ago
Could you summarize how you handle this in redo? Also what about the case where a header file does exist but is out-of-date and because of that triggers an error (e.g., version compatibility check with #error) -- how do you handle that?
238.
▲
by
boris
9y ago
There is work on a sane build toolchain (build system, package manager, etc) for C++: https://build2.org (full disclosure: I am involved with the project).
239.
▲
by
boris
9y ago
IMO, it's more important what's happening on the ground, that is, in the compilers, than the "official" status in the standardization pipeline. After all, we've had export in the standard and we all know where it we
240.
▲
by
boris
9y ago
I tried. The problem is standing without moving seems to be just as bad as sitting. As you tire you will start shifting weight to one leg and locking the hips to one side. I then tried a half-reclined chair which was a bit better. Then I sw
More ›