Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

all the kernel passes to executables is one long string

and then every program handles it in whatever way it feels is best

as examples: go/java/python all process arguments slightly differently

even microsoft's libc changes handling between versions

given it's not possible to know what parser a specific target program is going to use: it's not possible to generically serialise an array safely



Okay so it's not that the rules are too complicated for mortals, it's that there are no rules and so you can't know how programs will interpret the data, so you can't write anything that would universally work. Am I understanding that right?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: