- From: mixed <i.nevalose@gmail.com>
- Date: Fri, 29 Jun 2012 08:48:35 +0900
- To: Younggyo Seo <seo.younggyo@gmail.com>
- Cc: Sangwhan Moon <sangwhan.moon@hanmail.net>, HTML WG <public-html-ig-ko@w3.org>
- Message-ID: <CAByZ=OmCH4gu9c5NzDJR+HPkdak_t-0qpGM=hKTw3G6W6vbHdA@mail.gmail.com>
¾È³çÇϼ¼¿ä. Àü¿ë¿ìÀÔ´Ï´Ù. Àü¿¡ ¹®»óȯ´ÔÀÌ iOS¿¡¼ Å©·ÒÀÌ ³ª¿À´Â°Í¿¡ ȸÀÇÀûÀÌ¸ç ³ª¿Íµµ ¹ÝÂÊ Â¥¸® Å©·ÒÀÌ ³ª¿Ã°ÍÀ̶ó°í Çϼ̴µ¥ Á¤È®ÇϽó׿ä. ¿À´Ã º» Æ®ÀÀε¥ iOS¹öÀüÀÇ Å©·ÒÀÌ ³ª¿À´Âµ¥ ·»´õ¸µ/JS¿£ÁøÀº iOS¿¡¼ Á¦°øÇÏ´Â °É ¾´´Ù°í Çϳ׿ä. °ÅÀÇ ·¦ÇÎÇÑ ¼öÁØÀ̳׿ä. -------------- @viviancromwell: Chrome for iOS provides the same browsing experience you've on desktop/Android. Rendering/JS engine are provided by iOS so it doesn't use V8 ------------- On Friday, June 15, 2012, mixed wrote: > ¾È³çÇϼ¼¿ä. Àü¿ë¿ìÀÔ´Ï´Ù. > > Á¦°¡ ÀÌÇØÇϴµ¥ ±¸¸ÛÀÌ ÀÖ´ø ºÎºÐÀÌ sandboxºÎºÐÀÌ¿´´Âµ¥ ½±°Ô ¼³¸íÇØÁּż ÀÌÇØ°¡ Àß µÆ½À´Ï´Ù. > > °¨»çÇÕ´Ï´Ù.^^ > > > 2012/6/15 Younggyo Seo <seo.younggyo@gmail.com> > > ¾È³çÇϼ¼¿ä. > > ÄÚµå·Î ¼³¸íÇØ ÁÖ½Ã´Ï ¸íÈ®ÇÏ°Ô ÀÌÇصdz׿ä. > °¨»çÇÕ´Ï´Ù. > > ¼¿µ±³ µå¸² > > 2012³â 6¿ù 15ÀÏ ¿ÀÈÄ 2:59, Sangwhan Moon <sangwhan.moon@hanmail.net>´ÔÀÇ ¸»: > > ¾È³çÇϼ¼¿ä. > > ¾ó¸¶Àü¿¡ ¾ð±ÞµÈ "Å©·ÒÀÌ ¾ÆÀÌÆеå·Î ³ª¿Â´Ù" ¿´´ø°¡ÀÇ ¸ÞÀÏ¿¡¼ ¿¡¼ > Å©·Ò Æ÷Æà °¡´É¼º¿¡ ´ëÇؼ ȸÀÇÀûÀÎ ÀÔÀåÀ¸·Î °£´ÜÇÏ°Ô ¾ð±ÞÇß½À´Ï´Ù¸¸... > > On Jun 14, 2012, at 11:10 PM, Wonsuk Lee wrote: > > > ¾È³çÇϼ¼¿ä. > > ¸ÕÀú ÁÁÀº ´äº¯ °¨»çÇÕ´Ï´Ù~ > > ¾Æ·¡¿Í °°ÀÌ inline comment¸¦ ´Þ¾Ò½À´Ï´Ù~ > > > > > > 2012³â 6¿ù 14ÀÏ ¿ÀÈÄ 2:25, Younggyo Seo <seo.younggyo@gmail.com>´ÔÀÇ ¸»: > >> ¾È³çÇϼ¼¿ä. ¿Àºñ°í ¼¿µ±³ ÀÔ´Ï´Ù. > >> > >> Àúµµ ±Ã±ÝÇؼ Á» ´õ ±¸±Û¸µÀ» ÇغýÀ´Ï´Ù. > >> Àü¿ë¿ì ±×·ìÀå´Ô ÀÇ°ß¿¡ Ãß°¡ÇÏ¿©, > >> > >> ÀϹÝÀûÀÎ Native ApplicationÀº Å©°Ô ÄÚµå ¿µ¿ª°ú ½ÇÇà ¿µ¿ªÀ¸·Î ³ª´ ¼ö ÀÖÀ» °ÍÀÌ°í, ÄÄÆÄÀÏ ÀÌÈÄ¿¡´Â ÄÚµå ¿µ¿µÀÇ > º¯°æÀº ÀÌ·ç¾î ÁöÁö ¾ÊÀ» °Í ÀÔ´Ï´Ù. > > ÀÌ ºÎºÐ¿¡ ³»¿ëÀÌ Á¶±Ý Ʋ¸° ºÎºÐÀÌ ÀÖ½À´Ï´Ù. text ¿Í data µÎ°¡Áö·Î Å©°Ô ³ª´µ´Âµ¥, > text°¡ code¶ó°í ºÒ¸®±âµµ ÇÕ´Ï´Ù. (´ëºÎºÐÀÇ disassembler³ª debugger´Â text¶ó´Â > ¸íĪÀ» »ç¿ëÇÕ´Ï´Ù) data´Â ¸» ±×´ë·Î dataÀÔ´Ï´Ù. > > "½ÇÇàÀÌ °¡´ÉÇÑ" segment¶ó°í ÇÏ¸é ¸¶Âù°¡Áö·Î text°¡ ¾Æ´Ò±î »ý°¢µË´Ï´Ù. > > > ±×·±µ¥ Äڵ念¿ª°ú ½ÇÇ࿵¿ªÀÌ Á¤È®È÷ ¾î¶² °ÍÀ» À̾߱â ÇÏ´Â °ÍÀΰ¡¿ä? > >> ÇÏÁö¸¸ JITÀÌ µ¿ÀÛÇϱâ À§Çؼ´Â Native ApplicationÀÌ ½ÇÇàµÈ ´ÙÀ½, ½Ç½Ã°£À¸·Î ÄÚµå ¿µ¿ªÀÌ »ý¼ºµÇ¾î Á®¾ß ÇÕ´Ï´Ù. > >> ±×·¯³ª iOS¿¡¼´Â ApplicationÀÇ ½ÇÇà Áß, ÄÚµå ¿µ¿ªÀ» »ý¼ºÇÏ¿© ½ÇÇàÇÒ ¼ö ¾øµµ·ÏÇÏ´Â º¸¾È Á¤Ã¥À» °¡Áö°í ÀÖ´Ù°í > ÇÕ´Ï´Ù. > >> - iOS Àü¹®°¡´ÔÀÇ ÀÇ°ß ÇÊ¿ä ^^ > > Á¶±Ý ´õ Á¤È®È÷´Â mmapÀ¸·Î ½Ã½ºÅÛÀ¸·Î ºÎÅÍ ½ÇÇà °¡´ÉÇÑ ÆäÀÌÁö (PROT_EXEC)¸¦ > ÇÒ´ç¹Þ¾Æ¼ »ç¿ëÇÕ´Ï´Ù. ÀÌ Á¢±ÙÀ» »ç¿ëÇÏ´Â °ÍÀÌ Sandbox ¾È¿¡¼´Â ºÒ°¡´ÉÇÕ´Ï´Ù. > > ¿¹> void* executable_code_page = mmap(NULL, 8192, > PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); > > ARMÀÇ °æ¿ì.. ¿©±â¿¡¼ executable_code_page¸¦ 32-bit alignÇÑ ÈÄ ½ÇÇàÇÏ°í ½ÍÀº > Äڵ带 ÀüºÎ ³Ö°í, ¸¶Áö¸·¿¡ BX R14À» ³Ö¾îÁØ ´ÙÀ½, È£ÃâÇϸé ÁÖÀÔÇÑ Äڵ尡 ÀüºÎ > ½ÇÇàÀÌ µÈ ´ÙÀ½¿¡ ¹ÝȯµË´Ï´Ù. > > ¹°·Ð ¾ÆÅ°ÅØÃÄ¿¡ µû¶ó¼ Á¢±ÙÀº ´Þ¸® ÇØ¾ß ÇÕ´Ï´Ù. ÀÚ¼¼ÇÑ ³»¿ëÀº Ã¥ÀÌ ¾Æ´Ñ °ü°è·Î > »ý·«ÇÏ°Ú½À´Ï´Ù. > > >> ¾ÖÇÿ¡¼´Â ÀÌ º¸¾È Á¤Ã¥À» Safari ¿¡¼¸¸ ¿¹¿Ü°¡ °¡´ÉÇϵµ·Ï ó¸®ÇØ ³õ¾Ò±â ¶§¹®¿¡, Safari¿¡¼¸¸ nitro°¡ µ¿ÀÛ°¡´ÉÇÑ > °Í > >> °°½À´Ï´Ù. > > ¾ÖÇÿ¡¼ ³»º¸³»´Â Safari´Â Sandbox¾È¿¡¼ µ¹¾Æ°¡Áö ¾Ê±â ¶§¹®¿¡ °¡´ÉÇÑ °ÍÀÔ´Ï´Ù. > App store¿¡¼ ´Ù¿î·Îµå ¹ÞÀº ¾îÇø®ÄÉÀ̼ÇÀº ÀüºÎ Sandbox context ¾È¿¡¼ ½ÇÇàµÇ±â > ¶§¹®¿¡ ±× ¾È¿¡¼ dynamic linkµÈ UIKit.framework¿¡¼ UIWebView¸¦ »ç¿ëÇÏ°Ô µÉ > °æ¿ì ÇØ´ç Webview¿¡¼ »ç¿ëÇÏ´Â WebkitÀÇ ½ÇÇà context°¡ Sandbox¾È¿¡ Àֱ⠶§¹®¿¡ > À§¿Í °°ÀÌ ½ÇÇà °¡´ÉÇÑ Äڵ带 ÁÖÀÔÇÏ´Â °ÍÀÌ ºÒ°¡´ÉÇÕ´Ï´Ù. > > Äڵ带 ¿¾îº¸Áö´Â ¾Ê¾Ò½À´Ï´Ù¸¸, ¾Æ¸¶ ÀÚ¹Ù½ºÅ©¸³Æ® ¿£Áø¿¡¼ sandbox ¾È¿¡ ÀÖ´ÂÁö ¶Ç´Â > UIWebView¿¡¼ È£ÃâµÇ¾ú´ÂÁö assert ÈÄ ½ÇÆÐÇÒ °æ¿ì interpreter¸ðµå·Î fallbackÀ» ÇÒ °ÍÀ¸·Î > ÃßÁ¤µË´Ï´Ù. ¸¸¾à¿¡ UIWebView¸¦ jailbreakµÈ »óÅ¿¡¼ »ç¿ëÇÒ °æ¿ì JIT°¡ µ¿ÀÛÇÑ´Ù¸é ÈÄÀÚ > ÀÏ °ÍÀÌ°í, jailbreak¸¦ Ç߾ JIT°¡ ºñÈ°¼ºÈµÇ¾î ÀÖ´Ù¸é ÀüÀÚ·Î »ý°¢ÇÏ½Ã¸é µË´Ï´Ù. > > (¿©´ãÀ¸·Î ÀüÀÚ°¡ ±¸ÇöÇϱ⠽±°í ¿À·ùÀÇ ¿©Áö°¡ »ó´ëÀûÀ¸·Î Àû±â ¶§¹®¿¡ Àú¶ó¸é ÀüÀÚ·Î ÇßÀ»°Ì´Ï´Ù.) > > ´ÜÀûÀÎ ¿¹·Î... Safari´Â Sandbox¾È¿¡ ÀÖÁö ¾Ê¾Ò¾ú±â ¶§¹®¿¡ Freetype Ãë¾àÁ¡À» ÀÌ¿ëÇÑ > Jailbreakme 3.0ÀÌ °¡´ÉÇß´ø°ÍÀÔ´Ï´Ù. > > >> ¶ÇÇÑ ÀÌ·± ÀÌÀ¯·Î Webkit2°¡ Safari on iOS ¿¡¿¡ Àû¿ëµÇ¸é WebView¿¡¼µµ nitroÀÇ »ç¿ëÀÌ °¡´ÉÇÏ´Ù°í > ¸»ÇÏ°í ÀÖ´Â °Í °°½À´Ï´Ù. > >> - Webkit2ÀÇ °æ¿ì UI¿Í ¿£ÁøÀÌ ÇÁ·Î¼¼½º·Î ºÐ¸®µÇ¾î µ¿ÀÛÇÏ°í ÀÖ´Â °ÍÀ¸·Î ¾Ð´Ï´Ù. > > > > Webkit2¿¡¼´Â UI ÇÁ·Î¼¼½º¿Í Web ÇÁ·Î¼¼½º·Î ºÐ¸®µÇ¾î ÀÖ±â´Â ÇÕ´Ï´Ù¸¸ ÀÌ·¸°Ô µÇ´Â °æ¿ì¿¡ ¿Ö Nitro Àû¿ëÀÌ > > °¡´ÉÇÑÁö´Â Á¤È®È÷ ÀÌÇØ°¡ µÇÁö ¾Ê½À´Ï´Ù^^; > > Ȥ½Ã Á»´õ ÀÚ¼¼È÷ ¼³¸íÀÌ °¡´ÉÇÒ ±î¿ä? > > À§¿¡ ¼³¸íÀÌ µÇ¾úÀ»°ÍÀ̶ó°í »ý°¢µË´Ï´Ù. (°í¿ëÁÖ¿Í °ü°è »ó Webkit¿¡ ´ëÇؼ ´õ ÀÚ¼¼ÇÏ°Ô > À̾߱âÇÏÁö ¸øÇÏ´Â Á¡, ¾çÇØ ¹Ù¶ø´Ï´Ù.) > > ¾ÖÇÿ¡¼ º¸¾È Á¤Ã¥À» °©Àڱ⠺¯°æÇÏÁö ¾Ê´Â ÀÌ»ó, »ó±â¿Í °°Àº ÀÌÀ¯·Î iOS¿¡ Opera MobileÀ̳ª > Firefox, ChromiumÀÌ ³ª¿À´õ¶óµµ ¹ÝÂÊÂ¥¸® Á¦Ç°ÀÌ ³ª¿Ã°ÍÀ̶ó°í »ý°¢µË´Ï´Ù. > > (Ãß°¡ÀûÀ¸·Î App store review guideline ÇöÇà ¹öÀü¿¡ ÀÇÇϸé additional executable code¿¡ > ´ëÇؼ ¸í½ÃÀûÀ¸·Î ¾ð±ÞÀÌ µÇ¾î Àֱ⠶§¹®¿¡, ±×°Ô ¹Ù²î±â Àü±îÁö´Â ºê¶ó¿ìÀúµµ °ÔÀӱ⠿¡¹Ä·¹ÀÌÅ͵µ > ÀüºÎ Á¤Ã¥ º¯°æÀÌ ÀÌ·ç¾îÁú¶§±îÁö´Â ºÒ°¡´ÉÇÕ´Ï´Ù.) > > °¨»çÇÕ´Ï´Ù. > ¹®»óȯ ¹è»ó > > >> > >> http://code.google.com/p/v8/issues/detail?id=1312 > >> - I was told that the problem with getting V8 to run on iOS was the fact > >> that JIT compilation could not be supported due to Apple disabling > writable > >> and executable memory regions. > >> > >> http://news.ycombinator.com/item?id=2317804 > >> - A JIT works by compiling some chunk of code into a section of > executable > >> memory, then jumping to that location. As I understand it, iOS hasn't > >> previously allowed execution of code from "data memory" (various people > were > >> curious about this very thing when it was announced they were shipping a > >> JIT). > >> > >> ¼¿µ±³ µå¸² > >> > >> 2012³â 6¿ù 14ÀÏ ¿ÀÀü 9:37, mixed <i.nevalose@gmail.com>´ÔÀÇ ¸»: > >> > >
Received on Thursday, 28 June 2012 23:49:05 UTC