{"id":345367,"date":"2023-02-13T09:02:50","date_gmt":"2023-02-13T09:02:50","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=345367"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=345367","title":{"rendered":"<span>\u041f\u043e\u0448\u0430\u0433\u043e\u0432\u0430\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0430, inline-\u043c\u0435\u0442\u043e\u0434\u044b, JVM<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/jw\/rb\/v4\/jwrbv4g8vtryf3-pb1w1j3terw8.png\" data-src=\"https:\/\/habrastorage.org\/webt\/jw\/rb\/v4\/jwrbv4g8vtryf3-pb1w1j3terw8.png\"\/><\/p>\n<p>  \u0412 Java, \u043a\u0430\u043a \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, inline-\u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u043d\u0435\u0442. \u041d\u043e \u0442\u0430\u043a\u043e\u0435 \u043f\u043e\u043d\u044f\u0442\u0438\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u044f\u0437\u044b\u043a\u0430\u0445, \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0438\u0445\u0441\u044f \u043d\u0430 JVM. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 Scala \u0438\u043b\u0438 Kotlin. \u0412\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0432\u044b\u0437\u043e\u0432 \u0442\u0430\u043a\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u0435\u0433\u043e \u0442\u0435\u043b\u043e, \u043a\u0430\u043a \u0435\u0441\u043b\u0438 \u0431\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0432\u0440\u0443\u0447\u043d\u0443\u044e.<\/p>\n<p>  \u041f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0441\u0430\u0445\u0430\u0440\u0430 \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043d\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u043e\u0432 (DSL) \u043c\u0430\u043b\u043e\u0439 \u0446\u0435\u043d\u043e\u0439, \u043d\u043e \u043a\u0430\u043a \u044d\u0442\u043e \u0432\u0441\u0451 \u043e\u0442\u043b\u0430\u0436\u0438\u0432\u0430\u0442\u044c?<\/p>\n<p>  \u0421 \u0442\u0435\u043c, \u043a\u0430\u043a\u0438\u0435 \u0443\u0445\u0438\u0449\u0440\u0435\u043d\u0438\u044f \u043f\u043e\u043c\u043e\u0433\u0430\u044e\u0442 \u043d\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u044c \u0440\u0430\u0441\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438 \u0435\u0451 \u0431\u0430\u0439\u0442\u043a\u043e\u0434\u0430 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0438 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0412 \u044d\u0442\u043e\u043c \u0441\u0435\u0437\u043e\u043d\u0435 \u0432 \u043c\u043e\u0434\u0435 Kotlin, \u0442\u0430\u043a \u0447\u0442\u043e \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0435\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u0435. \u0414\u043b\u044f \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432 \u0432\u043e\u0437\u044c\u043c\u0451\u043c \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0438\u0439, \u0432\u0441\u0435\u0433\u043e 17 \u0441\u0442\u0440\u043e\u043a, \u043f\u0440\u0438\u043c\u0435\u0440 \u0441 \u0432\u044b\u0437\u043e\u0432\u043e\u043c inline-\u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0449\u0435\u0439 \u043b\u044f\u043c\u0431\u0434\u0443 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430.<\/p>\n<pre><code class=\"kotlin\">fun main() {     println(\">> main()\")     inlineMethod(true) {         println(\"\\t\\tLambda function executed.\")     }     println(\"&lt;&lt; main()\") }  inline fun inlineMethod(flag: Boolean, body: () -> Unit) {     println(\"\\t>> inlineMethod()\")     if (flag) {         body()     }     println(\"\\t&lt;&lt; inlineMethod()\") }  <\/code><\/pre>\n<p>  \u0414\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u0432 class-\u0444\u0430\u0439\u043b \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u043c\u043e\u0436\u043d\u043e \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0438 inline-\u043c\u0435\u0442\u043e\u0434 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u0430\u044f \u0435\u043c\u0443 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u043b\u044f\u043c\u0431\u0434\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u044b\u043b\u0438 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u0432 \u0442\u0435\u043b\u043e \u043c\u0435\u0442\u043e\u0434\u0430 <code>main()<\/code>. \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0447\u0442\u0435\u043d\u0438\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0431\u0430\u0439\u0442\u043a\u043e\u0434\u0430 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u043a\u0430\u043a \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a \u0441\u0442\u0440\u043e\u043a\u0430\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u043d\u0430 Kotlin.<\/p>\n<pre><code class=\"kotlin\">fun main() {     println(\">> main()\") \/\/  0: ldc           #8                  \/\/ String >> main()  \/\/  2: getstatic     #14                 \/\/ Field java\/lang\/System.out:Ljava\/io\/PrintStream;  \/\/  5: swap  \/\/  6: invokevirtual #20                 \/\/ Method java\/io\/PrintStream.println:(Ljava\/lang\/Object;)V      inlineMethod(true) { \/\/  9: iconst_1  \/\/ 10: istore_0  \/\/ 11: iconst_0  \/\/ 12: istore_1      println(\"\\t>> inlineMethod()\") \/\/ 13: ldc           #22                 \/\/ String \\t>> inlineMethod()  \/\/ 15: getstatic     #14                 \/\/ Field java\/lang\/System.out:Ljava\/io\/PrintStream;  \/\/ 18: swap  \/\/ 19: invokevirtual #20                 \/\/ Method java\/io\/PrintStream.println:(Ljava\/lang\/Object;)V      if (flag) { \/\/ 22: nop          body() \/\/ 23: iconst_0  \/\/ 24: istore_2          println(\"\\t\\tLambda function executed.\") \/\/ 25: ldc           #24                 \/\/ String \\t\\tLambda function executed.  \/\/ 27: getstatic     #14                 \/\/ Field java\/lang\/System.out:Ljava\/io\/PrintStream;  \/\/ 30: swap  \/\/ 31: invokevirtual #20                 \/\/ Method java\/io\/PrintStream.println:(Ljava\/lang\/Object;)V      } \/\/ 34: nop  \/\/ 35: nop      println(\"\\t&lt;&lt; inlineMethod()\") \/\/ 36: ldc           #26                 \/\/ String \\t&lt;&lt; inlineMethod()  \/\/ 38: getstatic     #14                 \/\/ Field java\/lang\/System.out:Ljava\/io\/PrintStream;  \/\/ 41: swap  \/\/ 42: invokevirtual #20                 \/\/ Method java\/io\/PrintStream.println:(Ljava\/lang\/Object;)V  } \/\/ 45: nop      println(\"&lt;&lt; main()\") \/\/ 46: ldc           #28                 \/\/ String &lt;&lt; main()  \/\/ 48: getstatic     #14                 \/\/ Field java\/lang\/System.out:Ljava\/io\/PrintStream;  \/\/ 51: swap  \/\/ 52: invokevirtual #20                 \/\/ Method java\/io\/PrintStream.println:(Ljava\/lang\/Object;)V  } \/\/ 55: return  <\/code><\/pre>\n<p>  \u0421\u0430\u043c\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u043a\u0430\u043a \u0441 \u044d\u0442\u0438\u043c \u0441\u043f\u0440\u0430\u0432\u0438\u0442\u0441\u044f \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a.<br \/>  <a href=\"https:\/\/docs.oracle.com\/javase\/8\/docs\/technotes\/tools\/windows\/jdb.html\" rel=\"nofollow noopener noreferrer\">JDB<\/a>, \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0439 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a \u0438\u0437 \u0441\u043e\u0441\u0442\u0430\u0432\u0430 JDK, \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u043d\u0430\u0435\u0442 \u043d\u0438 \u043f\u0440\u043e Kotlin, \u043d\u0438 \u043f\u0440\u043e <nobr>inline-\u043c\u0435\u0442\u043e\u0434\u044b<\/nobr>, \u0430 \u043f\u043e\u0442\u043e\u043c\u0443 \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>  \u0417\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u043e\u0442\u043b\u0430\u0434\u043a\u0443.<\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">jdb -classpath \u2026 -sourcepath \u2026 SimpleInlineKt<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"plaintext\">Initializing jdb ... > stop at SimpleInlineKt:3 Deferring breakpoint SimpleInlineKt:3. It will be set after the class is loaded. > run run SimpleInlineKt Set uncaught java.lang.Throwable Set deferred uncaught java.lang.Throwable >  VM Started: Set deferred breakpoint SimpleInlineKt:3  Breakpoint hit: \"thread=main\", SimpleInlineKt.main(), line=3 bci=0 3        println(\">> main()\")  main[1] step >  >> main()  Step completed: \"thread=main\", SimpleInlineKt.main(), line=4 bci=9 4        inlineMethod(true) {  main[1] step >  Step completed: \"thread=main\", SimpleInlineKt.main(), line=11 bci=13 11        println(\"\\t>> inlineMethod()\")  main[1] step >  >> inlineMethod()  Step completed: \"thread=main\", SimpleInlineKt.main(), line=12 bci=22 12        if (flag) {  main[1] step >  Step completed: \"thread=main\", SimpleInlineKt.main(), line=13 bci=23 13            body()  main[1] step >  Step completed: \"thread=main\", SimpleInlineKt.main(), line=5 bci=25 5            println(\"\\t\\tLambda function executed.\")  main[1] step >  Lambda function executed.  Step completed: \"thread=main\", SimpleInlineKt.main(), line=6 bci=34 6        }  main[1] step >  Step completed: \"thread=main\", SimpleInlineKt.main(), line=13 bci=35 13            body()  main[1] step >  Step completed: \"thread=main\", SimpleInlineKt.main(), line=15 bci=36 15        println(\"\\t&lt;&lt; inlineMethod()\")  main[1] step >  &lt;&lt; inlineMethod()  Step completed: \"thread=main\", SimpleInlineKt.main(), line=16 bci=45 16    }  main[1] step >  Step completed: \"thread=main\", SimpleInlineKt.main(), line=7 bci=46 7        println(\"&lt;&lt; main()\")  main[1] step >  &lt;&lt; main()  Step completed: \"thread=main\", SimpleInlineKt.main(), line=8 bci=55 8    }  main[1] step >  Step completed: \"thread=main\", SimpleInlineKt.main(), line=-1 bci=3  main[1] step > The application exited <\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  \u0415\u0441\u043b\u0438 \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0437\u0430 \u0441\u043a\u043e\u0431\u043a\u0430\u043c\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u044f \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435, \u0442\u043e \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u0447\u043d\u043e \u0442\u0430\u043a \u0436\u0435, \u043a\u0430\u043a \u0438 \u0432 IDE \u043e\u0442 JetBrains. \u041c\u044b \u043f\u043e\u0441\u0435\u0449\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438, \u0432 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435. Inline-\u043c\u0435\u0442\u043e\u0434\u044b \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0443 \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u043c\u0435\u0448\u0430\u044e\u0442.<\/p>\n<h1>\u0413\u043b\u0443\u0431\u0436\u0435 \u0432 class-\u0444\u0430\u0439\u043b<\/h1>\n<p>  \u041a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043b \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u0441 jdb, \u0432\u0441\u044f \u043d\u0443\u0436\u043d\u0430\u044f \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0443\u0436\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0432 class-\u0444\u0430\u0439\u043b\u0435. \u0418\u0437\u0443\u0447\u0438\u043c \u0435\u0433\u043e \u043f\u0440\u0438\u0441\u0442\u0430\u043b\u044c\u043d\u0435\u0435, \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u0434\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440\u0430 <a href=\"https:\/\/docs.oracle.com\/en\/java\/javase\/17\/docs\/specs\/man\/javap.html\" rel=\"nofollow noopener noreferrer\">javap<\/a> \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e.<\/p>\n<p>  \u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <code>javap -c -v SimpleInlineKt.class<\/code> \u043f\u043e\u043c\u0438\u043c\u043e \u0431\u0430\u0439\u0442\u043a\u043e\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0443\u0436\u0435 \u0432\u0438\u0434\u0435\u043b\u0438 \u0440\u0430\u043d\u0435\u0435, \u043c\u044b \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>  \u041f\u0435\u0440\u0432\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u0441\u0442\u0440\u0430\u043d\u043d\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u0441\u0442\u0440\u043e\u043a:<\/p>\n<pre><code class=\"plaintext\">      LineNumberTable:         line 3: 0         line 4: 9         line 18: 13         line 19: 22         line 20: 23         line 5: 25         line 6: 34         line 20: 35         line 22: 36         line 23: 45         line 7: 46         line 8: 55 <\/code><\/pre>\n<p>  \u042d\u0442\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0437\u0430\u0434\u0430\u0451\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435\u043c \u0432 \u0431\u0430\u0439\u0442\u043a\u043e\u0434\u0435 \u0438 \u043d\u043e\u043c\u0435\u0440\u043e\u043c \u0441\u0442\u0440\u043e\u043a\u0438. \u041a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u043d\u043e\u043c\u0435\u0440\u0430 \u0441\u0442\u0440\u043e\u043a \u0432 \u043d\u0435\u0439 \u0438\u0434\u0443\u0442 \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443, \u0447\u0442\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u043e. \u041c\u0435\u0436\u0434\u0443 \u0447\u0435\u0442\u0432\u0451\u0440\u0442\u043e\u0439 \u0438 \u043f\u044f\u0442\u043e\u0439 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u0441\u0442\u0440\u043e\u043a\u0438 18, 19 \u0438 20, \u0430 \u043c\u0435\u0436\u0434\u0443 \u0448\u0435\u0441\u0442\u043e\u0439 \u0438 \u0441\u0435\u0434\u044c\u043c\u043e\u0439 \u2014 \u0441\u0442\u0440\u043e\u043a\u0438 20, 22 \u0438 23.<\/p>\n<p>  \u0412\u0442\u043e\u0440\u0430\u044f \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u2014 \u0430\u0442\u0442\u0440\u0438\u0431\u0443\u0442 <code>SourceDebugExtension<\/code>:<\/p>\n<pre><code class=\"plaintext\">SourceDebugExtension:   SMAP   SimpleInline.kt   Kotlin   *S Kotlin   *F   + 1 SimpleInline.kt   SimpleInlineKt   *L   1#1,17:1   11#1,6:18   *S KotlinDebug   *F   + 1 SimpleInline.kt   SimpleInlineKt   *L   4#1:18,6   *E <\/code><\/pre>\n<p>  \u0418\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e\u0442 \u0430\u0442\u0442\u0440\u0438\u0431\u0443\u0442 \u2014 \u043a\u043b\u044e\u0447 \u043a \u0440\u0430\u0437\u0433\u0430\u0434\u043a\u0435.<\/p>\n<p>  \u041e\u043d \u0431\u044b\u043b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 <a href=\"https:\/\/jakarta.ee\/specifications\/debugging\/2.0\/jdsol-spec-2.0.html\" rel=\"nofollow noopener noreferrer\">JSR-045: Debugging Support for Other Languages<\/a> (\u00ab\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u044f\u0437\u044b\u043a\u043e\u0432\u00bb). \u0412 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u043b\u043e\u0441\u044c \u0440\u0430\u0434\u0438 Java2EE \u0438 Java Server Pages, \u043f\u043e\u043c\u043d\u0438\u0442\u0435 \u0442\u0430\u043a\u0438\u0435 \u0430\u0431\u0431\u0440\u0435\u0432\u0438\u0430\u0442\u0443\u0440\u044b?<\/p>\n<p>  \u041f\u0440\u0438 \u0435\u0433\u043e \u043f\u043e\u043c\u043e\u0449\u0438 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u0441\u0442\u0440\u043e\u043a, \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u0432 class-\u0444\u0430\u0439\u043b\u0435 \u0432 \u043f\u0430\u0440\u044b (\u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430, \u043d\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0441\u0442\u0440\u043e\u043a\u0438).<\/p>\n<p>  \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a \u043f\u043e \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u044e \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0431\u0430\u0439\u0442\u043e\u0434\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043d\u043e\u043c\u0435\u0440 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0441\u0442\u0440\u043e\u043a\u0438. \u0417\u0430\u0442\u0435\u043c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0438\u0437 \u0430\u0442\u0442\u0440\u0438\u0431\u0443\u0442\u0430 <code>SourceDebugExtension<\/code>, \u044d\u0442\u043e\u0442 \u043d\u043e\u043c\u0435\u0440 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u0442\u0441\u044f \u0432 \u043f\u0430\u0440\u0443 (\u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430, \u043d\u043e\u043c\u0435\u0440 \u0441\u0442\u0440\u043e\u043a\u0438). \u0418 \u0443\u0436\u0435 \u044d\u0442\u0443 \u0441\u0442\u0440\u043e\u043a\u0443 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043a\u0430\u043a \u0442\u0435\u043a\u0443\u0449\u0443\u044e.<\/p>\n<p>  \u041a\u0430\u043a \u043a\u0442\u043e-\u0442\u043e \u0441\u043a\u0430\u0437\u0430\u043b, \u00ab\u0432\u0441\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0440\u0435\u0448\u0430\u044e\u0442\u0441\u044f \u043f\u0443\u0442\u0451\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f \u043a\u043e\u0441\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u0438\u00bb.<\/p>\n<h1>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435<\/h1>\n<p>  \u0412\u043d\u0430\u0447\u0430\u043b\u0435 \u0438\u0434\u0451\u0442 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u2014 \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440\u0430 <code>SMAP<\/code>, \u0438\u043c\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430, \u0438\u043c\u044f \u043d\u0430\u0431\u043e\u0440\u0430 \u043f\u0440\u0430\u0432\u0438\u043b \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. \u0412 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u0445 JSR-045 \u043d\u0430\u0431\u043e\u0440 \u043f\u0440\u0430\u0432\u0438\u043b \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u00ab\u0441\u043b\u043e\u0439\u00bb (Stratum).<\/p>\n<pre><code class=\"plaintext\">  SMAP   SimpleInline.kt   Kotlin <\/code><\/pre>\n<p>  \u0417\u0430\u0442\u0435\u043c \u0438\u0434\u0451\u0442 \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0446\u0438\u044f \u0441\u043b\u043e\u044f \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u00abKotlin\u00bb.<\/p>\n<pre><code class=\"plaintext\">  *S Kotlin <\/code><\/pre>\n<p>  \u041d\u0430\u0448 inline-\u043c\u0435\u0442\u043e\u0434 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d \u0432 \u0442\u043e\u043c \u0436\u0435 \u0444\u0430\u0439\u043b\u0435, \u0447\u0442\u043e \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0438 \u043f\u043e\u0442\u043e\u043c\u0443 \u0432 \u0441\u0435\u043a\u0446\u0438\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u0443 \u043d\u0430\u0441 \u0440\u043e\u0432\u043d\u043e \u043e\u0434\u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c, \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u044e\u0449\u0430\u044f \u0444\u0430\u0439\u043b\u0443 <code>SimpleInline.kt<\/code> \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 <code>1<\/code>.<\/p>\n<pre><code class=\"plaintext\">  *F   + 1 SimpleInline.kt   SimpleInlineKt <\/code><\/pre>\n<p>  \u0412 \u0441\u0435\u043a\u0446\u0438\u0438 \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u0441\u0442\u0440\u043e\u043a \u0443 \u043d\u0430\u0441 \u0434\u0432\u0435 \u0437\u0430\u043f\u0438\u0441\u0438:<\/p>\n<pre><code class=\"plaintext\">  *L   1#1,17:1   11#1,6:18 <\/code><\/pre>\n<p>  <\/p>\n<ul>\n<li>\u041f\u0435\u0440\u0432\u044b\u0435 17 \u0441\u0442\u0440\u043e\u043a \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u0441 \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u0441\u0442\u0440\u043e\u043a \u0432 class-\u0444\u0430\u0439\u043b\u0435 \u043d\u0430 \u043d\u043e\u043c\u0435\u0440\u0430 \u0441\u0442\u0440\u043e\u043a \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u043e\u0434\u0438\u043d-\u043a-\u043e\u0434\u043d\u043e\u043c\u0443.<\/li>\n<li>\u00ab\u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435\u00bb \u0441\u0442\u0440\u043e\u043a\u0438 \u0432 class-\u0444\u0430\u0439\u043b\u0435 \u0441 18 \u043f\u043e 23 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0438 \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0446\u0438\u0438 inline-\u043c\u0435\u0442\u043e\u0434\u0430 \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435<\/li>\n<\/ul>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0446\u0438\u044f \u0441\u043b\u043e\u044f \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f. <\/p>\n<p>  \u0414\u0430\u043b\u044c\u0448\u0435 \u0438\u0434\u0451\u0442 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u043b\u043e\u0439 <code>KotlinDebug<\/code>, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 \u0432 IntelliJ IDEA \u0434\u043b\u044f \u0440\u0435\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0441\u0442\u0435\u043a\u0430 \u0432\u044b\u0437\u043e\u0432\u043e\u0432 \u0441 \u0443\u0447\u0451\u0442\u043e\u043c inline-\u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043d\u043e \u0434\u043b\u044f \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u043e\u0439 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u043e\u043d \u043d\u0435 \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u043d. \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0438\u0435\u0441\u044f \u0434\u0435\u0442\u0430\u043b\u044f\u043c\u0438 \u043c\u043e\u0433\u0443\u0442 \u043d\u0430\u0439\u0442\u0438 \u0438\u0445 \u0432 <a href=\"\/plugins\/kotlin\/jvm-debugger\/core\/src\/org\/jetbrains\/kotlin\/idea\/debugger\/stackFrame\/InlineStackTraceCalculator.kt\">InlineStackTraceCalculator.kt<\/a>.<\/p>\n<pre><code class=\"plaintext\">  *S KotlinDebug   *F   + 1 SimpleInline.kt   SimpleInlineKt   *L   4#1:18,6 <\/code><\/pre>\n<p>  \u041e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u043c\u0430\u0440\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0441\u0435\u043a\u0446\u0438\u0435\u0439 <code>*E<\/code>:<\/p>\n<pre><code class=\"plaintext\">  *E <\/code><\/pre>\n<p>  <\/p>\n<h1>\u0410 \u0447\u0442\u043e \u0442\u0430\u043c \u0441\u043e Scala?<\/h1>\n<p>  \u0412 2017 \u0433\u043e\u0434\u0443 \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430\u0434 \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e\u043c \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u043f\u043e\u0434 \u043d\u043e\u043c\u0435\u0440\u043e\u043c <a href=\"https:\/\/github.com\/scalacenter\/advisoryboard\/blob\/main\/proposals\/011-debugging-symbols.md\" rel=\"nofollow noopener noreferrer\">SCP-011<\/a>:  <\/p>\n<blockquote><p>A major criticism of Scala is that the debugging experience is poor compared to Java. The main reason for this is because Scala&#8217;s representation as JVM bytecode is not always intuitive. Although visual debuggers (Scala IDE, IntelliJ and ENSIME) are able to hide much of the demangling detail from the developer, there remains a great deal of ambiguity regarding the block of code that is executing.  <\/p><\/blockquote>\n<p>  \u0412 2019 \u0433\u043e\u0434\u0443 \u043f\u0440\u043e \u044d\u0442\u043e \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u043b\u0438 \u0432\u043d\u043e\u0432\u044c \u0438 \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 <a href=\"https:\/\/github.com\/scalacenter\/advisoryboard\/blob\/main\/proposals\/022-jsr-45.md\" rel=\"nofollow noopener noreferrer\">SCP-022<\/a>:  <\/p>\n<blockquote><p>This is a proposal to prioritize the completion of SCP-11. To reduce the scope of SCP-11, this proposal suggests to focus only contributing JSR-45 support to the Scala 2 compiler.  <\/p><\/blockquote>\n<p>  \u0412 \u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435 2020 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f <a href=\"https:\/\/github.com\/scala\/scala\/pull\/9121\" rel=\"nofollow noopener noreferrer\">Pull Request #9121<\/a> \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u044d\u0442\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0432 Scala 2.13.x, \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u043d \u043d\u0435\u043a\u0438\u0439 \u043e\u0431\u044a\u0451\u043c \u0440\u0430\u0431\u043e\u0442, \u043d\u043e \u0432\u0441\u0451 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u043e\u0441\u044c \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0435\u043c PR \u0432 2021 \u0433\u043e\u0434\u0443 \u043f\u043e \u043d\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>  \u0421\u0435\u0439\u0447\u0430\u0441 \u043e\u0442\u043a\u0440\u044b\u0442 <a href=\"https:\/\/github.com\/lampepfl\/dotty\/pull\/15684\" rel=\"nofollow noopener noreferrer\">PR #15684<\/a>, \u043d\u0430\u0446\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u043d\u0430 Scala 3:  <\/p>\n<blockquote><p>Rebase of #11492 to the latest main. At Scala Center, we&#8217;re planning to bring this over the finish line.  <\/p><\/blockquote>\n<p>  \u041f\u043e\u0436\u0435\u043b\u0430\u0435\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c \u043f\u043e\u0440\u0432\u0430\u0442\u044c \u0444\u0438\u043d\u0438\u0448\u043d\u0443\u044e \u043b\u0435\u043d\u0442\u0443 \u044d\u0442\u043e\u0433\u043e \u0441\u0435\u043c\u0438\u043b\u0435\u0442\u043d\u0435\u0433\u043e \u0441\u0443\u043f\u0435\u0440\u043c\u0430\u0440\u0430\u0444\u043e\u043d\u0430.<\/p>\n<h1>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h1>\n<p>  \u0412 Kotlin \u0435\u0441\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 inline-\u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0438 \u0434\u043b\u044f \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0442\u0430\u043a\u0438\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0438\u0437\u044f\u0449\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0441 \u00ab\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438\u00bb \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438. \u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u044e\u0442\u0441\u044f \u0431\u0430\u0439\u0442\u043a\u043e\u0434\u0443 \u0437\u0430\u0438\u043d\u043b\u0430\u0439\u043d\u0435\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438 \u0437\u0430\u0442\u0435\u043c \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 JSR-045, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u043e\u0439 \u0432 \u0434\u0430\u043b\u0451\u043a\u0438\u0445 \u043d\u0443\u043b\u0435\u0432\u044b\u0445 \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 Java 2 Enterprise Edition. <\/p>\n<p>  \u0412 \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u043d\u0430 Kotlin \u0435\u0441\u0442\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u042b\u043d\u044b\u0440\u043f\u0440\u0430\u0439\u0437\u0430.<\/p><\/div>\n<\/div>\n<\/div>\n<p> <!----> <!----><\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/716426\/\"> https:\/\/habr.com\/ru\/post\/716426\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/jw\/rb\/v4\/jwrbv4g8vtryf3-pb1w1j3terw8.png\" data-src=\"https:\/\/habrastorage.org\/webt\/jw\/rb\/v4\/jwrbv4g8vtryf3-pb1w1j3terw8.png\"\/><\/p>\n<p>  \u0412 Java, \u043a\u0430\u043a \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, inline-\u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u043d\u0435\u0442. \u041d\u043e \u0442\u0430\u043a\u043e\u0435 \u043f\u043e\u043d\u044f\u0442\u0438\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u044f\u0437\u044b\u043a\u0430\u0445, \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0438\u0445\u0441\u044f \u043d\u0430 JVM. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 Scala \u0438\u043b\u0438 Kotlin. \u0412\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0432\u044b\u0437\u043e\u0432 \u0442\u0430\u043a\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u0435\u0433\u043e \u0442\u0435\u043b\u043e, \u043a\u0430\u043a \u0435\u0441\u043b\u0438 \u0431\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0432\u0440\u0443\u0447\u043d\u0443\u044e.<\/p>\n<p>  \u041f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0441\u0430\u0445\u0430\u0440\u0430 \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043d\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u043e\u0432 (DSL) \u043c\u0430\u043b\u043e\u0439 \u0446\u0435\u043d\u043e\u0439, \u043d\u043e \u043a\u0430\u043a \u044d\u0442\u043e \u0432\u0441\u0451 \u043e\u0442\u043b\u0430\u0436\u0438\u0432\u0430\u0442\u044c?<\/p>\n<p>  \u0421 \u0442\u0435\u043c, \u043a\u0430\u043a\u0438\u0435 \u0443\u0445\u0438\u0449\u0440\u0435\u043d\u0438\u044f \u043f\u043e\u043c\u043e\u0433\u0430\u044e\u0442 \u043d\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u044c \u0440\u0430\u0441\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438 \u0435\u0451 \u0431\u0430\u0439\u0442\u043a\u043e\u0434\u0430 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0438 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-345367","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/345367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=345367"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/345367\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=345367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=345367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=345367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}