←back to thread

1208 points jamesberthoty | 1 comments | | HN request time: 0.254s | source
Show context
l___l ◴[] No.45260940[source]
Is there a theoretical framework that can prevent this from happening? Proof-carrying code?
replies(8): >>45260951 #>>45260961 #>>45260981 #>>45260989 #>>45261022 #>>45261060 #>>45270399 #>>45274246 #
dist-epoch ◴[] No.45260951[source]
There are, but they have huge performance or usability penalties.

Stuff like intents "this is a math library, it is not allowed to access the network or filesystem".

At a higher level, you have app sandboxing, like on phones or Apple/Windows store. Sandboxed desktop apps are quite hated by developers - my app should be allowed to do whatever the fuck it wants.

replies(3): >>45261021 #>>45261057 #>>45261272 #
1. killerstorm ◴[] No.45261057[source]
You can do that by screening module imports with zero runtime penalty.