[ home / overboard ] [ soy / qa / raid / r ] [ int / pol ] [ a / an / asp / biz / mtv / r9k / tech / v / sude / x ] [ q / news / chive / rules / pass / bans / status ] [ wiki / booru / irc ]

A banner for soyjak.party

/tech/ - Soyence and Technology

Download more RAM for your Mac here
Catalog
Email
Subject
Comment
File
Password (For file deletion.)

File: 1774406496544u.mp4 📥︎ (41.73 MB, 1080x1080) ImgOps

 â„–30232[Quote]

Jews took self modifying code from the white man so he could pozz x86 with branch prediction and hardware managed cache. Imagine what we could've done

 â„–30306[Quote]

This is why MIPS is gooder

 â„–30881[Quote]

>>30232 (OP)
Chuds after programming 5 lines of C

 â„–30898[Quote]

explain this to a nocoder chump

 â„–30908[Quote]

>>30898
On older architectures you could modify instructions of the program while the program was running. For example, say some conditional didn't need to be checked anymore, you could replace it with a jump to the expected result. Now its basically impossible because the kernel or (((antivirus))) enforces the program code be in read only memory and modern CPUs use branch prediction that isn't designed for this and fucks it up. Branch prediction is a retarded heuristic while self modifying code is the correct but difficult to program solution.

 â„–30912[Quote]

>>30908
a lot of that went over my head but self modifying code sounds pretty heckin awesome

 â„–30931[Quote]

>>30912
@grok help this guy

 â„–31038[Quote]

>>30908
Compiler devs need to bring back hardware hackery and the culture surrounding it. Hidden opcodes and undef behavior are aryan

 â„–31067[Quote]

>>30232 (OP)
ever heard of trampoline hooks? those modify the text segment of the running program to dynamically hook functions in the assembly. its still possible and used nigga.
https://blog.vaxry.net/articles/2023-trampolineHooks

 â„–31088[Quote]

>>31067
How does this no ruin cache coherency and therefore the branch predictor



[Return][Catalog][Go to top][Post a Reply]
Delete Post [ ]
[ home / overboard ] [ soy / qa / raid / r ] [ int / pol ] [ a / an / asp / biz / mtv / r9k / tech / v / sude / x ] [ q / news / chive / rules / pass / bans / status ] [ wiki / booru / irc ]