{"id":80004,"date":"2020-05-02T07:42:09","date_gmt":"2020-05-02T05:42:09","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/microsoft-predstavil-rust-winrt-dostupen-rust-analyzer-dlya-integraczii-rust-c-ide"},"modified":"2020-05-02T07:42:09","modified_gmt":"2020-05-02T05:42:09","slug":"microsoft-predstavil-rust-winrt-dostupen-rust-analyzer-dlya-integraczii-rust-c-ide","status":"publish","type":"post","link":"https:\/\/prohoster.info\/cs\/blog\/news\/microsoft-predstavil-rust-winrt-dostupen-rust-analyzer-dlya-integraczii-rust-c-ide","title":{"rendered":"Microsoft p\u0159edstavil Rust\/WinRT. Rust-analyzer je k dispozici pro integraci Rust s IDE","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Spole\u010dnost Microsoft <noindex><a rel=\"nofollow\" href=\"https:\/\/blogs.windows.com\/windowsdeveloper\/2020\/04\/30\/rust-winrt-public-preview\/\">publikovala<\/a><\/noindex> n\u00e1stroje <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/microsoft\/winrt-rs\">Rust\/WinRT<\/a><\/noindex>, umo\u017e\u0148uj\u00edc\u00ed pou\u017e\u00edvat jazyk Rust pro v\u00fdvoj aplikac\u00ed zalo\u017een\u00fdch na architektu\u0159e <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/Windows_Runtime\">WinRT<\/a><\/noindex> (Windows Runtime). Souvisej\u00edc\u00ed s projektem k\u00f3d <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/microsoft\/winrt-rs\">byla vyd\u00e1na<\/a><\/noindex> je licencov\u00e1n pod MIT licenc\u00ed.<\/p>\n<p>Rust\/WinRT umo\u017e\u0148uje podobn\u011b jako C++\/WinRT vytv\u00e1\u0159et aplikace pomoc\u00ed standardn\u00edch n\u00e1stroj\u016f Rust, co\u017e umo\u017e\u0148uje vol\u00e1n\u00ed jak\u00fdchkoli existuj\u00edc\u00edch nebo budouc\u00edch API WinRT, s pou\u017eit\u00edm k\u00f3du generovan\u00e9ho v re\u00e1ln\u00e9m \u010dase z metadat popisuj\u00edc\u00edch API. Takov\u00e9 v\u00fdzvy API WinRT p\u0159ipom\u00ednaj\u00ed p\u0159ipojen\u00ed dal\u0161\u00edho modulu Rust. Rust\/WinRT m\u016f\u017ee b\u00fdt tak\u00e9 u\u017eite\u010dn\u00fd pro zjednodu\u0161en\u00ed portov\u00e1n\u00ed aplikac\u00ed C++\/WinRT p\u0159i jejich p\u0159ekladu z jazyka C++ na Rust.<\/p>\n<p>D\u00e1le je mo\u017en\u00e9 zm\u00ednit <noindex><a rel=\"nofollow\" href=\"https:\/\/rust-analyzer.github.io\/blog\/2020\/04\/20\/first-release.html\">publikaci<\/a><\/noindex> prvn\u00ed alfa-verzi projektu <noindex><a rel=\"nofollow\" href=\"https:\/\/rust-analyzer.github.io\">rust-analyzer<\/a><\/noindex>, kter\u00fd p\u0159edstavuje nov\u00fd front-end kompil\u00e1toru, optimalizovan\u00fd pro pou\u017eit\u00ed v integrovan\u00fdch v\u00fdvojov\u00fdch prost\u0159ed\u00edch. Projekt je v\u00fdsledkem pr\u00e1ce na rozd\u011blen\u00ed standardn\u00edho kompil\u00e1toru rustc na moduly, kter\u00e9 umo\u017enily vyu\u017e\u00edt p\u0159i vytv\u00e1\u0159en\u00ed rust-analyz\u00e1toru ji\u017e hotov\u00e9 a ov\u011b\u0159en\u00e9 komponenty. Rust-analyz\u00e1tor umo\u017en\u00ed roz\u0161\u00ed\u0159it podporu jazyka Rust v IDE d\u00edky vestav\u011bn\u00e9 implementaci serveru pro podporu programovac\u00edho jazyka na z\u00e1klad\u011b protokolu LSP (Language Server Protocol), stejn\u011b jako podporu &#171;<noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Lazy_evaluation\">lazy<\/a><\/noindex>&#187; a inkrement\u00e1ln\u00ed kompilace. <\/p>\n<p>Rust-analyzer tak\u00e9 podporuje typick\u00e9 funkce LSP server\u016f spojen\u00e9 s anal\u00fdzou s\u00e9mantiky jazyka, jako je zv\u00fdrazn\u011bn\u00ed syntaxy, automatick\u00e9 dokon\u010dov\u00e1n\u00ed k\u00f3du, anal\u00fdzu p\u0159eklep\u016f, ur\u010dov\u00e1n\u00ed p\u0159echod\u016f a vyhled\u00e1v\u00e1n\u00ed odkaz\u016f. Na rozd\u00edl od st\u00e1vaj\u00edc\u00edho LSP serveru  <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/rust-lang\/rls\">RLS<\/a><\/noindex>, Rust-analyzer je postaven na z\u00e1sadn\u011b odli\u0161n\u00e9 architektu\u0159e: RLS spou\u0161t\u00ed kompil\u00e1tor pro cel\u00fd projekt a analyzuje JSON soubor s v\u00fdsledky, zat\u00edmco Rust-analyzer poskytuje proces kompilace, kter\u00fd analyzuje k\u00f3d p\u0159i prov\u00e1d\u011bn\u00ed zm\u011bn a zpracov\u00e1v\u00e1 pouze aktu\u00e1ln\u011b otev\u0159en\u00e9 soubory.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Zdroj: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52854\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Microsoft \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 Rust\/WinRT, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044f\u0437\u044b\u043a Rust \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b WinRT (Windows Runtime). \u0421\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0439 \u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c \u043a\u043e\u0434 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 MIT. Rust\/WinRT \u0434\u0430\u0451\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u0441 C++\/WinRT \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0448\u0442\u0430\u0442\u043d\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f Rust, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u044b\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0438\u043b\u0438 \u0431\u0443\u0434\u0443\u0449\u0438\u0435 API WinRT, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043a\u043e\u0434, \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u043b\u0435\u0442\u0443 \u0438\u0437 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445, [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-80004","post","type-post","status-publish","format-standard","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=\"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Microsoft \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439\" \/>\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\/cs\/blog\/news\/microsoft-predstavil-rust-winrt-dostupen-rust-analyzer-dlya-integraczii-rust-c-ide\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"cs_CZ\" \/>\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\udd47Microsoft \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b Rust\/WinRT. \u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d Rust-analyzer \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 Rust c IDE | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Microsoft \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/cs\/blog\/news\/microsoft-predstavil-rust-winrt-dostupen-rust-analyzer-dlya-integraczii-rust-c-ide\" \/>\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-05-02T05:42:09+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-05-02T05:42:09+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\udd47Microsoft p\u0159edstavil Rust\/WinRT. Rust-analyzer je dostupn\u00fd pro integraci Rust s IDE | ProHoster","description":"Spole\u010dnost Microsoft zve\u0159ejnila n\u00e1stroj","canonical_url":"https:\/\/prohoster.info\/cs\/blog\/news\/microsoft-predstavil-rust-winrt-dostupen-rust-analyzer-dlya-integraczii-rust-c-ide","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"cs_CZ","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\udd47Microsoft \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b Rust\/WinRT. \u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d Rust-analyzer \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 Rust c IDE | ProHoster","og:description":"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Microsoft \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439","og:url":"https:\/\/prohoster.info\/cs\/blog\/news\/microsoft-predstavil-rust-winrt-dostupen-rust-analyzer-dlya-integraczii-rust-c-ide","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-05-02T05:42:09+00:00","article:modified_time":"2020-05-02T05:42:09+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"80004","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 16:27:12","updated":"2022-09-29 18:52:27","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/80004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/comments?post=80004"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/80004\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/media?parent=80004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/categories?post=80004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/tags?post=80004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}