Hacker News new | past | comments | ask | show | jobs | submit login

>Webview apps cannot have self-modifying code.

JavaScript is eminently (almost too much so) able to modify its own running code.

It's true that it's limited to whatever APIs the WebView exposes. Then again, this thing (yours?) is limited to whatever API the OS exposes. The ultimate, I suppose, would be to have a self-modifying OS - and then your thing is limited by whatever the hardware exposes.

All applications only take input from hardware sensors and then have (screen, storage, network) side-effects. That's all a program ever is. That's Facebook and Google and WoW and Angry Birds and Wolfram Alpha, and so on. You can try to bust out of each layer (OS, JVM, Browser) but that in no sense requires "self-modifying code". Self-modificaton with a compiled language on a mobile device is a neat trick, but it's self-modification is no more or less profound than that provided by a browser, modulo performance.




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

Search: