1,909 karma · joined Sep 24, 2012 (14y ago) · 1,011 submissions
comment 6y ago · link · parent
comment 6y ago · link · parent
> warning: after 3 levels of inlining (potentially across files with Link Time Optimization), some common subexpression elimination, after hoisting this thing out of a loop and proving that these 13 pointers don't alias, we found a case where you're doing something undefined. This could either be because there is a bug in your code, or because you have macros and inlining and the invalid code is dynamically unreachable but we can't prove that it is dead.
comment 6y ago · link · parent
gcc is slow when you turn on all the optimizations. when computers were run by SysOps and every program needed to be recompiled from scratch for each slightly-different machine, it wasn't worth making the compiler ten times slower to make the program five percent faster. today, when browsers are compiled once and then run by millions of users for billions of hours a day, the tradeoff is different.
sure, autoconf is bad, particularly today when it's used completely wrong, but is it really worse than when programs had to be completely manually ported between different Unix versions, in a day when "package manager" had yet to be a twinkle in anybody's eye?
is everything great now? no, of course not. but you're grasping at the completely wrong straws here.
comment 6y ago · link · parent
For that reason, Java and Python didn't start out with fully self-contained bundles as a design goal. It just wasn't practical in the 90s. Obviously, yes, if they had managed to correctly predict and plan for three decades of technological improvement, then sure, we'd be working in a very different technological landscape. But they couldn't possibly have, and solutions built on the old languages are always fraught with disagreement. So, we use new languages, like Go and Rust, which are developed with modern needs in mind.
comment 6y ago · link · parent
comment 6y ago · link · parent
You can't look at C which started in the 1970s and C++ which started in the 1980s and have expected them to even consider cross-compilation, when Autoconf wasn't even released until 1991.
comment 6y ago · link · parent
In chapter one, Ken explains why this is absolutely fraud:
> Whether a communication is fraudulent — for the purposes of criminal law, torts, or consumer protection law — depends upon communications as a whole. Scammers cannot insulate themselves with fine print, hidden disclosures, or contradictory disclaimers when the entire solicitation is intended to defraud and is misleading to a reasonable person.
Although the mailing in OP is somewhat less scammy, on the totality of the evidence, any reasonable person would clearly decide that it is mail fraud.
comment 6y ago · link · parent
comment 6y ago · link · parent
Remote: Yes
Willing to relocate: Yes
Technologies: C, Python, shell, networking, build systems
Résumé/CV: https://alxu.ca/resume.pdf
Email: see resume
comment 6y ago · link · parent
comment 6y ago · link · parent
hardware encryption is arguably a better use of TEE, but as far as I know, no actual implementations use SGX for that purpose. the TPM is used, but it's not fast enough for actual encryption. the OS loads the keys from the TPM and does the encryption in regular software.
comment 6y ago · link · parent
comment 6y ago · link · parent
I haven't checked whether this is true, but even if it is, that's a damning indictment of IPsec, because on Linux, the entire connection establishment is in userspace, and the kernel only handles per-packet encryption and authentication. WireGuard has the entire negotiation sequence, authentication, routing, timeouts, rekeying, etc in the kernel. With IPsec, you need to have a userspace daemon to manage all of that, with significantly more LoC than the bare per-packet essentials. With WireGuard, you just load the keys into the kernel and you're done. I bet that you're also counting Zinc against WireGuard, but not counting the entire crypto API against IPsec (which, unlike with WireGuard, you might end up actually using).
I suspect that it's not actually true though in the first place, once you add in all of the other stuff like iptables -m policy that only exists to support IPsec.
comment 6y ago · link · parent
comment 6y ago · link · parent
but even ignoring all of that, wireguard has significantly better security guarantees. https://www.wireguard.com/formal-verification/ claims that "WireGuard has undergone all sorts of formal verification, covering aspects of the cryptography, protocol, and implementation." with references to several formal proofs of the protocol.
furthermore, wireguard has actually received a CVE: CVE-2019-14899, which was posted here only a few weeks ago. it's not wireguard-specific though, it's a general problem with VPN setup on general-purpose operating systems.
comment 6y ago · link · parent
doesn't seem very secure to me.
comment 6y ago · link · parent