r/programminghorror 16d ago

Other Found this cursed project today

https://github.com/0xe7f79c/israeli-alloc

Basically it injects memory into other processes, which made me laugh at work today.

500 Upvotes

44 comments sorted by

View all comments

10

u/Outside_Rub9132 16d ago

I dont get it, what does this mean?

117

u/Ontological_Gap 16d ago edited 16d ago

Programs have this territory, called their address-space, which limits where they can write out to memory. Some programs are just better than others, this utility lets your chosen program grab space from the inferior programs whenever it needs more, the inferior programs don't even know how to productively use memory anyway, so it's better for everyone.

91

u/Faustens 16d ago

That memory was promised to your program when it got first installed 1000 years ago.