{"id":55147,"date":"2020-01-13T00:00:00","date_gmt":"2020-01-12T21:00:00","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/pervyj-vypusk-wasm3-bystrogo-interpretatora-webassembly"},"modified":"2020-02-18T14:03:13","modified_gmt":"2020-02-18T11:03:13","slug":"pervyj-vypusk-wasm3-bystrogo-interpretatora-webassembly","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/pervyj-vypusk-wasm3-bystrogo-interpretatora-webassembly","title":{"rendered":"Megjelent a wasm3, a WebAssembly gyors \u00e9rtelmez\u0151je","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/wasm3\/wasm3\/releases\">El\u00e9rhet\u0151<\/a><\/noindex> els\u0151 kiad\u00e1s <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/wasm3\/wasm3\">wasm3<\/a><\/noindex>, egy nagyon gyors interakt\u00edv WebAssembly k\u00f6ztes k\u00f3d \u00e9rtelmez\u0151, amely els\u0151sorban WebAssembly-alkalmaz\u00e1sok mikrokontrolleren \u00e9s olyan platformokon t\u00f6rt\u00e9n\u0151 v\u00e9grehajt\u00e1s\u00e1ra k\u00e9sz\u00fclt, ahol nincs JIT megval\u00f3s\u00edt\u00e1s WebAssembly-hez, nincs elegend\u0151 mem\u00f3ria a JIT m\u0171k\u00f6dtet\u00e9s\u00e9hez, vagy nem enged\u00e9lyezett a JIT megval\u00f3s\u00edt\u00e1s\u00e1hoz sz\u00fcks\u00e9ges v\u00e9grehajthat\u00f3 mem\u00f3riaoldalak l\u00e9trehoz\u00e1sa. A projekt k\u00f3dja C nyelven \u00edr\u00f3dott, \u00e9s <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/wasm3\/wasm3\">terjeszt\u00e9sre ker\u00fcl<\/a><\/noindex> MIT licenc alatt \u00e1ll.<\/p>\n<p>A wasm3 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/WebAssembly\/spec\/tree\/master\/test\/core\">tesztek<\/a><\/noindex> teljes\u00edti a WebAssembly 1.0 specifik\u00e1ci\u00f3val val\u00f3 kompatibilit\u00e1s tesztjeit, \u00e9s k\u00e9pes sok WASI-alkalmaz\u00e1s futtat\u00e1s\u00e1ra, amely csak 4-5-sz\u00f6r lassabb a JIT-motorokhoz k\u00e9pest (<noindex><a rel=\"nofollow\" href=\"https:\/\/v8.dev\/blog\/liftoff\">liftoff<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/bytecodealliance\/cranelift\">cranelift<\/a><\/noindex>) \u00e9s 11,5-sz\u00f6r lassabb a nat\u00edv k\u00f3d futtat\u00e1s\u00e1hoz. A t\u00f6bbi WebAssembly \u00e9rtelmez\u0151vel val\u00f3 \u00f6sszehasonl\u00edt\u00e1sban (<noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/kanaka\/wac\">wac<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/perlin-network\/life\">life<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/bytecodealliance\/wasm-micro-runtime\">wasm-micro-runtime<\/a><\/noindex>) a wasm3 15,8-szor gyorsabbnak bizonyult.<\/p>\n<p>A wasm3 m\u0171k\u00f6d\u00e9s\u00e9hez 64Kb mem\u00f3ria sz\u00fcks\u00e9ges a k\u00f3dhoz \u00e9s 10Kb RAM, ami lehet\u0151v\u00e9 teszi a projekt sz\u00e1m\u00e1ra, hogy WebAssembly-re ford\u00edtott alkalmaz\u00e1sokat futtasson <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/wasm3\/wasm3\/tree\/master\/platforms\">mikrokontrollereken<\/a><\/noindex>, mint az Arduino MKR*, Arduino Due, Particle Photon, ESP8266, ESP32, Air602 (W600), nRF52, nRF51 Blue Pill (STM32F103C8T6), MXChip AZ3166 (EMW3166),<br \/>\nMaix (K210), HiFive1 (E310), Fomu (ICE40UP5K) \u00e9s ATmega1284, valamint az x86, x64, ARM, MIPS, RISC-V \u00e9s Xtensa architekt\u00far\u00e1kon alapul\u00f3 alaplapokon \u00e9s sz\u00e1m\u00edt\u00f3g\u00e9peken. T\u00e1mogatott oper\u00e1ci\u00f3s rendszerek a Linux (bele\u00e9rtve az OpenWRT alap\u00fa routereket), Windows, macOS, Android \u00e9s iOS. A wasm3 WebAssembly k\u00f6ztes k\u00f3dra is leford\u00edthat\u00f3, ami lehet\u0151v\u00e9 teszi az \u00e9rtelmez\u0151 b\u00f6ng\u00e9sz\u0151ben val\u00f3 futtat\u00e1s\u00e1t vagy be\u00e1gyazott v\u00e9grehajt\u00e1s\u00e1t (self-hosting).<\/p>\n<p>A magas teljes\u00edtm\u00e9ny az \u00e9rtelmez\u0151ben alkalmazott <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/wasm3\/wasm3\/blob\/master\/source\/README.md\">Massey Meta Machine<\/a><\/noindex> (M3) technika r\u00e9v\u00e9n \u00e9rhet\u0151 el, amelyben a b\u00e1jt-k\u00f3d dek\u00f3dol\u00e1si k\u00f6lts\u00e9geinek cs\u00f6kkent\u00e9s\u00e9re el\u0151zetes ford\u00edt\u00e1s t\u00f6rt\u00e9nik a b\u00e1jt-k\u00f3db\u00f3l hat\u00e9konyabb m\u0171veletekk\u00e9, amelyek pszeudo-g\u00e9pk\u00f3dot gener\u00e1lnak, \u00e9s a verem-alap\u00fa virtu\u00e1lis g\u00e9p v\u00e9grehajt\u00e1si modellje \u00e1tform\u00e1l\u00f3dik egy hat\u00e9konyabb regiszter-alap\u00fa megk\u00f6zel\u00edt\u00e9ss\u00e9. Az M3 m\u0171veletei C-funkci\u00f3k, amelynek argumentumai a virtu\u00e1lis g\u00e9p regiszterei, amelyek visszavezethet\u0151k a CPU regiszterekre. A gyakran el\u0151fordul\u00f3 m\u0171velet-sorozatok optimaliz\u00e1l\u00e1sra \u00f6ssze vonhat\u00f3 m\u0171veletekk\u00e9 alakulnak.<\/p>\n<p>Tov\u00e1bbi megjegyz\u00e9sk\u00e9nt <noindex><a rel=\"nofollow\" href=\"https:\/\/www.sec.cs.tu-bs.de\/pubs\/2019a-dimva.pdf\">a kutat\u00e1s eredm\u00e9nyei<\/a><\/noindex> elterjed\u00e9se<br \/>\nWebAssembly a weben. Elemz\u0151k a legn\u00e9pszer\u0171bb 948 ezer weboldalt vizsg\u00e1lva az Alexa rangsora alapj\u00e1n meg\u00e1llap\u00edtott\u00e1k, hogy a WebAssembly 1639 oldalon haszn\u00e1latos (0,17%), azaz minden 600. weboldal egyike. A weboldalakon \u00f6sszesen 1950 WebAssembly modult azonos\u00edtottak, amelyek k\u00f6z\u00fcl 150 egyedi. A WebAssembly alkalmaz\u00e1s\u00e1nak ter\u00fclet\u00e9t vizsg\u00e1lva nem t\u00fal kedvez\u0151 k\u00f6vetkeztet\u00e9sekre jutottak &#8212; az esetek t\u00f6bb mint 50%-\u00e1ban a WebAssembly-t rosszindulat\u00fa c\u00e9lokra haszn\u00e1lt\u00e1k, p\u00e9ld\u00e1ul kriptovaluta b\u00e1ny\u00e1sz\u00e1sra (55,7%) \u00e9s rosszindulat\u00fa szkriptek k\u00f3dj\u00e1nak elrejt\u00e9s\u00e9re (0,2%). A WebAssembly legitim felhaszn\u00e1l\u00e1sa k\u00f6z\u00f6tt szerepelt a k\u00f6nyvt\u00e1rak futtat\u00e1sa (38,8%), j\u00e1t\u00e9kok k\u00e9sz\u00edt\u00e9se (3,5%) \u00e9s saj\u00e1t, nem JavaScript nyelven \u00edrt k\u00f3d v\u00e9grehajt\u00e1sa (0,9%). Az esetek 14,9%-\u00e1ban a WebAssembly-t a felhaszn\u00e1l\u00f3 azonos\u00edt\u00e1s\u00e1nak (fingerprinting) k\u00f6rnyezet\u00e9nek elemz\u00e9s\u00e9re haszn\u00e1lt\u00e1k.<br \/>\n<center><img decoding=\"async\" alt=\"Megjelent a wasm3, a WebAssembly gyors \u00e9rtelmez\u0151je\" src=\"\/wp-content\/uploads\/2020\/01\/2df8e1633e47b0ce5d550565419bf008.png\" style=\"display:block;margin: 0 auto;\" \/><\/center><\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Forr\u00e1s: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52177\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a wasm3, \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u0430 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 WebAssembly, \u0433\u043b\u0430\u0432\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 WebAssembly-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430\u0445 \u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0445, \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f JIT \u0434\u043b\u044f WebAssembly, \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0430\u043c\u044f\u0442\u0438 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b JIT \u0438\u043b\u0438 \u043d\u0435 \u0434\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u043f\u0430\u043c\u044f\u0442\u0438, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 JIT. \u041a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u0421\u0438 \u0438 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":55148,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-55147","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a wasm3, \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/hu\/blog\/news\/pervyj-vypusk-wasm3-bystrogo-interpretatora-webassembly\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a wasm3, \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u0430 WebAssembly | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a wasm3, \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/pervyj-vypusk-wasm3-bystrogo-interpretatora-webassembly\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-01-12T21:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-18T11:03:13+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47A wasm3 els\u0151 verzi\u00f3ja, a gyors WebAssembly-\u00e9rtelmez\u0151 | ProHoster","description":"Megjelent a wasm3 els\u0151 verzi\u00f3ja, nagyon gyors.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/pervyj-vypusk-wasm3-bystrogo-interpretatora-webassembly","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a wasm3, \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u0430 WebAssembly | ProHoster","og:description":"\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a wasm3, \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e.","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/pervyj-vypusk-wasm3-bystrogo-interpretatora-webassembly","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-01-12T21:00:00+00:00","article:modified_time":"2020-02-18T11:03:13+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"55147","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 19:50:02","updated":"2022-10-06 01:13:07","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/55147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=55147"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/55147\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media\/55148"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=55147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=55147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=55147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}