{"id":307224,"date":"2020-07-20T21:00:16","date_gmt":"2020-07-20T21:00:16","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=307224"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=307224","title":{"rendered":"\u041f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c make.c \u043d\u0430 D"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/511806\/\">\n<p><em><a href=\"http:\/\/walterbright.com\/\" rel=\"nofollow\">\u0423\u043e\u043b\u0442\u0435\u0440 \u0411\u0440\u0430\u0439\u0442<\/a> \u2014 \u00ab\u0432\u0435\u043b\u0438\u043a\u043e\u0434\u0443\u0448\u043d\u044b\u0439 \u043f\u043e\u0436\u0438\u0437\u043d\u0435\u043d\u043d\u044b\u0439 \u0434\u0438\u043a\u0442\u0430\u0442\u043e\u0440\u00bb \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f D \u0438 \u043e\u0441\u043d\u043e\u0432\u0430\u0442\u0435\u043b\u044c <a href=\"http:\/\/digitalmars.com\/\" rel=\"nofollow\">Digital Mars<\/a>. \u0417\u0430 \u0435\u0433\u043e \u043f\u043b\u0435\u0447\u0430\u043c\u0438 \u043d\u0435 \u043e\u0434\u0438\u043d \u0434\u0435\u0441\u044f\u0442\u043e\u043a \u043b\u0435\u0442 \u043e\u043f\u044b\u0442\u0430 \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u0432 \u0438 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u043e\u0432 \u0434\u043b\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u044f\u0437\u044b\u043a\u043e\u0432, \u0432 \u0447\u0438\u0441\u043b\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 Zortech C++ \u2014 \u043f\u0435\u0440\u0432\u044b\u0439 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 C++. \u041e\u043d \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c \u0438\u0433\u0440\u044b <a href=\"http:\/\/www.classicempire.com\/\" rel=\"nofollow\">Empire<\/a>, \u043f\u043e\u0441\u043b\u0443\u0436\u0438\u0432\u0448\u0435\u0439 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0435\u043d\u0438\u044f \u0434\u043b\u044f Sid Meier\u2019s Civilization.<\/em><\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0426\u0438\u043a\u043b \u0441\u0442\u0430\u0442\u0435\u0439 \u043e Better C<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<ol>\n<li><a href=\"https:\/\/habr.com\/ru\/post\/511334\/\">D \u043a\u0430\u043a \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u043d\u044b\u0439 C<\/a><\/li>\n<li><a href=\"https:\/\/habr.com\/ru\/post\/511560\/\">\u0411\u0430\u0433\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0430\u0437\u0440\u0443\u0448\u0438\u043b\u0438 \u0432\u0430\u0448 \u0437\u0430\u043c\u043e\u043a<\/a><\/li>\n<li><strong>\u041f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c make.c \u043d\u0430 D<\/strong><\/li>\n<\/ol>\n<\/div><\/div>\n<p>  <\/p>\n<p>Better C \u2014 \u044d\u0442\u043e \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0442\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 C \u043d\u0430 \u044f\u0437\u044b\u043a D \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u043d\u0435\u0440\u0435. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u0438 \u043d\u0435\u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438\u0437 C \u0432 D \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0447\u0430\u0441\u0442\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u044e\u0442. <\/p>\n<p>  <\/p>\n<p>\u0425\u043e\u0442\u044f <a href=\"https:\/\/github.com\/dlang\/dmd\" rel=\"nofollow\">\u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 D dmd<\/a> \u0443\u0436\u0435 \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u0432 D, \u044d\u0442\u043e \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442, \u0447\u0442\u043e \u0435\u0433\u043e \u0442\u0440\u0443\u0434\u043d\u043e \u0446\u0435\u043b\u0438\u043a\u043e\u043c \u043e\u0445\u0432\u0430\u0442\u0438\u0442\u044c. \u041c\u043d\u0435 \u0431\u044b\u043b \u043d\u0443\u0436\u0435\u043d \u0431\u043e\u043b\u0435\u0435 \u043c\u0435\u043b\u043a\u0438\u0439 \u0438 \u0441\u043a\u0440\u043e\u043c\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0443\u044f\u0441\u043d\u0438\u0442\u044c, \u043d\u043e \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043d\u0435 \u0431\u044b\u043b \u0443\u043c\u043e\u0437\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c.<\/p>\n<p>  <\/p>\n<p>\u041c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u0430 \u043d\u0430 \u0443\u043c \u0441\u0442\u0430\u0440\u0430\u044f make-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 C <a href=\"https:\/\/en.wikipedia.org\/wiki\/Datalight\" rel=\"nofollow\">Datalight<\/a> \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 1980-\u0445. \u042d\u0442\u043e \u0440\u0435\u0430\u043b\u044c\u043d\u0430\u044f \u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b make, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u0441 \u043d\u0430\u0447\u0430\u043b\u0430 80-\u0445. \u041e\u043d\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u043d\u0430 C \u0435\u0449\u0451 \u0434\u043e \u0435\u0433\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0438\u0437\u0430\u0446\u0438\u0438, \u0431\u044b\u043b\u0430 \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0438\u0437 \u043e\u0434\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432 \u0434\u0440\u0443\u0433\u0443\u044e \u0438 \u0443\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432\u0441\u0435\u0433\u043e \u0432 1961 \u0441\u0442\u0440\u043e\u0447\u043a\u0443 \u043a\u043e\u0434\u0430, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438. \u041e\u043d\u0430 \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f. <\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<p>\u0412\u043e\u0442 <a href=\"https:\/\/digitalmars.com\/ctg\/make.html\" rel=\"nofollow\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/a> \u0438 <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/473bf5bef99a1748d5154b343b986534271cd841#diff-14c44b49b9f46b1aeab33a6684214e55\" rel=\"nofollow\">\u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434<\/a>. \u0420\u0430\u0437\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 make.exe \u2014 49\u2009692 \u0431\u0430\u0439\u0442\u0430, \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e 19\u00a0\u0430\u0432\u0433\u0443\u0441\u0442\u0430\u00a02012 \u0433.<\/p>\n<p>  <\/p>\n<p>\u041d\u0430\u0448 \u0417\u043b\u043e\u0431\u043d\u044b\u0439 \u043f\u043b\u0430\u043d:<\/p>\n<p>  <\/p>\n<ol>\n<li>\u0421\u0432\u0435\u0441\u0442\u0438 \u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c\u0443 diff\u2019\u044b \u043c\u0435\u0436\u0434\u0443 C- \u0438 D-\u0432\u0435\u0440\u0441\u0438\u044f\u043c\u0438. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0435\u0441\u043b\u0438 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f, \u043f\u0440\u043e\u0449\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0439\u0442\u0438 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u044f.<\/li>\n<li>\u0412\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0430 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u043d\u044f\u0442\u043e \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0438\u043b\u0438 \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u043a\u043e\u0434 \u043d\u0430 C. \u042d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0432\u043e \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043f\u0443\u043d\u043a\u0442\u0430 \u2116\u00a01.<\/li>\n<li>\u041d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u043d\u044f\u0442\u043e \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u0440\u0435\u0444\u0430\u043a\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u043a\u043e\u0434\u0430. \u041e\u043f\u044f\u0442\u044c \u0436\u0435, \u0441\u043c. \u043f\u0443\u043d\u043a\u0442 \u2116\u00a01.<\/li>\n<li>\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043d\u0430 C \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044d\u0442\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0431\u0430\u0433\u0430\u043c\u0438.<\/li>\n<li>\u0421\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u0441\u0451, \u0447\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0440\u0430\u0434\u0438 \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0443\u043d\u043a\u0442\u0430 \u2116\u00a04.<\/li>\n<\/ol>\n<p>  <\/p>\n<p>\u0422\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0433\u0434\u0430 \u043c\u044b \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043c, \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u0442\u044c \u043a \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u043c, \u0440\u0435\u0444\u0430\u043a\u0442\u043e\u0440\u0438\u043d\u0433\u0443, \u043f\u043e\u0434\u0447\u0438\u0441\u0442\u043a\u0435 \u0438 \u0442.\u0434.<\/p>\n<p>  <\/p>\n<h1 id=\"spoylery\">\u0421\u043f\u043e\u0439\u043b\u0435\u0440\u044b!<\/h1>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/blob\/1dbd3e3381c8f7f7ab2e35214dcd63455ae38c29\/dm\/src\/make\/dmake.d\" rel=\"nofollow\">\u0417\u0430\u043a\u043e\u043d\u0447\u0435\u043d\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u043d\u043e\u0441 \u0441 C \u043d\u0430 D<\/a>. \u0420\u0430\u0437\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u2014 52\u2009252 \u0431\u0430\u0439\u0442 (\u0441\u0440\u0430\u0432\u043d\u0438\u043c\u043e \u0441 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u043e\u043c \u2014 49\u2009692 \u0431\u0430\u0439\u0442). \u042f \u043d\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435 \u0432 \u0440\u0430\u0437\u043c\u0435\u0440\u0435, \u043d\u043e \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u043e\u043d\u043e \u0432\u0437\u044f\u043b\u043e\u0441\u044c \u0438\u0437-\u0437\u0430 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u043e\u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 NEWOBJ (\u0432 C-\u0432\u0435\u0440\u0441\u0438\u0438 \u044d\u0442\u043e \u043c\u0430\u043a\u0440\u043e\u0441) \u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u0440\u0430\u043d\u0442\u0430\u0439\u043c\u0435 DMC \u043f\u043e\u0441\u043b\u0435 2012 \u0433\u043e\u0434\u0430. <\/p>\n<p>  <\/p>\n<h1 id=\"shag-za-shagom\">\u0428\u0430\u0433 \u0437\u0430 \u0448\u0430\u0433\u043e\u043c<\/h1>\n<p>  <\/p>\n<p>\u0412\u043e\u0442 <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34\" rel=\"nofollow\">\u043e\u0442\u043b\u0438\u0447\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0432\u0435\u0440\u0441\u0438\u044f\u043c\u0438<\/a>. \u0418\u0437\u043c\u0435\u043d\u0438\u043b\u0438\u0441\u044c 664 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438\u0437 1961, \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0440\u0435\u0442\u044c \u2014 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043c\u043d\u043e\u0433\u043e, \u043d\u043e \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u044f \u0441\u043c\u043e\u0433\u0443 \u0432\u0430\u0441 \u0443\u0431\u0435\u0434\u0438\u0442\u044c, \u0447\u0442\u043e \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u043e\u0442\u043b\u0438\u0447\u0438\u044f \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u044b. <\/p>\n<p>  <\/p>\n<p>\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 <code>#include<\/code> \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u043e \u043d\u0430 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 D: \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <code>#include &lt;stdio.h&gt;<\/code> \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u043e \u043d\u0430 <code>import core.stdc.stdio;<\/code>. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b \u0434\u043b\u044f Digital Mars C, \u0438 \u0434\u043b\u044f \u043d\u0438\u0445 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\u0435\u0440\u0441\u0438\u0439 \u043d\u0430 D (\u044d\u0442\u043e \u043d\u0430\u0434\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c). \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u044d\u0442\u043e\u043c, \u044f \u043f\u0440\u043e\u0441\u0442\u043e <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R29\" rel=\"nofollow\">\u0432\u0441\u0442\u0430\u0432\u0438\u043b \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0441 29-\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u043f\u043e 64-\u044e<\/a>. (\u0421\u043c. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u043e <a href=\"https:\/\/dlang.org\/spec\/module.html#import-declaration\" rel=\"nofollow\"><code>\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044e import<\/code><\/a>).<\/p>\n<p>  <\/p>\n<p>\u041a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L23\" rel=\"nofollow\"><code>#if _WIN32<\/code> \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u0430<\/a> \u043d\u0430 <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R20\" rel=\"nofollow\"><code>version (Windows)<\/code><\/a>. (\u0421\u043c. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u043e <a href=\"https:\/\/dlang.org\/spec\/version.html#version\" rel=\"nofollow\">\u0443\u0441\u043b\u043e\u0432\u043d\u043e\u0439 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0432\u0435\u0440\u0441\u0438\u0439<\/a> \u0438 <a href=\"https:\/\/dlang.org\/spec\/version.html#predefined-versions\" rel=\"nofollow\">\u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0440\u0435\u0434\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439<\/a>).<\/p>\n<p>  <\/p>\n<p>\u041e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R27\" rel=\"nofollow\"><code>extern(C):<\/code><\/a> \u043f\u043e\u043c\u0435\u0447\u0430\u0435\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0432 \u0444\u0430\u0439\u043b\u0435 \u043a\u0430\u043a \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0435 \u0441 C. (\u0421\u043c. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u043e <a href=\"https:\/\/dlang.org\/spec\/attribute.html#linkage\" rel=\"nofollow\">\u0430\u0442\u0442\u0440\u0438\u0431\u0443\u0442\u0443 \u043b\u0438\u043d\u043a\u043e\u0432\u043a\u0438<\/a>).<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043e\u0438\u0441\u043a\u0430 \u0438 \u0437\u0430\u043c\u0435\u043d\u044b <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L27\" rel=\"nofollow\">\u043c\u0430\u043a\u0440\u043e\u0441\u044b debug1, debug2 \u0438 debug3<\/a> \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u044b \u043d\u0430 <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R499\" rel=\"nofollow\"><code>debug prinf<\/code><\/a>. \u0412 \u0446\u0435\u043b\u043e\u043c, <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff%E2%80%9314c44b49b9f46b1aeab33a6684214e55L290\" rel=\"nofollow\"><code>\u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u044b \u043f\u0440\u0435\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 #ifdef DEBUG<\/code><\/a> \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u044b \u043d\u0430 <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R276\" rel=\"nofollow\"><code>\u0443\u0441\u043b\u043e\u0432\u043d\u0443\u044e \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044e \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 debug<\/code><\/a>. (\u0421\u043c. <a href=\"https:\/\/dlang.org\/spec\/version.html#DebugStatement\" rel=\"nofollow\"><code>\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044e debug<\/code><\/a>).<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">\/* Delete these old C macro definitions... #ifdef DEBUG -#define debug1(a)       printf(a) -#define debug2(a,b)     printf(a,b) -#define debug3(a,b,c)   printf(a,b,c) -#else -#define debug1(a) -#define debug2(a,b) -#define debug3(a,b,c) -#endif *\/  \/\/ And replace their usage with the debug statement \/\/ debug2(&quot;Returning x%lx\\n&quot;,datetime); debug printf(&quot;Returning x%lx\\n&quot;,datetime);<\/code><\/pre>\n<p>  <\/p>\n<p>\u041c\u0430\u043a\u0440\u043e\u0441\u044b <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L37\" rel=\"nofollow\">TRUE, FALSE \u0438 NULL<\/a> \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043f\u043e\u0438\u0441\u043a\u0430 \u0438 \u0437\u0430\u043c\u0435\u043d\u044b \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u044b \u043d\u0430 <code>true<\/code>, <code>false<\/code> \u0438 <code>null<\/code>. <\/p>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L40\" rel=\"nofollow\">\u041c\u0430\u043a\u0440\u043e\u0441 ESC<\/a> \u0437\u0430\u043c\u0435\u043d\u0451\u043d <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R66\" rel=\"nofollow\">\u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u043e\u0439 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438<\/a>. (\u0421\u043c. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u043e <a href=\"https:\/\/dlang.org\/spec\/enum.html#manifest_constants\" rel=\"nofollow\"><code>\u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u0430\u043c<\/code><\/a>).<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">\/\/ #define ESC     '!' enum ESC =      '!';<\/code><\/pre>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L42\" rel=\"nofollow\">\u041c\u0430\u043a\u0440\u043e\u0441 NEWOBJ<\/a> \u0437\u0430\u043c\u0435\u043d\u0451\u043d <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R68\" rel=\"nofollow\">\u0448\u0430\u0431\u043b\u043e\u043d\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439<\/a>.<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">\/\/ #define NEWOBJ(type)    ((type *) mem_calloc(sizeof(type))) type* NEWOBJ(type)() { return cast(type*) mem_calloc(type.sizeof); }<\/code><\/pre>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L56\" rel=\"nofollow\"><code>\u041c\u0430\u043a\u0440\u043e\u0441 filenamecmp<\/code><\/a> \u0437\u0430\u043c\u0435\u043d\u0451\u043d <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R74\" rel=\"nofollow\">\u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439<\/a>.<\/p>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L45\" rel=\"nofollow\">\u0423\u0431\u0440\u0430\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c<\/a>.<\/p>\n<p>  <\/p>\n<p>\u0413\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0432 D \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043f\u043e\u043c\u0435\u0449\u0430\u044e\u0442\u0441\u044f \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u043f\u043e\u0442\u043e\u043a\u0430 (thread-local storage, TLS). \u041d\u043e \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 <code>make<\/code> \u2014 \u043e\u0434\u043d\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430, \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R82\" rel=\"nofollow\"><code>\u043a\u043b\u0430\u0441\u0441\u0430 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 __gshared<\/code><\/a>. (\u0421\u043c. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u043e <a href=\"https:\/\/dlang.org\/spec\/attribute.html#gshared\" rel=\"nofollow\"><code>\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0443 __gshared<\/code><\/a>).<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">\/\/ int CMDLINELEN; __gshared int CMDLINELEN<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412 D \u043d\u0435\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 \u0438\u043c\u0451\u043d \u0434\u043b\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440, \u0442\u0430\u043a \u0447\u0442\u043e \u0432 <code>typedef<\/code> \u043d\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438. \u0412\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R113\" rel=\"nofollow\"><code>alias<\/code><\/a>. (\u0421\u043c. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u043e <a href=\"https:\/\/dlang.org\/spec\/declaration.html#alias\" rel=\"nofollow\"><code>\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044e alias<\/code><\/a>). \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0438\u0437 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0443\u0431\u0440\u0430\u043d\u043e \u0441\u043b\u043e\u0432\u043e <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R131\" rel=\"nofollow\"><code>struct<\/code><\/a>.<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">\/* typedef struct FILENODE         {       char            *name,genext[EXTMAX+1];                 char            dblcln;                 char            expanding;                 time_t          time;                 filelist        *dep;                 struct RULE     *frule;                 struct FILENODE *next;         } filenode; *\/ struct FILENODE {         char            *name;         char[EXTMAX1]  genext;         char            dblcln;         char            expanding;         time_t          time;         filelist        *dep;         RULE            *frule;         FILENODE        *next; }  alias filenode = FILENODE;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412 \u044f\u0437\u044b\u043a\u0435 D <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L86\" rel=\"nofollow\"><code>macro<\/code><\/a> \u2014 \u044d\u0442\u043e \u043a\u043b\u044e\u0447\u0435\u0432\u043e\u0435 \u0441\u043b\u043e\u0432\u043e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>MACRO<\/code>.<\/p>\n<p>  <\/p>\n<p>\u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 C, \u0432 \u044f\u0437\u044b\u043a\u0435 D \u0437\u0432\u0451\u0437\u0434\u043e\u0447\u043a\u0430 \u0432 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0438 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0430\u0441\u0442\u044c\u044e \u0442\u0438\u043f\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L83\" rel=\"nofollow\">\u043f\u0440\u0438 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0435\u0439<\/a> \u0437\u0432\u0451\u0437\u0434\u043e\u0447\u043a\u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R98\" rel=\"nofollow\">\u043a \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0441\u0438\u043c\u0432\u043e\u043b\u0443<\/a>:<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">\/\/ char *name,*text; \/\/ In D, the * is part of the type and  \/\/ applies to each symbol in the declaration. char* name, text;<\/code><\/pre>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L111\" rel=\"nofollow\">\u041e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432 \u0432 \u0441\u0442\u0438\u043b\u0435 C<\/a> \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u044b \u0432 <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R131\" rel=\"nofollow\">\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0432 \u0441\u0442\u0438\u043b\u0435 D<\/a>. (\u0421\u043c. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u043e <a href=\"https:\/\/dlang.org\/spec\/declaration.html#declaration_syntax\" rel=\"nofollow\">\u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0443 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0439 \u0432 D<\/a>).<\/p>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L159\" rel=\"nofollow\"><code>\u0421\u043b\u043e\u0432\u043e static<\/code><\/a> \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u043c\u043e\u0434\u0443\u043b\u044f \u0432 D \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u043d\u0430\u0447\u0438\u0442. \u0412 C \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u044b \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c \u0443\u0440\u043e\u0432\u043d\u044f \u043c\u043e\u0434\u0443\u043b\u044f \u0432 D, \u043d\u043e \u044d\u0442\u043e \u043d\u0435\u0432\u0430\u0436\u043d\u043e, \u0435\u0441\u043b\u0438 \u043c\u043e\u0434\u0443\u043b\u044c \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044f. \u0418\u0445 \u0432\u0441\u0451 \u0435\u0449\u0451 \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0438\u0442\u044c \u043a\u0430\u043a <code>__gshared<\/code>, \u0438 \u044d\u0442\u043e\u0442 \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R191\" rel=\"nofollow\">\u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0446\u0435\u043b\u044b\u043c \u0431\u043b\u043e\u043a\u043e\u043c<\/a>. (\u0421\u043c. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u043e <a href=\"https:\/\/dlang.org\/spec\/attribute.html#static\" rel=\"nofollow\"><code>\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0443 static<\/code><\/a>).<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">\/* static ignore_errors = FALSE; static execute = TRUE; static gag = FALSE; static touchem = FALSE; static debug = FALSE; static list_lines = FALSE; static usebuiltin = TRUE; static print = FALSE; ... *\/  __gshared {     bool ignore_errors = false;     bool execute = true;     bool gag = false;     bool touchem = false;     bool xdebug = false;     bool list_lines = false;     bool usebuiltin = true;     bool print = false;     ... }<\/code><\/pre>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L189\" rel=\"nofollow\">\u041f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0439<\/a> \u0432 \u044f\u0437\u044b\u043a\u0435 D \u043d\u0435 \u043d\u0443\u0436\u043d\u044b. \u0424\u0443\u043d\u043a\u0446\u0438\u044e, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u0443\u044e \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u043c\u043e\u0434\u0443\u043b\u044f, \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u0437 \u043b\u044e\u0431\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430 \u0432 \u044d\u0442\u043e\u043c \u043c\u043e\u0434\u0443\u043b\u0435, \u0434\u0430\u0436\u0435 \u0434\u043e \u0435\u0451 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f. <\/p>\n<p>  <\/p>\n<p>\u0412 <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L240\" rel=\"nofollow\">\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0438 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438<\/a> \u0432 make-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u043d\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u0441\u043c\u044b\u0441\u043b\u0430.<\/p>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L242\" rel=\"nofollow\">\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0435 \u0441 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u043e\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432<\/a>, \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044f\u043c\u0438, \u0438 \u0432 D \u043e\u0431\u044a\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043a\u0430\u043a \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438.<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">\/\/ int cdecl main(int argc,char *argv[]) int main(int argc,char** argv)<\/code><\/pre>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L248\" rel=\"nofollow\"><code>\u041c\u0430\u043a\u0440\u043e\u0441 mem_init()<\/code> \u043d\u0438 \u0432\u043e \u0447\u0442\u043e \u043d\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u0442\u0441\u044f<\/a>, \u0438 \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0435\u0433\u043e \u0443\u0431\u0440\u0430\u043b\u0438.<\/p>\n<p>  <\/p>\n<p>\u0412 C \u043c\u043e\u0436\u043d\u043e \u0433\u0440\u044f\u0437\u043d\u043e \u0438\u0433\u0440\u0430\u0442\u044c \u0441 <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L275\" rel=\"nofollow\">\u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438<\/a>, \u043d\u043e D \u0442\u0440\u0435\u0431\u0443\u0435\u0442, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u043b\u0438 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u0438.<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">void cmderr(const char* format, const char* arg) {...}  \/\/ cmderr(&quot;can't expand response file\\n&quot;); cmderr(&quot;can't expand response file\\n&quot;, null);<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043e\u0438\u0441\u043a\u0430 \u0438 \u0437\u0430\u043c\u0435\u043d\u044b <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L297\" rel=\"nofollow\"><code>\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440-\u0441\u0442\u0440\u0435\u043b\u043a\u0430 (-&gt;<\/code>) \u044f\u0437\u044b\u043a\u0430 C<\/a> \u0437\u0430\u043c\u0435\u043d\u0451\u043d \u043d\u0430 \u0442\u043e\u0447\u043a\u0443 (<code>.<\/code>), \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432 D \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0447\u043b\u0435\u043d\u0430\u043c \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e.<\/p>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L303\" rel=\"nofollow\">\u0414\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u044b \u0443\u0441\u043b\u043e\u0432\u043d\u043e\u0439 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438<\/a> \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u044b \u043d\u0430 <code>version<\/code>.<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">\/*  #if TERMCODE     ...  #endif *\/     version (TERMCODE)     {         ...     }<\/code><\/pre>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R312\" rel=\"nofollow\">\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u043e\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0439<\/a> \u0441\u0432\u0438\u0434\u0435\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0443\u0435\u0442 \u043e \u0434\u0440\u0435\u0432\u043d\u043e\u0441\u0442\u0438 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u0434\u0430. D \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u043e\u0432.<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">\/\/ doswitch(p) \/\/ char *p; void doswitch(char* p)<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412 \u044f\u0437\u044b\u043a\u0435 D <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L335\" rel=\"nofollow\"><code>\u0441\u043b\u043e\u0432\u043e debug<\/code> \u0437\u0430\u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u043e<\/a>. \u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u0443\u0435\u043c \u0432 <code>xdebug<\/code>.<\/p>\n<p>  <\/p>\n<p>\u041c\u043d\u043e\u0433\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0435 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u044b \u0432 C \u0442\u0440\u0435\u0431\u0443\u044e\u0442 <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L396\" rel=\"nofollow\"><code>\\n\\<\/code> \u0432 \u043a\u043e\u043d\u0446\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438<\/a>. \u0412 D \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f.<\/p>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R463\" rel=\"nofollow\">\u041d\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 \u043a\u043e\u0434 \u0437\u0430\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d<\/a> \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432 <code>\/+ +\/<\/code>. (\u0421\u043c. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u043e <a href=\"https:\/\/dlang.org\/spec\/lex.html#comment\" rel=\"nofollow\">\u0441\u0442\u0440\u043e\u0447\u043d\u044b\u043c, \u0431\u043b\u043e\u0447\u043d\u044b\u043c \u0438 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u043c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c<\/a>).<\/p>\n<p>  <\/p>\n<p>\u0412\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 <code>static if<\/code> \u043c\u043e\u0436\u0435\u0442 \u0432\u043e \u043c\u043d\u043e\u0433\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R503\" rel=\"nofollow\"><code>\u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c #if<\/code><\/a>. (\u0421\u043c. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u043e <a href=\"https:\/\/dlang.org\/spec\/version.html#staticif\" rel=\"nofollow\"><code>static if<\/code><\/a>).<\/p>\n<p>  <\/p>\n<p>\u041c\u0430\u0441\u0441\u0438\u0432\u044b \u0432 D <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L585\" rel=\"nofollow\">\u043d\u0435 \u0441\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u043a \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438<\/a>, \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>.ptr<\/code>.<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">\/\/ utime(name,timep); utime(name,timep.ptr);<\/code><\/pre>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L658\" rel=\"nofollow\"><code>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 const<\/code> \u0434\u043b\u044f \u0441\u0442\u0440\u043e\u043a \u0432 \u0441\u0442\u0438\u043b\u0435 C<\/a> \u043f\u0440\u043e\u0438\u0441\u0442\u0435\u043a\u0430\u0435\u0442 \u0438\u0437 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0445 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u043e\u0432 \u0432 D, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 D \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0431\u0440\u0430\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u044b\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0435 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u044b. (\u0421\u043c. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u043e <a href=\"https:\/\/dlang.org\/spec\/const3.html#const_and_immutable\" rel=\"nofollow\"><code>const<\/code> \u0438 <code>immutable<\/code><\/a>).<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">\/\/ linelist **readmakefile(char *makefile,linelist **rl) linelist **readmakefile(const char *makefile,linelist **rl)<\/code><\/pre>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R920\" rel=\"nofollow\"><code>\u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 void*<\/code> \u0432 <code>char*<\/code><\/a> \u0432 D \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u044f\u0432\u043d\u044b\u043c.<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">\/\/ buf = mem_realloc(buf,bufmax); buf = cast(char*)mem_realloc(buf,bufmax);<\/code><\/pre>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L1099\" rel=\"nofollow\"><code>\u0422\u0438\u043f unsigned<\/code> \u0437\u0430\u043c\u0435\u043d\u0451\u043d \u043d\u0430 <code>uint<\/code><\/a>.<\/p>\n<p>  <\/p>\n<p>\u0410\u0442\u0440\u0438\u0431\u0443\u0442 <code>inout<\/code> <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R1160\" rel=\"nofollow\">\u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c<\/a>, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u00ab\u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u044c\u00bb \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043d\u0430 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u044b\u0439 \u0442\u0438\u043f. \u0415\u0441\u043b\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d \u043a\u0430\u043a <code>const<\/code>, \u0442\u043e \u0442\u0430\u043a\u0438\u043c \u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442. (\u0421\u043c. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u043e <a href=\"https:\/\/dlang.org\/spec\/function.html#inout-functions\" rel=\"nofollow\"><code>inout<\/code>-\u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c<\/a>).<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">\/\/ char *skipspace(p) {...} inout(char) *skipspace(inout(char)* p) {...}<\/code><\/pre>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L1628\" rel=\"nofollow\"><code>\u041c\u0430\u043a\u0440\u043e\u0441 arraysize<\/code><\/a> \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e <code>.length<\/code>. (\u0421\u043c. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u043e <a href=\"https:\/\/dlang.org\/spec\/arrays.html#array-properties\" rel=\"nofollow\">\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432<\/a>).<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">\/\/ useCOMMAND  |= inarray(p,builtin,arraysize(builtin)); useCOMMAND  |= inarray(p,builtin.ptr,builtin.length)<\/code><\/pre>\n<p>  <\/p>\n<p>\u0421\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0435 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u044b \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u044b (<code>immutable<\/code>), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L1683\" rel=\"nofollow\">\u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u044b, \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u043d\u0430 \u0441\u0442\u0435\u043a\u0435<\/a>. (\u0421\u043c. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u043e <a href=\"https:\/\/dlang.org\/spec\/lex.html#string_literals\" rel=\"nofollow\">\u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u043c \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u0430\u043c<\/a>).<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">\/\/ static char envname[] = &quot;@_CMDLINE&quot;; char[10] envname = &quot;@_CMDLINE&quot;;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e <code>.sizeof<\/code> <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L1688\" rel=\"nofollow\"><code>\u0441\u043b\u0443\u0436\u0438\u0442 \u0437\u0430\u043c\u0435\u043d\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0443 sizeof()<\/code> \u0438\u0437 C<\/a>. (\u0421\u043c. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u043e <a href=\"https:\/\/dlang.org\/spec\/property.html#sizeof\" rel=\"nofollow\"><code>.sizeof<\/code><\/a>).<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">\/\/ q = (char *) mem_calloc(sizeof(envname) + len); q = cast(char *) mem_calloc(envname.sizeof + len)<\/code><\/pre>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55R1692\" rel=\"nofollow\">\u0421\u0442\u0430\u0440\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 Windows<\/a> \u043d\u0430\u0441 \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442.<\/p>\n<p>  <\/p>\n<p>\u0414\u043e\u0438\u0441\u0442\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 <code>char *<\/code> <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/a25bee1ba3a3b5231fd80aa1b24aa18ce3eb3a34#diff-14c44b49b9f46b1aeab33a6684214e55L1773\" rel=\"nofollow\"><code>\u0437\u0430\u043c\u0435\u043d\u0435\u043d\u043e \u043d\u0430 void*<\/code><\/a>.<\/p>\n<p>  <\/p>\n<p>\u0418 \u0432\u043e\u0442 \u0438 \u0432\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f! \u041a\u0430\u043a \u0432\u0438\u0434\u0438\u0442\u0435, \u043d\u0435 \u0442\u0430\u043a \u0443\u0436 \u043f\u043b\u043e\u0445\u043e. \u042f \u043d\u0435 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u043b \u0442\u0430\u0439\u043c\u0435\u0440, \u043d\u043e \u0441\u043e\u043c\u043d\u0435\u0432\u0430\u044e\u0441\u044c, \u0447\u0442\u043e \u0432\u0441\u0451 \u044d\u0442\u043e \u0437\u0430\u043d\u044f\u043b\u043e \u0443 \u043c\u0435\u043d\u044f \u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0430\u0441\u0430 \u2014 \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043e\u0448\u0438\u0431\u043e\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435.<\/p>\n<p>  <\/p>\n<p>\u0423 \u043d\u0430\u0441 \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0444\u0430\u0439\u043b <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/473bf5bef99a1748d5154b343b986534271cd841#diff-69c1b24ec5df3f3b5a5bb99bc60345f7\" rel=\"nofollow\">man.c<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b\u043b \u043d\u0443\u0436\u0435\u043d, \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 <a href=\"https:\/\/digitalmars.com\/ctg\/make.html\" rel=\"nofollow\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u043e make<\/a> \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0441 \u043e\u043f\u0446\u0438\u0435\u0439 <code>-man<\/code>. \u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u043e\u043d \u0443\u0436\u0435 \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u043d\u0430 D, \u0442\u0430\u043a \u0447\u0442\u043e \u044f \u043c\u043e\u0433\u0443 \u043f\u0440\u043e\u0441\u0442\u043e <a href=\"https:\/\/github.com\/DigitalMars\/Compiler\/commit\/7765879be1be6fcb3eb959d1598d8ff227c2b0af#diff-2bac52ea58e12548536bb246cced3af4\" rel=\"nofollow\">\u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0434<\/a>.<\/p>\n<p>  <\/p>\n<p>\u0421\u043e\u0431\u0440\u0430\u0442\u044c make \u0442\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e, \u0447\u0442\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u0430\u0436\u0435 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f make-\u0444\u0430\u0439\u043b:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">\\dmd2.079\\windows\\bin\\dmd make.d dman.d -O -release -betterC -I. -I\\dmd2.079\\src\\druntime\\import\\ shell32.lib<\/code><\/pre>\n<p>  <\/p>\n<h2 id=\"rezyume\">\u0420\u0435\u0437\u044e\u043c\u0435<\/h2>\n<p>  <\/p>\n<p>\u041c\u044b \u043f\u0440\u0438\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u043b\u0438\u0441\u044c \u043d\u0430\u0448\u0435\u0433\u043e \u0417\u043b\u043e\u0431\u043d\u043e\u0433\u043e \u043f\u043b\u0430\u043d\u0430 \u043f\u043e \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u043d\u0435\u0442\u0440\u0438\u0432\u0438\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043d\u0430 \u043e\u043b\u0434\u0441\u043a\u0443\u043b\u044c\u043d\u043e\u043c C \u043d\u0430 \u044f\u0437\u044b\u043a D, \u0438 \u0441\u043c\u043e\u0433\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e. \u041c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b.<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043c\u044b \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0438\u0441\u044c, \u0442\u0438\u043f\u0438\u0447\u043d\u044b \u0438 \u043b\u0435\u0433\u043a\u043e \u0440\u0435\u0448\u0430\u044e\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u0437\u0430\u043c\u0435\u043d\u0430 <code>#include<\/code> \u043d\u0430 <code>import<\/code>;<\/li>\n<li>\u0437\u0430\u043c\u0435\u043d\u0430 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 D-\u0432\u0435\u0440\u0441\u0438\u0439 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432;<\/li>\n<li>\u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u0438\u0441\u043a \u0438 \u0437\u0430\u043c\u0435\u043d\u0430 \u0432\u0435\u0449\u0435\u0439 \u0432\u0440\u043e\u0434\u0435 <code>-&gt;<\/code>;<\/li>\n<li>\u0437\u0430\u043c\u0435\u043d\u0430 \u043c\u0430\u043a\u0440\u043e\u0441\u043e\u0432 \u043f\u0440\u0435\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 \u043d\u0430:<br \/> \n<ul>\n<li>\u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438,<\/li>\n<li>\u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u044b,<\/li>\n<li>\u0444\u0443\u043d\u043a\u0446\u0438\u0438,<\/li>\n<li>\u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u0432\u0435\u0440\u0441\u0438\u0439,<\/li>\n<li>\u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u043e\u0442\u043b\u0430\u0434\u043a\u0438;<\/li>\n<\/ul>\n<\/li>\n<li>\u0437\u0430\u043c\u0435\u043d\u0430 \u0437\u0430\u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0441\u043b\u043e\u0432;<\/li>\n<li>\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0439 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432 \u0438 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0435\u0439;<\/li>\n<li>\u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u0445 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u043e\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0439;<\/li>\n<li>\u0431\u043e\u043b\u0435\u0435 \u0441\u0442\u0440\u043e\u0433\u043e\u0435 \u0441\u043e\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u0435 \u0442\u0438\u043f\u043e\u0432;<\/li>\n<li>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432;<\/li>\n<li>\u0437\u0430\u043c\u0435\u043d\u0430 \u0442\u0438\u043f\u043e\u0432 C \u0442\u0438\u043f\u0430\u043c\u0438 D.<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u041d\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u043d\u0438\u0447\u0435\u0433\u043e \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u0440\u0435\u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043e\u0434\u0430,<\/li>\n<li>\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u0445 \u0434\u0430\u043d\u043d\u044b\u0445,<\/li>\n<li>\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0445\u043e\u0434\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b,<\/li>\n<li>\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0440\u0430\u0431\u043e\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b,<\/li>\n<li>\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u044c\u044e.<\/li>\n<\/ul>\n<p>  <\/p>\n<h2 id=\"buduschee\">\u0411\u0443\u0434\u0443\u0449\u0435\u0435<\/h2>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c, \u043a\u043e\u0433\u0434\u0430 \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c Better C, \u043d\u0430\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u043c\u043d\u043e\u0433\u0438\u0435 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0442 \u043d\u0430\u043c \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u043d\u0430\u0448 \u043a\u043e\u0434:<\/p>\n<p>  <\/p>\n<ul>\n<li><a href=\"https:\/\/dlang.org\/spec\/module.html\" rel=\"nofollow\">\u043c\u043e\u0434\u0443\u043b\u0438<\/a>!<\/li>\n<li>\u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0435 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a \u043f\u0430\u043c\u044f\u0442\u0438 (\u0432\u043a\u043b\u044e\u0447\u0430\u044f <a href=\"https:\/\/dlang.org\/spec\/arrays.html#bounds\" rel=\"nofollow\">\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043f\u0435\u0440\u0435\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0431\u0443\u0444\u0435\u0440\u0430<\/a>),<\/li>\n<li>\u043c\u0435\u0442\u0430\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435,<\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Resource_acquisition_is_initialization\" rel=\"nofollow\">RAII<\/a>,<\/li>\n<li>\u042e\u043d\u0438\u043a\u043e\u0434,<\/li>\n<li><a href=\"https:\/\/dlang.org\/spec\/function.html#nested\" rel=\"nofollow\">\u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438<\/a>,<\/li>\n<li><a href=\"https:\/\/dlang.org\/spec\/class.html#member-functions\" rel=\"nofollow\">\u043c\u0435\u0442\u043e\u0434\u044b<\/a>,<\/li>\n<li><a href=\"https:\/\/dlang.org\/spec\/operatoroverloading.html\" rel=\"nofollow\">\u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u043a\u0430 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432<\/a>,<\/li>\n<li><a href=\"https:\/\/dlang.org\/spec\/ddoc.html\" rel=\"nofollow\">\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a>,<\/li>\n<li><a href=\"https:\/\/dlang.org\/spec\/function.html#pure-functions\" rel=\"nofollow\">\u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/a>,<\/li>\n<li><a href=\"https:\/\/dlang.org\/spec\/function.html#interpretation\" rel=\"nofollow\">\u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 (CTFE)<\/a>,<\/li>\n<li><a href=\"https:\/\/dlang.org\/spec\/spec.html\" rel=\"nofollow\">\u0438 \u043c\u043d\u043e\u0433\u043e\u0435 \u0434\u0440\u0443\u0433\u043e\u0435<\/a>.<\/li>\n<\/ul>\n<p>  <\/p>\n<h2 id=\"k-deystviyu\">\u041a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044e<\/h2>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0437\u043d\u0430\u0435\u0442\u0435 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439, \u0437\u0430\u0445\u043e\u0434\u0438\u0442\u0435 \u043d\u0430 <a href=\"https:\/\/forum.dlang.org\/group\/general\" rel=\"nofollow\">\u0444\u043e\u0440\u0443\u043c D<\/a> \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0438\u0442\u0435 \u043d\u0430\u043c, \u043a\u0430\u043a \u043f\u0440\u043e\u0434\u0432\u0438\u0433\u0430\u0435\u0442\u0441\u044f \u0432\u0430\u0448 \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430 Better C!<\/p>\n<\/div>\n<p> \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\/511806\/\"> https:\/\/habr.com\/ru\/post\/511806\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/511806\/\">\n<p><em><a href=\"http:\/\/walterbright.com\/\" rel=\"nofollow\">\u0423\u043e\u043b\u0442\u0435\u0440 \u0411\u0440\u0430\u0439\u0442<\/a> \u2014 \u00ab\u0432\u0435\u043b\u0438\u043a\u043e\u0434\u0443\u0448\u043d\u044b\u0439 \u043f\u043e\u0436\u0438\u0437\u043d\u0435\u043d\u043d\u044b\u0439 \u0434\u0438\u043a\u0442\u0430\u0442\u043e\u0440\u00bb \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f D \u0438 \u043e\u0441\u043d\u043e\u0432\u0430\u0442\u0435\u043b\u044c <a href=\"http:\/\/digitalmars.com\/\" rel=\"nofollow\">Digital Mars<\/a>. \u0417\u0430 \u0435\u0433\u043e \u043f\u043b\u0435\u0447\u0430\u043c\u0438 \u043d\u0435 \u043e\u0434\u0438\u043d \u0434\u0435\u0441\u044f\u0442\u043e\u043a \u043b\u0435\u0442 \u043e\u043f\u044b\u0442\u0430 \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u0432 \u0438 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u043e\u0432 \u0434\u043b\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u044f\u0437\u044b\u043a\u043e\u0432, \u0432 \u0447\u0438\u0441\u043b\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 Zortech C++ \u2014 \u043f\u0435\u0440\u0432\u044b\u0439 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 C++. \u041e\u043d \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c \u0438\u0433\u0440\u044b <a href=\"http:\/\/www.classicempire.com\/\" rel=\"nofollow\">Empire<\/a>, \u043f\u043e\u0441\u043b\u0443\u0436\u0438\u0432\u0448\u0435\u0439 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0435\u043d\u0438\u044f \u0434\u043b\u044f Sid Meier\u2019s Civilization.<\/em><\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0426\u0438\u043a\u043b \u0441\u0442\u0430\u0442\u0435\u0439 \u043e Better C<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<ol>\n<li><a href=\"https:\/\/habr.com\/ru\/post\/511334\/\">D \u043a\u0430\u043a \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u043d\u044b\u0439 C<\/a><\/li>\n<li><a href=\"https:\/\/habr.com\/ru\/post\/511560\/\">\u0411\u0430\u0433\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0430\u0437\u0440\u0443\u0448\u0438\u043b\u0438 \u0432\u0430\u0448 \u0437\u0430\u043c\u043e\u043a<\/a><\/li>\n<li><strong>\u041f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c make.c \u043d\u0430 D<\/strong><\/li>\n<\/ol>\n<\/div><\/div>\n<p>  <\/p>\n<p>Better C \u2014 \u044d\u0442\u043e \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0442\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 C \u043d\u0430 \u044f\u0437\u044b\u043a D \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u043d\u0435\u0440\u0435. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u0438 \u043d\u0435\u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438\u0437 C \u0432 D \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0447\u0430\u0441\u0442\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u044e\u0442. <\/p>\n<p>  <\/p>\n<p>\u0425\u043e\u0442\u044f <a href=\"https:\/\/github.com\/dlang\/dmd\" rel=\"nofollow\">\u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 D dmd<\/a> \u0443\u0436\u0435 \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u0432 D, \u044d\u0442\u043e \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442, \u0447\u0442\u043e \u0435\u0433\u043e \u0442\u0440\u0443\u0434\u043d\u043e \u0446\u0435\u043b\u0438\u043a\u043e\u043c \u043e\u0445\u0432\u0430\u0442\u0438\u0442\u044c. \u041c\u043d\u0435 \u0431\u044b\u043b \u043d\u0443\u0436\u0435\u043d \u0431\u043e\u043b\u0435\u0435 \u043c\u0435\u043b\u043a\u0438\u0439 \u0438 \u0441\u043a\u0440\u043e\u043c\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0443\u044f\u0441\u043d\u0438\u0442\u044c, \u043d\u043e \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043d\u0435 \u0431\u044b\u043b \u0443\u043c\u043e\u0437\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c.<\/p>\n<p>  <\/p>\n<p>\u041c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u0430 \u043d\u0430 \u0443\u043c \u0441\u0442\u0430\u0440\u0430\u044f make-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 C <a href=\"https:\/\/en.wikipedia.org\/wiki\/Datalight\" rel=\"nofollow\">Datalight<\/a> \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 1980-\u0445. \u042d\u0442\u043e \u0440\u0435\u0430\u043b\u044c\u043d\u0430\u044f \u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b make, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u0441 \u043d\u0430\u0447\u0430\u043b\u0430 80-\u0445. \u041e\u043d\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u043d\u0430 C \u0435\u0449\u0451 \u0434\u043e \u0435\u0433\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0438\u0437\u0430\u0446\u0438\u0438, \u0431\u044b\u043b\u0430 \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0438\u0437 \u043e\u0434\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432 \u0434\u0440\u0443\u0433\u0443\u044e \u0438 \u0443\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432\u0441\u0435\u0433\u043e \u0432 1961 \u0441\u0442\u0440\u043e\u0447\u043a\u0443 \u043a\u043e\u0434\u0430, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438. \u041e\u043d\u0430 \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\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-307224","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/307224","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=307224"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/307224\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=307224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=307224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=307224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}