1,126 karma · joined Aug 23, 2015 (11y ago) · 408 submissions
comment 1y ago · link · parent
fundamentally, the author refuses to contend with the fact that the context in which Protobufs are used -- millions of messages strewn around random databases and files, read and written by software using different versions of libraries -- is NOT the same scenario where you get to design your types once and then EVERYTHING that ever touches those types is forced through a type checker.
again, this betrays a certain degree of amateurishness on the author's part.
Kenton has already provided a good explanation here: https://news.ycombinator.com/item?id=45140590
95.
More About Jumps Than You Wanted to Know(gpfault.net ↗)
5 points · by nice_byte · 1y ago · discuss
comment 1y ago · link · parent
one opportunity for optimization is mapping emulated registers to real x86-64 registers and basically never spilling them to memory (so that way if you have to add you don't have to first fetch then add, but just add directly). though that makes writing the emulator a lot more annoying.
comment 1y ago · link · parent
you will likely not be writing a lot of assembly by hand, however steering the compiler codegen in the right direction requires an understanding of what the compiler produces.
even outside of enhancing performance, knowledge of instruction sets is instrumental for security research and reverse engineering. for some fun but practical demonstrations, see work by Nathan Baggs on YouTube - it involves staring at a lot of disassembly.
i don't know where this misguided notion that assembly language is "1975" comes from. it's not like Cobol where a few large but important systems keep it alive. this is something that lies at the core of every interaction with computers that you have daily.
comment 1y ago · link · parent
comment 1y ago · link · parent
It was nominally supposed to be about flow control instructions, but as it goes with those things, it spiralled and ended up touching on relocations, position-independent code, aslr... One on these days I'll clean it up and post it
103.
D.B. Cooper(en.wikipedia.org ↗)
6 points · by nice_byte · 1y ago · discuss
comment 1y ago · link · parent
Ironically, the only one of my university friends who I'd regard as "actual PhD material" ended up _not_ finishing their PhD in 3yrs time (I surmise because they picked a topic they _actually_ thought worthy) and went to serve in the army.
comment 1y ago · link · parent
says who?
> Maybe they will have legal personhood some day. Maybe they will be our heirs.
Hopefully that will never come to pass. it means total failure of humans as a species.
> They will be just slaves. All this talk about "alignment", when applied to actual sentient beings, is just slavery. AGI will be treated just like we treat animals, or even worse.
Good? that's what it's for? there is no point in creating a new sentient life form if you're not going to utilize it. just burn the whole thing down at that point.
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent