3 ms·
Embedding binary data should be part of the language/toolchain, not the operating system. For example, include_bytes!() in Rust.
by fleventynine 3y ago
Embedding binary data should be part of the language/toolchain, not the operating system. For example, include_bytes!() in Rust.
- sebazzz 3y agoThis is embedding in the way the operating system can find it.
- lmz 3y agoAs long as you can open your own executable for reading what does the OS have to do with this?
- biaachmonkie 3y agoIcons are the most common use case I'd think. But several other things that could be indexed, information about the application, etc...
- lmz 3y agoYeah but the original post was talking about "Linux" which doesn't really have any use for that on the kernel level. I also doubt Freedesktop are going to specify special ELF sections or something for icons.
- rational_indian 3y agoDon't care if the kernel needs it or not. I care about the things for which Windows uses it. Why is the icon a separate file on Linux? > I also doubt Freedesktop are going to specify special ELF sections or something for icons They should. It would stop my icons from disappearing / changing on me while Iam not looking.