Live data from Hacker News

I hate compilers

xeiaso.net

71–80 of 182 posts

Re: I hate compilers

#71
post #47

I hate proof of work code running on my machine for the benefit of someone else. It's like planting a crypto miner.

Do proof-of-work pages actually stop AI bots? Big AI companies have enough compute to solve these challenges at scale. And if their bots are already doing much heavier work to fetch, read and process each page, then solving a small challenge first seems unlikely to be a serious barrier. Who are these proof-of-work challenges actually helping?

Re: I hate compilers

#73
post #16

Reading this, I think low level engineering is actually more dependent on specific environments. Hardware also has its own points of change. Usually, when you think at a high level, environmental changes are less significant than you might expect. But low level thinking tends to be tied to specific environments, which is what makes it difficult. The reason low level is hard is that even if the code itself is short, t…

Looks like the formatting ate your asterisks at *(int*)buffer. Use \* to get an asterisk.

Re: I hate compilers

#74

Earlier quoted context omitted.

Sure, but a signature doesn't prove that a particular binary came from a particular codebase - merely that a particular human (or other trusted entity, for varying degrees of "trusted") has vouched for it. Being able to reproduce the binary from the source code and being able to verify that it's the same as the original is quite important in some contexts.

>Being able to reproduce the binary from the source code and being able to verify that it's the same as the original is quite important in some contexts. I disagree. The contexts that people come up with are purely theoretical, and are not practically important. Please do try and convince me otherwise by sharing such a context. From my view the juice of trying to accomplish this is no where worth the squeeze.

You disagree but you're wrong.

Military context: a government would want to review the code and compile themselves. Provide a hash of the target binary to ensure they've compiled it correctly.

SDLC: provide auditors with _proof_ that the tested binary is indeed coming from the audited code

Re: I hate compilers

#75

Earlier quoted context omitted.

The whole point of a signature is that you are able to verify what was signed was in fact a message that was signed by signer.

Sure, but a signature doesn't prove that a particular binary came from a particular codebase - merely that a particular human (or other trusted entity, for varying degrees of "trusted") has vouched for it. Being able to reproduce the binary from the source code and being able to verify that it's the same as the original is quite important in some contexts.

> Being able to reproduce the binary from the source code and being able to verify that it's the same as the original is quite important in some contexts

Why not build your own binaries and be done with that. If you don’t trust the compiler or the machine doing the build, just build the code yourself.

Re: I hate compilers

#76
So to avoid those energy-hungry LLM companies from scraping your website, you force each browser to compute a lot of hashes in a necessarily energy-hungry loop, creating, at the same time, all the kind of accessibility problems?

Re: I hate compilers

#77
Could have sworn the author was a nix(os) user already. I know it’s a meme but what all the problems they’re describing literally is solved by nix. The nix sandbox even catches calls for time for example to replace it with 0 for determinism.

Re: I hate compilers

#78

Earlier quoted context omitted.

>Being able to reproduce the binary from the source code and being able to verify that it's the same as the original is quite important in some contexts. I disagree. The contexts that people come up with are purely theoretical, and are not practically important. Please do try and convince me otherwise by sharing such a context. From my view the juice of trying to accomplish this is no where worth the squeeze.

You disagree but you're wrong. Military context: a government would want to review the code and compile themselves. Provide a hash of the target binary to ensure they've compiled it correctly. SDLC: provide auditors with _proof_ that the tested binary is indeed coming from the audited code

Military Context: Just build the code that you just reviewed. No need to get the binaries

SDLC: Traceability is more important than reproducibility. Keeping logs is more important than deterministic build outputs

Re: I hate compilers

#79
post #54

These seem very reasonable, the workarounds used are natural, and overall the article is not at all congruous with the conclusion in the (clickbait?) title? Compilers literally made your project possible!

> Clang relies on address layout for ordering things I would consider that a bug tbh

If reproducible builds is a stated goal for Clang? I'm not sure that it is. If so, absolutely a bug.

Re: I hate compilers

#80
post #76

So to avoid those energy-hungry LLM companies from scraping your website, you force each browser to compute a lot of hashes in a necessarily energy-hungry loop, creating, at the same time, all the kind of accessibility problems?

Not just LLM companies, but bots in general. They were a big problem even before LLMs.
Post reply on HN