{"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\/lv\/blog\/news\/microsoft-predstavil-rust-winrt-dostupen-rust-analyzer-dlya-integraczii-rust-c-ide","title":{"rendered":"Microsoft ir ieviesis Rust\/WinRT. Pieejams Rust-analyzer integr\u0101cijai ar IDE","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Uz\u0146\u0113mums Microsoft <noindex><a rel=\"nofollow\" href=\"https:\/\/blogs.windows.com\/windowsdeveloper\/2020\/04\/30\/rust-winrt-public-preview\/\">ir public\u0113jis<\/a><\/noindex> r\u012bkkopa <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/microsoft\/winrt-rs\">Rust\/WinRT<\/a><\/noindex>, kas \u013cauj izmantot valodu Rust, lai izstr\u0101d\u0101tu lietojumprogrammas, kas balst\u012btas uz arhitekt\u016bru <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/Windows_Runtime\">WinRT<\/a><\/noindex> (Windows Runtime). Saist\u012bts ar projekta kodu <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/microsoft\/winrt-rs\">public\u0113ts<\/a><\/noindex> ir MIT licences ietvaros.<\/p>\n<p>Rust\/WinRT nodro\u0161ina iesp\u0113ju, l\u012bdz\u012bgi k\u0101 C++\/WinRT, izveidot lietojumprogrammas, izmantojot Rust standarta r\u012bkus, \u013caujot izsaukt jebkuras eso\u0161as vai n\u0101kotnes WinRT API, izmantojot kodu, kas dinamiski \u0123ener\u0113ts no metadatiem, kas apraksta API. \u0160\u0101das WinRT API izsaukumi atg\u0101dina Rust papildmodu\u013ca pievieno\u0161anu. Rust\/WinRT var ar\u012b pal\u012bdz\u0113t vienk\u0101r\u0161ot C++\/WinRT lietojumprogrammu port\u0113\u0161anu, tulkojot t\u0101s no C++ uz Rust.<\/p>\n<p>Turkl\u0101t j\u0101atz\u012bm\u0113 <noindex><a rel=\"nofollow\" href=\"https:\/\/rust-analyzer.github.io\/blog\/2020\/04\/20\/first-release.html\">publik\u0101cija<\/a><\/noindex> pirmo alfa versiju projekta <noindex><a rel=\"nofollow\" href=\"https:\/\/rust-analyzer.github.io\">rust-analyzer<\/a><\/noindex>, kas ir jauna kompilatora front-end versija, optimiz\u0113ta izmanto\u0161anai integr\u0113taj\u0101s izstr\u0101des vid\u0113s. Projekts ir rezult\u0101ts rustc standarta kompilatora sadal\u012bjumam modu\u013cos, kas \u013c\u0101va izmantot jau sagatavotus un p\u0101rbaud\u012btus komponentus Rust-analyzer izveid\u0113. Rust-analyzer papla\u0161in\u0101s Rust valodas atbalstu IDE, iek\u013caujot ieb\u016bv\u0113tu programm\u0113\u0161anas valodas atbalsta servera \u012bstenojumu, balstoties uz LSP (Language Server Protocol) protokolu, k\u0101 ar\u012b atbalstu \u00ab<noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Lazy_evaluation\">laisko<\/a><\/noindex>\u00bb un inkrement\u0101lo kompil\u0101ciju. <\/p>\n<p>Rust-analyzer ar\u012b atbalsta LSP serveru tipisk\u0101s funkcijas, kas saist\u012btas ar valodas semantikas anal\u012bzi, piem\u0113ram, sintakses izcel\u0161anu, koda autom\u0101tisko pabeig\u0161anu, k\u013c\u016bdu anal\u012bzi, p\u0101reju noteik\u0161anu un saites mekl\u0113\u0161anu. At\u0161\u0137ir\u012bb\u0101 no eso\u0161\u0101 LSP servera  <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/rust-lang\/rls\">RLS<\/a><\/noindex>, Rust-analyzer ir izstr\u0101d\u0101ts uz pamata, piln\u012bgi at\u0161\u0137ir\u012bgas architekt\u016bras: RLS palai\u017e kompilatoru visam projektam un analiz\u0113 JSON failu ar rezult\u0101tiem, bet Rust-analyzer pats nodro\u0161ina kompil\u0101cijas procesu, kas analiz\u0113 kodu, kam\u0113r tiek veiktas izmai\u0146as, un apstr\u0101d\u0101 tikai pa\u0161laik atv\u0113rtos failus.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Avots: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52854\">opennet.lv<\/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.5 - 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\/lv\/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.5\" \/>\n\t\t<meta property=\"og:locale\" content=\"lv_LV\" \/>\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\/lv\/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 ir izlaidusi Rust\/WinRT. Pieejams Rust-analyzer, lai integr\u0113tu Rust ar IDE | ProHoster","description":"Microsoft ir public\u0113jusi r\u012bku komplektu","canonical_url":"https:\/\/prohoster.info\/lv\/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":"lv_LV","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\/lv\/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\/lv\/wp-json\/wp\/v2\/posts\/80004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/comments?post=80004"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/posts\/80004\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/media?parent=80004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/categories?post=80004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/tags?post=80004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}