4,011 karma · joined Oct 6, 2012 (14y ago) · 960 submissions
meet.hn/city/il-Jerusalem
Socials: - x.com/YossiKreinin - github.com/yosefk
---
comment 2mo ago · link · parent
And of course you can also end up standardizing on something because it benefits someone good at politics even though it's a bad idea, I just didn't elaborate on this stuff because it is too far away from the subject. I didn't say you should always stanardize on something though, I said that it was a hard decision
comment 2mo ago · link · parent
comment 2mo ago · link · parent
11.
Bad benchmarks and evals: Senior SWE-Bench, napkin math, and winter tires(danluu.com ↗)
2 points · by yosefk · 3mo ago · discuss
comment 3mo ago · link · parent
comment 3mo ago · link · parent
Similarly, Obama supported the Muslim Brotherhood because he did; in Ukraine for instance the same admin supported a coup against the elected government (this is not to say that Russia's actions in Ukraine are "justified", it's just a fact.) Democracy has nothing to do with any of this
comment 3mo ago · link · parent
comment 4mo ago · link · parent
FWIW, I can see where TFA is coming from and I had the urge to write something "in defense of Rust" after listening to / reading some of your recent comments. I think your sister comment about the limits to Rust memory safety being real as much as the limits to Fil-C's performance and practicality is spot on, but the feeling (those emotions again) one gets from much of your commentary is that you downplay the latter quite a bit.
I think the real argument for Fil-C is that you aren't going to "rewrite in Rust" but you can often realistically recompile in Fil-C and pay the performance penalty; the fact that that Rust rewrite could also end up less safe is I think should be argued mainly from the AI angle where the only practical way is an LLM based rewrite but that would have a load of unsafe - way more than a "proper" rewrite - to be practical and the recent $100K Bun rewrite is a testament to that.
(I would love nothing more than for Fil-C to become as widely used as it practically can, since no other approach does nearly as much to secure C / C++ code and a lot of said code is out there; and security aside, it could prevent a lot of data corruption that most major C++ programs gift to their users.)
comment 6mo ago · link · parent
comment 9mo ago · link · parent
The assembler is harder than it looks. It needs to know the exact binary encoding of every instruction for the target architecture. x86-64 alone has thousands of instruction variants with complex encoding rules (REX prefixes, ModR/M bytes, SIB bytes, displacement sizes). Getting even one bit wrong means the CPU will do something completely unexpected.
The linker is arguably the hardest. It has to handle relocations, symbol resolution across multiple object files, different section types, position-independent code, thread-local storage, dynamic linking and format-specific details of ELF binaries. The Linux kernel linker script alone is hundreds of lines of layout directives that the linker must get exactly right."
I worked on compilers, assemblers and linkers and this is almost exactly backwards