Recent submissions

Comment · 1 month ago
Moondrop pudding
Comment · 1 year ago
OpenGL and Vulkan are provided by the GPU vendor you can't statically link them.
Comment · 3 years ago
Whiteboard coding almost always devolves into leetcode which also requires at home study. You're going to be spending evenings and weekends coding something in either case.
Comment · 3 years ago
Haven't most plans moved to PPO since Obamacare. They usually allow you to just skip primary care nowadays.
Comment · 3 years ago
Flatbuffers, Cap'n Proto, or SBE over RDMA.
Comment · 3 years ago
I'm assuming you're referring to the golang model of statically linking everything. That's not really doable when many popular libraries are (L)GPL'd like glibc and libstdc++. It also doesn't work if you want to provide a shared library and need to be compatible with every possible system. That's not my opinion it's just a deficiency of bazel.
Comment · 3 years ago
> bazel has provisions for patching stuff from http_archive if you supply a patch

That's a hack.

Comment · 3 years ago
It's literally the default. How can the default be an anti-pattern. I doubt you're using C/C++ because you don't seem to understand the issue.
Comment · 3 years ago
You're assuming you have control over all the deps and can set `linkstatic` on them.
Comment · 3 years ago
qux is now forced to be static. Consumers should be able to choose whatever they want. I don't know what end users want to do.
Comment · 3 years ago
The logic is backwards though. I may have multiple consumers of a library some of which may want static some of which may want dynamic. You need to create/import new targets to do this even though the original target creates both static and dynamic libs by default.
Comment · 3 years ago
Non-Hermetic is the default for C/C++. And if you plan on using system provided libraries to support multi OSes then you can't use it.
Comment · 3 years ago
Comment · 3 years ago
No, they are extremely broken. You can only choose:

- Link everything static.

- Link everything dynamic.

- Link user libs as static and system libs as dynamic.

There is no easy way to link a single user lib static/dynamic without resorting to hacks/workarounds like re-importing the shared library or defining weird intermediate targets. It's completely broken.

Comment · 3 years ago
CUDA Driver API or Runtime API remoting?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton