{"id":69424,"date":"2020-02-19T08:45:31","date_gmt":"2020-02-19T05:45:31","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/proekt-deno-razvivaet-zashhishhyonnuyu-javascript-platformu-pohozhuyu-na-node-js"},"modified":"2020-03-03T16:11:16","modified_gmt":"2020-03-03T13:11:16","slug":"proekt-deno-razvivaet-zashhishhyonnuyu-javascript-platformu-pohozhuyu-na-node-js","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/news\/proekt-deno-razvivaet-zashhishhyonnuyu-javascript-platformu-pohozhuyu-na-node-js","title":{"rendered":"\u041f\u0440\u043e\u0435\u043a\u0442 Deno \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442 \u0437\u0430\u0449\u0438\u0449\u0451\u043d\u043d\u0443\u044e JavaScript-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443, \u043f\u043e\u0445\u043e\u0436\u0443\u044e \u043d\u0430 Node.js","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/denoland\/deno\/releases\">Available<\/a><\/noindex> project release <noindex><a rel=\"nofollow\" href=\"https:\/\/deno.land\/\">Deno 0.33<\/a><\/noindex>, offering a platform similar to Node.js for the isolated execution of applications in JavaScript and TypeScript, which can be used to run applications without being tied to a browser, for example, to create server-side handlers. Deno uses the JavaScript engine <noindex><a rel=\"nofollow\" href=\"https:\/\/v8.dev\/\">V8<\/a><\/noindex>, which is also used in Node.js and browsers based on the Chromium project. The project's code <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/denoland\/deno\">is distributed<\/a><\/noindex> is licensed under the MIT license. The project is developed by Ryan Dahl (<noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Ryan_Dahl\">Ryan Dahl<\/a><\/noindex>), the creator of the JavaScript platform Node.js. <\/p>\n<p>One of the main goals of creating a new runtime for JavaScript is to provide a more secure environment. To enhance security, the wrapper around the V8 engine is written in Rust, which helps avoid many vulnerabilities arising from low-level memory handling, such as accessing memory after it has been freed, dereferencing null pointers, and buffer overflows. A non-blocking platform is used for handling requests <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/tokio-rs\/tokio\">Tokio<\/a><\/noindex>, also written in Rust. Tokio allows the creation of high-performance applications based on event-driven architecture, supporting multithreading and asynchronous network request handling.<\/p>\n<p>Key <noindex><a rel=\"nofollow\" href=\"https:\/\/deno.land\/std\/manual.md\">Features<\/a><\/noindex> Deno:<\/p>\n<ul>\n<li class=\"l\"> Focusing on security in the default configuration. File access, network capabilities, and access to environment variables are blocked by default and require explicit enabling;\n<li class=\"l\"> Built-in support for TypeScript in addition to JavaScript;\n<li class=\"l\"> The runtime is provided as a single self-contained executable file (\"deno\"). To run applications using Deno, simply <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/denoland\/deno\/releases\">download<\/a><\/noindex> for its platform has a single executable file, about 10 MB in size, with no external dependencies and does not require any special installation in the system;\n<li class=\"l\"> When launching the program and loading modules, you can use URL addressing. For example, to run the program welcome.js, you can use the command \"deno https:\/\/deno.land\/std\/examples\/welcome.js\". Code from external resources is downloaded and cached on the local system, but is never automatically updated (to refresh, the application must be explicitly started with the flag \"--reload\");\n<li class=\"l\"> Efficient handling of HTTP network requests in applications; the platform is designed for creating high-performance network applications.\n<li class=\"l\"> The ability to create universal web applications that can run both in Deno and in a regular web browser.\n<li class=\"l\"> In addition to the runtime, the Deno platform also acts as a package manager and allows modules to be referenced by URL within the code. For example, to load a module, you can specify in the code \"import * as log from 'https:\/\/deno.land\/std\/log\/mod.ts'. Files loaded from external servers via URL are cached. Version binding for modules is determined by specifying version numbers within the URL, for example, 'https:\/\/unpkg.com\/liltest@0.0.5\/dist\/liltest.js';\n<li class=\"l\"> The system includes a dependency inspection tool (the command \"deno info\") and a utility for formatting code (deno fmt).\n<li class=\"l\"> For application developers <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/denoland\/deno\/tree\/master\/std\">introduced<\/a><\/noindex> a set of standard modules that have undergone additional auditing and compatibility testing;\n<li class=\"l\"> All application scripts can be bundled into a single JavaScript file.\n<\/ul>\n<p> Differences from Node.js:<\/p>\n<ul>\n<li class=\"l\"> Deno does not use the npm package manager<br \/>\n and does not rely on repositories; modules are addressed via URL or file path, and the modules can be hosted on any site;<\/p>\n<li class=\"l\"> In Deno, \"package.json\" is not used to define modules;\n<li class=\"l\"> API differences, all asynchronous actions in Deno return promises;\n<li class=\"l\"> Deno requires explicit permission definitions for files, network access, and environment variables;\n<li class=\"l\"> All errors not equipped with handlers lead to the termination of application execution;\n<li class=\"l\"> In Deno, the ECMAScript module system is used, and require() is not supported.\n<\/ul>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Source: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52387\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Deno 0.33, \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0449\u0435\u0433\u043e \u043f\u043e\u0445\u043e\u0436\u0443\u044e \u043d\u0430 Node.js \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 \u0434\u043b\u044f \u043e\u0431\u043e\u0441\u043e\u0431\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 JavaScript \u0438 TypeScript, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0430 \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0431\u0435\u0437 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0438 \u043a \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0443, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0445 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435. \u0412 Deno \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f JavaScript-\u0434\u0432\u0438\u0436\u043e\u043a V8, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 Node.js \u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Chromium. \u041a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 [&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-69424","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Deno 0.33, \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0449\u0435\u0433\u043e \u043f\u043e\u0445\u043e\u0436\u0443\u044e \u043d\u0430.\" \/>\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\/en\/blog\/news\/proekt-deno-razvivaet-zashhishhyonnuyu-javascript-platformu-pohozhuyu-na-node-js\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\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\u0440\u043e\u0435\u043a\u0442 Deno \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442 \u0437\u0430\u0449\u0438\u0449\u0451\u043d\u043d\u0443\u044e JavaScript-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443, \u043f\u043e\u0445\u043e\u0436\u0443\u044e \u043d\u0430 Node.js | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Deno 0.33, \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0449\u0435\u0433\u043e \u043f\u043e\u0445\u043e\u0436\u0443\u044e \u043d\u0430.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/news\/proekt-deno-razvivaet-zashhishhyonnuyu-javascript-platformu-pohozhuyu-na-node-js\" \/>\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-02-19T05:45:31+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-03-03T13:11:16+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\udd47 The Deno project develops a secure JavaScript platform similar to Node.js | ProHoster","description":"The release of Deno 0.33 is available, offering a similar platform.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/news\/proekt-deno-razvivaet-zashhishhyonnuyu-javascript-platformu-pohozhuyu-na-node-js","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","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\u0440\u043e\u0435\u043a\u0442 Deno \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442 \u0437\u0430\u0449\u0438\u0449\u0451\u043d\u043d\u0443\u044e JavaScript-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443, \u043f\u043e\u0445\u043e\u0436\u0443\u044e \u043d\u0430 Node.js | ProHoster","og:description":"\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Deno 0.33, \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0449\u0435\u0433\u043e \u043f\u043e\u0445\u043e\u0436\u0443\u044e \u043d\u0430.","og:url":"https:\/\/prohoster.info\/en\/blog\/news\/proekt-deno-razvivaet-zashhishhyonnuyu-javascript-platformu-pohozhuyu-na-node-js","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-02-19T05:45:31+00:00","article:modified_time":"2020-03-03T13:11:16+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"69424","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:23:35","updated":"2022-10-07 19:06:34","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/69424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=69424"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/69424\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=69424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=69424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=69424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}