3 ms·
Are you suggesting Javascript has access to all hardware functionality exposed to C/ObjC/Swift?
by jjtheblunt 6y ago
Are you suggesting Javascript has access to all hardware functionality exposed to C/ObjC/Swift?
- impassionedrule 6y agoI've heard of Ionic/Cordova which gives JS apps the ability to access native APIs, but haven't used it to see if it's truly capable of all functionality
- SquareWheel 6y agoWith a proper permission system in place, sure. Desktop apps got the permission model all wrong. You run a program and that grants them access to everything. The web's model is closer to that of mobile apps. It asks for a permission at the time that it's needed. Not all sites get this right, but browsers are starting to crack down on requests the moment you enter a site.