Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
boris
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
Compiling C/C++ on Apple M1
(build2.org)
2 points
by
boris
6y ago
|
0 comments
122.
▲
by
boris
6y ago
> I've been bitten before by tools that are easy for trivial examples and don't work well for larger projects. Have you looked at build2[1]? One of its main goals is to not make this mistake. [1] https://build2.org
123.
▲
by
boris
6y ago
It's funny how the way to get a Linux on ARM machine with decent performance might be getting a Mac Mini and running Linux as a VM. I doubt nested virtualization will work though.
124.
▲
by
boris
6y ago
> I am still in awe of NeXT's software technology, generally. It was just so carefully and intentionally designed as a coherent whole [...] The closest I got to experience inner workings of NeXT software is observing the boot log of
125.
▲
by
boris
6y ago
I find the marketing spin in the title and the article unfortunate (standing on our own feet). The simple truth is they've decided getting another cross-signature not worth their trouble so now us users must expect some breakages the s
126.
▲
by
boris
6y ago
> Oh, also Submodules suck like a supermassive, galaxy-core black hole. They suck like a chainsaw would sucks for cutting twigs. But they are very effective (together with symlinks) when you need to stitch an amalgamation of multiple rep
127.
▲
by
boris
6y ago
To plug another CI service, there is https://ci.cppget.org with focus on C/C++. It's free and unlimited for open source projects, including Windows and Mac OS.
128.
▲
by
boris
6y ago
> But your taste — the thing that got you into the game — your taste is still killer, and your taste is good enough that you can tell that what you’re making is kind of a disappointment to you, you know what I mean? "Talent is feel
129.
▲
by
boris
6y ago
On the page you mention CI/CD applications and we are considering using Raspberry Pi for our CI infra (for the lack of a more powerful option). While there are various possible setups, one fairly common arrangement (especially in a mor
130.
▲
by
boris
6y ago
Interesting. Does anyone have any practical performance results to share?
131.
▲
by
boris
6y ago
This review suggests that a passive heatsink should be sufficient to prevent throttling (probably with a caveat that it's not in an enclosure): https://downey.io/blog/raspberry-pi-4-heatsinks-and-fans/
132.
▲
by
boris
6y ago
Nice review, thanks. One thing in it that I believe is incorrect (or confusing) is PoE support: I don't believe it is built into the IO board but rather the board is compatible with the PoE hat.
133.
▲
by
boris
6y ago
There is build2[1] and libcurl is available[2] from cppget.org, its package repository. [1] https://build2.org [2] https://cppget.org/libcurl
134.
▲
by
boris
6y ago
Yes, that's me. If/when you give it a try, feel free to ping me[1] with any questions or issues. [1] boris@build2.org, berium on reddit, boris-kolpackov on internals.rust-lang.
135.
▲
by
boris
6y ago
In your case it would be more like "adding" a make-like tool to tie all the steps together rather than "switching away" from anything. The tool I have in mind is buid2[1] (full disclosure: I work on the project). In this
136.
▲
by
boris
6y ago
Quoting from the linked discussion: > The issue with Makefiles is that well, they're not portable. I'm on Windows, and 99% of this stuff Just Works really really nicely, but that means that "just use Make" isn't
137.
▲
by
boris
6y ago
Exactly, IBM is a company run by finance, not technical people. They survive despite, not because of what they do.
138.
▲
by
boris
6y ago
Let's be specific, then, and exclude any software that is built with GNU make? First thing that goes is the Linux kernel (which can only be built with GNU make). As far as I know, Alpine still relies on the Linux kernel, so that's
139.
▲
by
boris
6y ago
And while at it, stop using all the "typical GNU bullshit". Let's see how far you will get.
140.
▲
by
boris
6y ago
Real-world usage of Clang modules (by Google) and preliminary/synthetic benchmarks of C++20 modules in GCC both show about 3x speedup. This might not be "much" for everyone, buy I will take it.
141.
▲
by
boris
6y ago
Nobody in their right mind will use `shared_ptr` in this context. It will be `string_view` in and out with lifetime management left as an exercise to the programmer.
142.
▲
by
boris
6y ago
It may not be fundamentally different but it may only use a subset of features (e.g., no exceptions in C++ code) and/or target a subset of platforms. Without pointing fingers, I am sitting on (what looks to be) a codegen bug in Clang t
143.
▲
by
boris
6y ago
Having contributed to both (nothing major but not trivial one-liners either), my feeling is GCC definitely has a higher quality codebase and a more rigorous review process. While the latter doesn't always translate to the ease of contr
144.
▲
by
boris
6y ago
> they're sufficiently general and easiest to maintain by releasing back upstream (where Apple, Google, and Microsoft will pay a small army of compiler engineers to keep them working). ...keep them working for their use-cases .
145.
▲
by
boris
6y ago
Thanks. With "widely-used/public" I was hoping for something open source that runs on many people's machines (like a web browser) or at least on many company's servers (like qemu) as opposed to running on a single c
146.
▲
by
boris
6y ago
If Servo is a dead end (by the sound of it), what is the new "halo project" that showcases Rust's use in something non-trivial and widely-used/public? (Not trying to rub salt in the wound, geniunly interested.)
147.
▲
by
boris
6y ago
Not bad, we might steal some of these ideas for build2 if you don't mind. > other community members should be allowed to apply to take over that name. Of course, existing releases would stay untouched, but if I stopped maintaining m
148.
▲
by
boris
6y ago
As the person you are replying to suggestes, a version epoch could be a solution.
149.
▲
by
boris
6y ago
> I've found Bazel and rules_rust provide a good alternative to Cargo, since Bazel can twist your build into any DAG you want, but most Rust users are unlikely to be excited about injecting 50MB of Java build system into the middle
150.
▲
by
boris
6y ago
What if it were a single source-available version (that also allowed you to, say, get third-party support/customizations)?
More ›