3 ms·
Random, unexpected, untrusted c/c++ written code doesn't execute on my machine every time I browse a website. The only c/c++ code is code I downloaded and insta
by cm2187 9y ago
Random, unexpected, untrusted c/c++ written code doesn't execute on my machine every time I browse a website. The only c/c++ code is code I downloaded and installed or that my OS vendor trusted to include in the OS. It's quite different from javascript where the code is literally executing uninvited, often by 3rd or 4th or 5th parties of the website I visit.
- krapp 9y ago>Random, unexpected, untrusted c/c++ written code doesn't execute on my machine every time I browse a website. It does every time you run a native application, for the same values of "random, unexpected and untrusted." >It's quite different from javascript where the code is literally executing uninvited, often by 3rd or 4th or 5th parties of the website I visit. Fine. Turn it off then. That's an option you don't really have in any other runtime, so take advantage of it. But just because you don't want javascript on the web doesn't mean it doesn't belong there when authors choose to include it as part of the content they serve. Also, how exactly does one run "3rd, 4th or 5th party" javascript?
- cm2187 9y ago> Also, how exactly does one run "3rd, 4th or 5th party" javascript? You load a page that includes 3rd party scripts/iframes that themselves load 4th party scripts that themselves load 5th party scripts, etc. You often notice that when you start blocking an ad in your browser and suddenly 10 others disappear at the same time.
- seba_dos1 9y agoNo. Unless the application downloads and executes new code from third parties neither you nor application author can control every time you launch it, it's absolutely not comparable to most of the websites.
- sillysaurus3 9y agoThe only c/c++ code is code I downloaded and installed or that my OS vendor trusted to include in the OS. You never brew install anything? Or brew cask install, or git clone followed by make, or... Even npm install sometimes compiles C. It's hard to get away from c/c++ code.
- mort96 9y agoMaybe he's running Linux? There, software installed through the package manager from the distro's repos count as code which the OS vendor trusted.