iOSçChrome ãªãªã¼ã¹ã«è¦ãiOSãã©ãããã©ã¼ã ã®å¶ç´
iOSçã® Chrome ããªãªã¼ã¹ããã¾ãããã
ã¢ããªã¨ãã¦ã®ä½¿ãåæã©ãããã¨ããã¨ããããããJavaScript ã¨ã³ã¸ã³å¨ããã©ããã¦ããã®ãã«èå³ããã£ãã®ã ãã©ãTechCrunch ã®è¨äº (http://techcrunch.com/2012/06/28/hands-on-with-googles-chrome-for-ios-just-like-chrome-for-android-only-slower/) ãè¦ãéã v8ã¨ã³ã¸ã³ã¯æè¼ããã¦ããªãããå½ç¶ UIWebView ã§ã® JIT ã³ã³ãã¤ã©ãæå¹ã«ã¯ãªã£ã¦ããªãããã«è¦ãã¾ãããã¤ã¾ããJavaScript ã®å®å¹é度ã«é¢ãã¦è¨ãã°ãMobile Safari ã®ãããä¸åããã¨ã¯ãªãã(å³å¯ã«è¨ãã°ãç´ç²ãª JavaScrpit ã®å®å¹é度以å¤ã®ã¨ããã®å®è£ ãè¯ãã¦ãã¼ã¿ã«ã¨ãã¦éããã¨ãããããªãã¨ããããããããªãã§ãããããã¯ãã³ããã¼ã¯ãåã£ã¦ã¿ãªãã¨ä½ã¨ãè¨ããªãã)
ä¸æ¹ã§æ¨æ¥ãfacebook ã iOSçã®ã¢ããªãç¾å¨ã® UIWebView ã使ã£ãæ¹å¼ã§ã¯é度é¢ã®åé¡ã解æ¶ã§ããªãã¨ããã®ã§ãå度 Objective-C ã®å®è£ ã«æ¹ããã¨ãããããªè¨äº (http://bits.blogs.nytimes.com/2012/06/27/facebook-plans-to-speedup-its-iphone-app/) ãè¦ããã¾ãããfacebook ãã¢ããªã®å®è£ ããã¤ãã£ããã UIWebView ã使ã£ããã¤ããªããã¢ãã«ã«åãæ¿ããã®ãæ¨å¹´ã®ãã¨ã§ããªãã¨ãªããã¤ãã£ãã¢ããªãã HTML ã¦ã§ãã¸ã®æµãã®ãããªãã®ãè¦ãã¦ããã¨ããããã®åãæ»ããæ¬å½ã«è¡ãããã®ãªããããç°¡åã«ã¯ãããªãããã¨ããæ¨ä»ã®ä¸¡è ãåãå·»ãç¶æ³ã®è±¡å¾´çãªåºæ¥äºã«ãªãããã ã¨æãã¾ãã
iOSç Chrome ã« v8 ãè¼ããªã (è¼ããããªã) ã®ã¯ãªãã
v8 (http://code.google.com/p/v8/) ãè¼ããªãã®ã¯ãã¢ããã«ã® "iOS Developer Program License Agreement" ã«ããããããªã¨æ¸ããã¦ãã¾ããã¤ã¾ãã¯ç¬èªã® JavaScript ã³ã¢ã®ãããªãã®ãæè¼ããã¨å¯©æ»ãéããªããããã主ãªåå ã§ã¯ãªããã¨æãã¾ããè¼ããªãã®ã§ã¯ãªãè¼ããããªãã
3.3.2 An Application may not download or install executable code. Interpreted code may only be used in an Application if all scripts, code and interpreters are packaged in the Application and not downloaded. The only exception to the foregoing is scripts and code downloaded and run by Apple's built-in WebKit framework, provided that such scripts and code do not change the primary purpose of the Application by providing features or functionality that are inconsistent with the intended and advertised purpose of the Application as submitted to the App Store.
以ä¸ãhttps://developer.apple.com/programs/terms/ios/standard/ios_program_standard_agreement_20120611.pdf ããã®å¼ç¨ã以åã¯ãã¢ããã«ãæ¸é¢ã§è¨±å¯ããã°ãã¨ãããããªæé¢ã ã£ãããã§ãããä»ã¯ä¸è¨ã®ã¨ããã§ããã©ã¦ã¶ã®ããã«ç¬¬ä¸è ãæ¸ãã JavaScript ãå®å¹ããããããªé¡ã®ãã®ã«ç¬èªã®ã¨ã³ã¸ã³ãæè¼ãã¦ãããå®ç¾ããã¨ããã®ã¯ç¦æ¢ãããããªå½¢ã«ãªã£ã¦ã¾ãããFlash ãé§ç®ãªã®ããããã«ç¸å½ããã¯ãã§ãã
Titanium Mobile ãªã©ããå é¨çã«ã¯ JavaScript ã³ã¢ãæã£ã¦ããã®ã§ãããTitanium ã§ä½ãããã¢ããªã±ã¼ã·ã§ã³ã®å¤ã㯠" Interpreted code may only be used in an Application if all scripts, code and interpreters are packaged in the Application and not downloaded." ã«ç¸å½ããã®ã§å¯©æ»ãéãã¨ãããããªå½¢ã ã¨æãã¾ãã
ãã®é¨åã®è¦ç´ã¯éå»ã«ä½åº¦ãæ¹è¨ããã¦ãã¦ãTitanium Mobile ãä¸ææè¦ç´ã«å¼ã£ããã£ã¦ããã¨ããã®ã§ Titanium ã§éçºããã¢ããªã AppStore ã«ãªãªã¼ã¹ã§ããªãã®ã§ã¯ã¨ãããããªé¨ãããã£ããããã¾ããããä»ã¯ãã®å½¢ã«è½ã¡çãã¦ããããã©ã¦ã¶éçºã®æèã§è¨ãã°ãç¸å¤ããã v8 ãè¼ãããã©ã¦ã¶ä½ããªããå®è³ª HTML ã®ã¬ã³ããªã³ã°ã¯ãã®ã¾ã¾ UIWebView ã使ããããªããã¨ãããã¨ã«ãªãã¾ãã
ãªããã®ãããªè¦ç´ãåå¨ãããã¯ãæ¨æ¸¬ã¯ã§ãã¦ããã¯ã£ããã¨ã¯åããã¾ãããFlash ãç¦æ¢ãããã¨ããç´æ¥çä¸ã¤æ¦ç¥çãªç®çãããªã®ãããããã¯æ¬¡ã«è¨è¼ãã JIT ã®ã»ãã¥ãªãã£ã®åé¡ã®ãããªããå°ãå®éçãªåé¡ãããªã®ãã
UIWebView ã®é度ã Mobile Safari ããé ãã®ã¯
ãã® UIWebView ããJavaScript ã®å®å¹é度ã«é¢ãã¦è¨ãã° Mobile Safari ã®ãããããé ãããã㯠iOS éçºè ã®éã§ã¯æåãªè©±ã§ã以åã«æä¾ããã Mobile Safari ã® Nitro ã¨ã³ã¸ã³ããã®ã¾ã¾ä½¿ã£ã¦ããªããããã¯ä½¿ã£ã¦ã¦ã JIT ã³ã³ãã¤ã©ãæå¹ã«ãªã£ã¦ããªãã¨ããã®è¾ºãåå ã§ãã
ãªããããªã£ã¦ãããã¯ããã㯠iOS ã®ã»ãã¥ãªãã£ç¢ºä¿ã¨ã®ãã¬ã¼ããªãããã£ã¦ãhttp://www.imore.com/2011/03/17/safari-nitro-web-clips-uiwebview/ ã詳ãããJIT ã³ã³ãã¤ã«ãè¡ãã«ã¯ã¡ã¢ãªãã¼ã¸ã executable ã«ããå¿ è¦ããããã©ããããããã¨èªè¨¼ããã¦ãªãã¢ããªãå®è¡ã§ããããã«ãªã£ã¦ãã¾ãã®ã§ iOS å ¨ä½ã®ã»ãã¥ãªãã£ã³ã³ããã¼ã«ãæ°´ã®æ³¡ã«ãªã£ã¦ãã¾ããã¨ãããã¨ã§ãã(ãªã®ã§ãJail Break ãã端æ«ã¯ä¾å¤ã«ãªã)
çµå±ãã®2ç¹ããã£ã¦ãiOS ã®è¦ç´/å¶ç´ã«ãã®ã¾ã¾å¾ããä¾å¤çãªéçããªããã°ãé度é¢ã§ Mobile Safari ã®æ§è½ãä¸åããã©ã¦ã¶ãä½ãã®ã¯é£ãã・・・ã¨ããã®ãç¾ç¶ã§ãããããªäºæ ãå°ã ç¥ã£ããã¶ã£ã¦ããã®ã§ãä»åã® Chrome ã¯ãã®èª²é¡ã¯ã©ãããã®ã ãããã¨æã£ã¦ãã¾ãããChrome ã®è¯ãã¨ããã¯é度ã ãã§ã¯ãªãã®ã§ãã ããã©ããããã¨ããã®ããã¡ããããã¾ããã©ãã
ãã¤ãã£ãã¢ããªãªã®ãHTMLã¦ã§ããªã®ã
è·æ¥ä¸ã¨ãããããã¾ã¢ãã¤ã«ã®ä¸çã¯ãã¤ãã£ãã¢ããªã主æµã§ãããããããã¾ãHTMLã¦ã§ãã®æ代ã«ãªã£ã¦ããã®ã§ãããã? ããã¨ããã¤ãã£ãã®ã¾ã¾ã§ããã®ã§ãããã?ãã¨ãããããªãã¨ã質åããã¾ããã¢ãã¤ã«ã¦ã§ãã¯ãã¢ããã«ã®èãããèªç±ã«ãªã£ã¦ãããã¾ã§ã® PCã¦ã§ãã®ããã¨åããããªç¶æ ã«ãªãã®ãã©ãããã¨ãããã¨ã§ãããä»åã® Chrome ã facebook ã¢ããªã®ä»¶ã¨é¢ããã®æ·±ã話ã§ãã
ç³ã訳ãªãã§ãããæ£ç´åããã¾ããããã¾ããã§æè¨ããã¨å°æ¥æ¥ãæ»ãã®ãç®ã«è¦ãã¦ããã
åããã¾ããããéå»ã®ã¢ããã¸ã¼ã§ããã¨ããã¤ãã£ãã¯å»ãã¦HTML5ã¢ããªã±ã¼ã·ã§ã³ã®æ代ãæ¥ã・・・ã¨ããã®ãããããããæµãã ãããããªããã¨ãæãã§ããéçºè ãããã¯ä¼æ¥ã®æ¹ããã®éãããå¤ãããããªãããªã¨ããå°è±¡ã¯åãã¾ããèªåçã«ãããã¤ãã£ãã¢ããªããã¯æ £ã親ããã ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³éçºã®æ¹ã楽ã§ãããåæãåãã£ã¦ãã¾ãã®ã§ãã¡ããæ¨ãããæ¹ã§ãã
ããã©ãããã¼ã±ãã£ã³ã°ãã¦ã¼ã¶ã¼ã®æ¯æã ãã§ãªããã¢ããã«ã®æ¦ç¥ãiOSãã©ãããã©ã¼ã ã®ã»ãã¥ãªãã£ãªã©æè¡çãªèª²é¡ãã¨ãã£ãã¨ãããå¤æ°ã«ããã¾ãããä»åã®ãã©ã¦ã¶ã®æèã§è¨ãã° (iOSã®URLã¹ãã¼ã ãAndroidã®Intentã«æ¯ã¹ã¦èªç±ã§ãªãã¨ãããããªæè¡çãªç¹ãå«ã) Internet Explorer ã®ã¨ãã«ãã£ããããªç¬å ç¦æ¢æ³ã®åé¡ã¨ãã絡ãã§ããã ããããä¸æ¦ã«éå»ã®ä¾ã«æ²¿ã£ã¦ãééããªã HTML ã§æ±ºã¾ããã¨ãããããªãã¨ã¯ãªããªãè¨ããªãã§ããç¾æç¹ã§ãèªåãã¢ããªã§ä½ããã¦ã§ãã§ä½ããã¨ããã°ãã¢ããªã§ä½ããã§ãããã
é¢ç½ããã¼ã & èªåã®ä»å¾ã«é¢ä¿ã®ãããã¨ã«ã¯å¤ãããªãã®ã§ãå¼ãç¶ãè¦ã¦ãããããªã¨ã¯æãã¾ãã