{"id":92147,"date":"2020-08-23T19:42:34","date_gmt":"2020-08-23T17:42:34","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vyshel-kotlin-1-4"},"modified":"2020-08-23T19:42:34","modified_gmt":"2020-08-23T17:42:34","slug":"vyshel-kotlin-1-4","status":"publish","type":"post","link":"https:\/\/prohoster.info\/lv\/blog\/news\/vyshel-kotlin-1-4","title":{"rendered":"Izn\u0101ca Kotlin 1.4","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>\u0160eit ir, kas iek\u013cauts Kotlin 1.4.0:<\/p>\n<ul>\n<noindex><\/p>\n<li><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#new-more-powerful-type-inference-algorithm\">Noklus\u0113juma re\u017e\u012bm\u0101 ir iek\u013cauts jauns, jaud\u012bg\u0101ks tipu izvad\u012b\u0161anas algoritms. Tas autom\u0101tiski nosaka tipus vair\u0101kos gad\u012bjumos, atbalsta smart-cast pat sare\u017e\u0123\u012bt\u0101s situ\u0101cij\u0101s, lab\u0101k apstr\u0101d\u0101 dele\u0123\u0113t\u0101s \u012bpa\u0161\u012bbas un daudz ko citu.<\/a><\/li>\n<p><\/noindex><\/p>\n<li><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#unified-backends-and-extensibility\">Jauni IR aizmugur\u0113jie meh\u0101nismi JVM un JS ir pieejami alfa re\u017e\u012bm\u0101. P\u0113c stabiliz\u0101cijas tie tiks izmantoti noklus\u0113juma re\u017e\u012bm\u0101.<\/a><\/li>\n<\/ul>\n<p>Kotlin 1.4 ir daudz jauna:<\/p>\n<ul>\n<li><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#sam-conversions-for-kotlin-interfaces\">SAM p\u0101rveidojumi Kotlin saskarn\u0113m<\/a><\/li>\n<li><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#explicit-api-mode-for-library-authors\">P\u0101rskat\u0101mas API re\u017e\u012bms bibliot\u0113ku autoriem<\/a><\/li>\n<li><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#mixing-named-and-positional-arguments\">Jauktie nosauktie un pozicion\u0101lie argumenti<\/a><\/li>\n<li><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#trailing-comma\">Pabeig\u0161anas komats<\/a><\/li>\n<li><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#callable-reference-improvements\">Uzlabojumi callable atsauc\u0113m<\/a><\/li>\n<li><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#using-break-and-continue-inside-when-expressions-included-in-loops\">Break un continue izmanto\u0161ana when ciklos<\/a><\/li>\n<\/ul>\n<p>Uzlabojumi standarta bibliot\u0113kai:<\/p>\n<p><noindex><\/p>\n<p>Galvenais virziens, uz kuru tiek str\u0101d\u0101ts standarta bibliot\u0113k\u0101 Kotlin, ir uzlabot vienot\u012bbu gan da\u017e\u0101d\u0101s platform\u0101s, gan starp pa\u0161\u0101m oper\u0101cij\u0101m. \u0160aj\u0101 laidien\u0101 standarta bibliot\u0113kai ir pievienoti jauni <a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#new-functions-for-arrays-and-collections\">kolekciju oper\u0101tori<\/a>, <a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#delegated-properties-improvements\">uzlabojumi dele\u0123\u0113taj\u0101m \u012bpa\u0161\u012bb\u0101m<\/a>, <a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#arraydeque\">divvirzienu mas\u012bva rinda ArrayDeque realiz\u0101cija<\/a> un <a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#standard-library\">daudz ko citu<\/a>.<\/p>\n<p><\/noindex><\/p>\n<p>Turkl\u0101t vairs nav nepiecie\u0161ams deklar\u0113t atkar\u012bbu no stdlib<br \/>\nGradle-Kotlin projektos, neatkar\u012bgi no t\u0101, vai izstr\u0101d\u0101jat vienai platformai vai veidojat daudzplatformu projektu. S\u0101kot ar Kotlin 1.4.0, \u0161\u012b atkar\u012bba tiek pievienota noklus\u0113juma re\u017e\u012bm\u0101.<\/p>\n<p>Darbs turpin\u0101s ar\u012b pie citiem Kotlin ekosist\u0113mas elementiem:<\/p>\n<ul>\n<li><a rel=\"nofollow\" href=\"https:\/\/github.com\/Kotlin\/kotlinx.coroutines\">kotlinx.coroutines<\/a><\/li>\n<li><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/serialization.html\">S\u0113rijas bibliot\u0113ka<\/a> tuvojas nobrie\u0161anas st\u0101voklim. Iepaz\u012bstin\u0101ts ar <a rel=\"nofollow\" href=\"https:\/\/github.com\/Kotlin\/kotlinx.serialization\/releases\/tag\/1.0.0-RC\">kotlinx.serialization<\/a> versij\u0101 1.0.0-RC.<\/li>\n<li>Izlaista priek\u0161apskate DateTime API, eksperiment\u0101l\u0101 bibliot\u0113ka <a rel=\"nofollow\" href=\"https:\/\/github.com\/Kotlin\/kotlinx-datetime\">kotlinx-datetime<\/a><\/li>\n<\/ul>\n<p><noindex><\/p>\n<p><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html\">S\u012bk\u0101ka inform\u0101cija<\/a><\/p>\n<p><\/noindex><\/p>\n<p>Aicin\u0101m visus interesentus uz \u010detras dienas ilgu tie\u0161saistes konferenci, kas velt\u012bta Kotlin 1.4!<\/p>\n<p><noindex><\/p>\n<p>Pas\u0101kums tiks p\u0101rraid\u012bts no 12. l\u012bdz 15. oktobrim. Bezmaksas re\u0123istr\u0101cija, izmantojot saiti: <a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/lp\/event-14#registration\">https:\/\/kotlinlang.org\/lp\/event-14#registration<\/a><\/p>\n<p><\/noindex><\/p>\n<p>Avots: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"http:\/\/www.linux.org.ru\/news\/development\/15866825\">linux.org.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412\u043e\u0442 \u0447\u0442\u043e \u0432\u043e\u0448\u043b\u043e \u0432 Kotlin 1.4.0: \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u043a\u043b\u044e\u0447\u0435\u043d \u043d\u043e\u0432\u044b\u0439, \u0431\u043e\u043b\u0435\u0435 \u043c\u043e\u0449\u043d\u044b\u0439 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0432\u044b\u0432\u043e\u0434\u0430 \u0442\u0438\u043f\u043e\u0432. \u041e\u043d \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0442\u0438\u043f\u044b \u0432 \u0431\u043e\u043b\u044c\u0448\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 smart-cast \u0434\u0430\u0436\u0435 \u0432 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f\u0445, \u043b\u0443\u0447\u0448\u0435 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0434\u0435\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u043c\u043d\u043e\u0433\u043e\u0435 \u0434\u0440\u0443\u0433\u043e\u0435. \u041d\u043e\u0432\u044b\u0435 IR-\u0431\u044d\u043a\u0435\u043d\u0434\u044b \u0434\u043b\u044f JVM \u0438 JS \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432 \u0430\u043b\u044c\u0444\u0430-\u0440\u0435\u0436\u0438\u043c\u0435. \u041f\u043e\u0441\u043b\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. \u0412 Kotlin 1.4 [&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-92147","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0412\u043e\u0442 \u0447\u0442\u043e \u0432\u043e\u0448\u043b\u043e \u0432 Kotlin 1.4.0: \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u043a\u043b\u044e\u0447\u0435\u043d \u043d\u043e\u0432\u044b\u0439, \u0431\u043e\u043b\u0435\u0435 \u043c\u043e\u0449\u043d\u044b\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\/vyshel-kotlin-1-4\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\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\udd47\u0412\u044b\u0448\u0435\u043b Kotlin 1.4 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412\u043e\u0442 \u0447\u0442\u043e \u0432\u043e\u0448\u043b\u043e \u0432 Kotlin 1.4.0: \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u043a\u043b\u044e\u0447\u0435\u043d \u043d\u043e\u0432\u044b\u0439, \u0431\u043e\u043b\u0435\u0435 \u043c\u043e\u0449\u043d\u044b\u0439.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/lv\/blog\/news\/vyshel-kotlin-1-4\" \/>\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-08-23T17:42:34+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-08-23T17:42:34+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\udd47Izlaista Kotlin 1.4 | ProHoster","description":"\u0160eit ir, kas iek\u013cauts Kotlin 1.4.0: Noklus\u0113juma re\u017e\u012bm\u0101 ir iek\u013cauts jauns, jaud\u012bg\u0101ks.","canonical_url":"https:\/\/prohoster.info\/lv\/blog\/news\/vyshel-kotlin-1-4","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\udd47\u0412\u044b\u0448\u0435\u043b Kotlin 1.4 | ProHoster","og:description":"\u0412\u043e\u0442 \u0447\u0442\u043e \u0432\u043e\u0448\u043b\u043e \u0432 Kotlin 1.4.0: \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u043a\u043b\u044e\u0447\u0435\u043d \u043d\u043e\u0432\u044b\u0439, \u0431\u043e\u043b\u0435\u0435 \u043c\u043e\u0449\u043d\u044b\u0439.","og:url":"https:\/\/prohoster.info\/lv\/blog\/news\/vyshel-kotlin-1-4","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-08-23T17:42:34+00:00","article:modified_time":"2020-08-23T17:42:34+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"92147","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 12:14:22","updated":"2022-10-09 09:55:22","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\/92147","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=92147"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/posts\/92147\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/media?parent=92147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/categories?post=92147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/tags?post=92147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}