{"id":306398,"date":"2020-07-03T21:00:28","date_gmt":"2020-07-03T21:00:28","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=306398"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=306398","title":{"rendered":"Game of Life \u0441 \u0431\u0438\u0442\u043e\u0432\u043e\u0439 \u043c\u0430\u0433\u0438\u0435\u0439, \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c\u044e \u0438 \u043d\u0430 GPU"},"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\/506518\/\">\n<h3>\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442!<\/h3>\n<p>  \u041d\u0435\u0434\u0430\u0432\u043d\u044f\u044f <a href=\"https:\/\/habr.com\/ru\/post\/505606\/\">\u0441\u0442\u0430\u0442\u044c\u044f<\/a> \u043d\u0430 \u0425\u0430\u0431\u0440\u0435 \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0440\u0430\u0437 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0430 \u043d\u0435\u043e\u0441\u0442\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441 \u043a \u0438\u0433\u0440\u0435 \u00ab\u0416\u0438\u0437\u043d\u044c\u00bb \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u0438 \u0432\u0441\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u043c \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f\u043c \u0432 \u043e\u0431\u0449\u0435\u043c. \u0421\u0442\u0430\u0442\u044c\u044f \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a \u043d\u0435\u0439, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043b\u044e\u0431\u043e\u043f\u044b\u0442\u0441\u0442\u0432\u043e \u043a \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f\u043c \u043d\u0430 GPU, \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0438\u043b\u0438 \u043c\u0435\u043d\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c\u0438 \u0438\u0437\u044b\u0441\u043a\u0430\u043d\u0438\u044f\u043c\u0438 \u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u043e\u043f\u0440\u0438\u0449\u0435 \u0438, \u0437\u0430\u0431\u0435\u0433\u0430\u044f \u0432\u043f\u0435\u0440\u0451\u0434, \u0441\u043a\u0430\u0436\u0443, \u0447\u0442\u043e \u043f\u043e\u0432\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0439\u0434\u0451\u0442 \u043e \u0440\u0430\u0441\u0447\u0451\u0442\u0430\u0445 \u043d\u0430 GPU, \u0431\u0438\u0442\u043e\u0432\u043e\u0439 \u043c\u0430\u0433\u0438\u0438, \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438 \u0438 \u043e\u0433\u0440\u043e\u043c\u043d\u044b\u0445 \u043f\u043e\u043b\u044f\u0445 \u0434\u043b\u044f \u0438\u0433\u0440\u044b \u00ab\u0416\u0438\u0437\u043d\u044c\u00bb, \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u043c\u0438\u043b\u043b\u0438\u0430\u0440\u0434\u0430 \u043a\u043b\u0435\u0442\u043e\u043a.<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/u-\/su\/ut\/u-suutkgbaqhcjigzptpnkqcnb4.gif\" width=\"384\" height=\"384\"><\/div>\n<p>  <a name=\"habracut\"><\/a>  <\/p>\n<h3>\u041e \u0441\u0435\u0431\u0435<\/h3>\n<p>  \u041f\u0430\u0440\u0443 \u0441\u043b\u043e\u0432 \u043e \u0441\u0435\u0431\u0435 \u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0435. \u0412\u043e\u0442 \u0443\u0436\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u0442 \u043c\u043e\u0438\u043c \u0445\u043e\u0431\u0431\u0438 \u0438 pet-\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438\u0433\u0440\u044b \u00ab\u0416\u0438\u0437\u043d\u044c\u00bb, \u0432 \u0445\u043e\u0434\u0435 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u044f \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u044e\u0441\u044c \u0432 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0438\u0445 \u043c\u0435\u043d\u044f \u0442\u0435\u043c\u0430\u0445. \u0422\u0430\u043a, \u0441\u043f\u0435\u0440\u0432\u0430 \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0435\u0451 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 glut \u0438 \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u043b \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u0440\u0435\u0436\u0438\u043c, \u0431\u0443\u0434\u0443\u0447\u0438 \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u043b\u0451\u043d\u043d\u044b\u043c \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043e\u0439 peer-to-peer. \u0410 \u043e\u043a\u043e\u043b\u043e \u0434\u0432\u0443\u0445 \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u0447\u0430\u0442\u044c \u0432\u0441\u0451 \u0441 \u043d\u0443\u043b\u044f, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f Qt \u0438 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043d\u0430 GPU. <\/p>\n<h3>\u041c\u0430\u0441\u0448\u0442\u0430\u0431\u044b<\/h3>\n<p>  \u0418\u0434\u0435\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u043b\u0430\u0441\u044c \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0434\u043b\u044f \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0441\u043c\u043e\u0433\u0443\u0442 \u043e\u043a\u0443\u043d\u0443\u0442\u044c\u0441\u044f \u0432 \u0438\u0433\u0440\u0443 \u00ab\u0416\u0438\u0437\u043d\u044c\u00bb, \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441 \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u0438\u0435\u043c \u0432\u0441\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u043e\u0432, \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0442\u044c \u0437\u0430 \u043f\u0440\u0438\u0447\u0443\u0434\u043b\u0438\u0432\u044b\u043c\u0438 \u0444\u043e\u0440\u043c\u0430\u043c\u0438 \u0438 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044f\u043c\u0438 \u044d\u0442\u043e\u0439 \u0438\u0433\u0440\u044b, \u0432\u044b\u0431\u0440\u0430\u0432 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043e\u0442 1 \u0434\u043e 100 \u043c\u0441 \u043d\u0430 \u0448\u0430\u0433 \u0438 \u0437\u0430\u0434\u0430\u0432 \u0440\u0430\u0437\u043c\u0435\u0440 \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u0432\u043f\u043b\u043e\u0442\u044c \u0434\u043e 32&#8217;768 x 32&#8217;768, \u0442\u043e \u0435\u0441\u0442\u044c 1&#8217;073&#8217;741&#8217;824 \u043a\u043b\u0435\u0442\u043a\u0438. <\/p>\n<p>  \u041d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u043d\u0430\u043f\u043e\u043c\u043d\u044e \u043e\u0431 \u0438\u0433\u0440\u0435 \u00ab\u0416\u0438\u0437\u043d\u044c\u00bb. \u0418\u0433\u0440\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u043f\u043b\u043e\u0441\u043a\u043e\u0441\u0442\u0438, \u043f\u043e\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u043d\u0430 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u0435\u0442\u043e\u043a. \u041a\u043b\u0435\u0442\u043a\u0438 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u044b\u0435, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u043a\u043b\u0435\u0442\u043a\u0438 \u0435\u0441\u0442\u044c 8 \u0441\u043e\u0441\u0435\u0434\u0435\u0439. \u041a\u0430\u0436\u0434\u0430\u044f \u043a\u043b\u0435\u0442\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u0438\u0431\u043e \u0436\u0438\u0432\u043e\u0439, \u043b\u0438\u0431\u043e \u043c\u0451\u0440\u0442\u0432\u043e\u0439, \u0442\u043e \u0435\u0441\u0442\u044c \u043f\u0443\u0441\u0442\u043e\u0439. \u0412 \u0440\u0430\u043c\u043a\u0430\u0445 \u0438\u0433\u0440\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043a\u043b\u0435\u0442\u043a\u0438 \u0436\u0438\u0437\u043d\u044c\u044e, \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u043d\u0430 \u043f\u043e\u043b\u0435 \u0437\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u0432\u0448\u0438\u0435 \u0435\u0433\u043e \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0438 \u043a\u043b\u0435\u0442\u043e\u043a \u2014 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b. <\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0448\u0430\u0433 \u0437\u0430 \u0448\u0430\u0433\u043e\u043c \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c:<\/p>\n<ul>\n<li>\u0432 \u043f\u0443\u0441\u0442\u043e\u0439 \u043a\u043b\u0435\u0442\u043a\u0435, \u0440\u044f\u0434\u043e\u043c \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0440\u043e\u0432\u043d\u043e 3 \u0436\u0438\u0432\u044b\u0435 \u043a\u043b\u0435\u0442\u043a\u0438, \u0437\u0430\u0440\u043e\u0436\u0434\u0430\u0435\u0442\u0441\u044f \u0436\u0438\u0437\u043d\u044c<\/li>\n<li>\u0435\u0441\u043b\u0438 \u0443 \u0436\u0438\u0432\u043e\u0439 \u043a\u043b\u0435\u0442\u043a\u0438 \u0435\u0441\u0442\u044c 2 \u0438\u043b\u0438 3 \u0436\u0438\u0432\u044b\u0445 \u0441\u043e\u0441\u0435\u0434\u043a\u0438, \u0442\u043e \u044d\u0442\u0430 \u043a\u043b\u0435\u0442\u043a\u0430 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u0436\u0438\u0442\u044c<\/li>\n<li>\u0435\u0441\u043b\u0438 \u0443 \u0436\u0438\u0432\u043e\u0439 \u043a\u043b\u0435\u0442\u043a\u0438 \u043c\u0435\u043d\u044c\u0448\u0435 2 \u0438\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 3 \u0436\u0438\u0432\u044b\u0445 \u0441\u043e\u0441\u0435\u0434\u043a\u0438, \u043a\u043b\u0435\u0442\u043a\u0430 \u0443\u043c\u0438\u0440\u0430\u0435\u0442<\/li>\n<\/ul>\n<p>  \u041f\u0440\u043e\u0437\u043e\u0440\u043b\u0438\u0432\u044b\u0439 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u0434\u043e\u0433\u0430\u0434\u0430\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u043d\u0430\u0438\u0432\u043d\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0438 \u0431\u043b\u0438\u0437\u043a\u043e \u043d\u0435 \u0441\u043f\u0440\u0430\u0432\u0438\u0442\u0441\u044f \u0441 \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u044a\u0451\u043c\u043e\u043c \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439, \u0438 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u0445\u043e\u0434 \u043f\u043e\u0448\u043b\u0438 \u0432\u0441\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438. <\/p>\n<p>  \u0412 \u043c\u043e\u0435\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u043b\u0435 \u0437\u0430\u0446\u0438\u043a\u043b\u0435\u043d\u043e, \u0442\u043e \u0435\u0441\u0442\u044c \u043f\u043e\u0441\u043b\u0435 32&#8217;767-\u0439 \u043a\u043b\u0435\u0442\u043a\u0438 \u0432\u043d\u043e\u0432\u044c \u0441\u043b\u0435\u0434\u0443\u0435\u0442 0-\u044f. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u044b \u043e\u0431\u043e\u0433\u043d\u0443\u0442\u044c \u043f\u043e\u043b\u0435 \u0438 \u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u0432 \u0442\u043e\u0447\u043a\u0435, \u0433\u0434\u0435 \u043e\u043d\u0438 \u0431\u044b\u043b\u0438 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u044b \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e. \u0417\u0430\u0431\u0430\u0432\u043d\u044b\u0439 \u044d\u0444\u0444\u0435\u043a\u0442 \u0441\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0441 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u043e\u043c \u00ab\u043f\u043b\u0430\u043d\u0451\u0440\u043d\u043e\u0435 \u0440\u0443\u0436\u044c\u0451\u00bb, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0435 \u0438\u043c \u043f\u043b\u0430\u043d\u0451\u0440\u044b \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0438\u0442\u043e\u0433\u0435 \u0432\u0440\u0435\u0437\u0430\u044e\u0442\u0441\u044f \u0432 \u0441\u0430\u043c\u043e \u0440\u0443\u0436\u044c\u0451 \u0438 \u0440\u0430\u0437\u0440\u0443\u0448\u0430\u044e\u0442 \u0435\u0433\u043e, \u044d\u0442\u0430\u043a\u043e\u0435 \u0441\u0430\u043c\u043e\u0443\u0431\u0438\u0439\u0441\u0442\u0432\u043e \u0432 \u043c\u0438\u0440\u0435 \u043a\u043b\u0435\u0442\u043e\u0447\u043d\u044b\u0445 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u043e\u0432:<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/gp\/ok\/tv\/gpoktvk7h83btslw7edspkzv7fm.gif\" alt=\"Gosper glider gun\" width=\"384\" height=\"384\"><\/div>\n<h3>\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430<\/h3>\n<p>  \u0427\u0442\u043e \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438, \u0442\u043e \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u043a\u0430\u0436\u0434\u0430\u044f \u043a\u043b\u0435\u0442\u043a\u0430 \u0432 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u043f\u043e\u043b\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u0432\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c 1 \u0431\u0438\u0442 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438. \u0422\u0430\u043a, \u043f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u0432\u044b\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u0431\u0443\u0444\u0435\u0440 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c n^2 \/ 8 \u0431\u0430\u0439\u0442. \u042d\u0442\u043e \u0443\u043b\u0443\u0447\u0448\u0430\u0435\u0442 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0441\u043d\u0438\u0436\u0430\u0435\u0442 \u043e\u0431\u044a\u0451\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0435\u043c\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438, \u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0435\u0449\u0451 \u0431\u043e\u043b\u0435\u0435 \u0445\u0438\u0442\u0440\u043e\u0443\u043c\u043d\u044b\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438, \u043e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043d\u0438\u0436\u0435. \u0418\u0433\u0440\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u043e\u0435 \u0438 \u0435\u0433\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u0430 \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 2, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u0437\u0430\u0442\u0435\u043c, \u0447\u0442\u043e\u0431\u044b \u0431\u0435\u0437 \u043e\u0441\u0442\u0430\u0442\u043a\u0430 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0442\u044c \u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 8.<\/p>\n<p>  \u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u043e \u0432\u044b\u0434\u0435\u043b\u044f\u044e\u0442\u0441\u044f \u0434\u0432\u0430 \u0441\u043b\u043e\u044f, \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0437\u0430 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f:<\/p>\n<ul>\n<li>\u043d\u0438\u0437\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u2014 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u043e\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0439; \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043d\u0430 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Metal_(API)\" rel=\"nofollow\">Metal API<\/a> \u2014 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0435 API \u043e\u0442 Apple \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c GPU \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u0445 \u043e\u0442 Apple, \u0430 \u0442\u0430\u043a\u0436\u0435 fallback-\u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043d\u0430 CPU. \u041e\u0434\u043d\u043e \u0432\u0440\u0435\u043c\u044f \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043b\u0430 \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0430 <a href=\"https:\/\/ru.wikipedia.org\/wiki\/OpenCL\" rel=\"nofollow\">OpenCL<\/a>. \u041f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043d\u0430 <a href=\"https:\/\/ru.wikipedia.org\/wiki\/Vulkan_(API)\" rel=\"nofollow\">Vulkan API<\/a> \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043d\u0430 Android<\/li>\n<li>\u0432\u044b\u0441\u043e\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u2014 \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0439; \u043f\u043e \u0441\u0443\u0442\u0438 \u043a\u043b\u0430\u0441\u0441-\u0448\u0430\u0431\u043b\u043e\u043d\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434, \u0434\u0435\u043b\u0435\u0433\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043d\u0443\u0436\u043d\u044b\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u043d\u0430 \u043d\u0438\u0437\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c<\/li>\n<\/ul>\n<p>  <\/p>\n<h3>\u041d\u0438\u0437\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c<\/h3>\n<p>  \u0417\u0430\u0434\u0430\u0447\u0430 \u043d\u0438\u0437\u043a\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432 \u0440\u0430\u0441\u0447\u0451\u0442\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u0438 \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c. \u0412 \u043f\u0430\u043c\u044f\u0442\u0438 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0434\u0432\u0430 \u0431\u0443\u0444\u0435\u0440\u0430 n^2 \/ 8 \u0431\u0430\u0439\u0442. \u041f\u0435\u0440\u0432\u044b\u0439 \u0431\u0443\u0444\u0435\u0440 \u0441\u043b\u0443\u0436\u0438\u0442 \u043a\u0430\u043a input \u2014 \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044f. \u0412\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0444\u0435\u0440 \u2014 \u043a\u0430\u043a output, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u043e\u0432\u043e\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0440\u0430\u0441\u0447\u0451\u0442\u043e\u0432. \u041f\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0438 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c swap \u0431\u0443\u0444\u0435\u0440\u043e\u0432 \u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0448\u0430\u0433 \u0438\u0433\u0440\u044b \u0433\u043e\u0442\u043e\u0432. \u0422\u0430\u043a\u0430\u044f \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0430\u0441\u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u0438\u0442\u044c \u0440\u0430\u0441\u0447\u0451\u0442\u044b \u0432 \u0441\u0438\u043b\u0443 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u0438 input. \u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u043e\u0442\u043e\u043a \u043c\u043e\u0436\u0435\u0442 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043a\u043b\u0435\u0442\u043a\u0438 \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044f.<\/p>\n<p>  \u0417\u0430 \u0441\u0447\u0451\u0442 \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438 GPU-\u043f\u043e\u0434\u0445\u043e\u0434 \u0434\u043e\u0431\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438. \u041d\u0430 CPU \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0440\u0430\u0441\u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u0438\u0432\u0430\u043d\u0438\u0435, \u043d\u043e, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0441 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u043c\u0435\u043d\u044c\u0448\u0438\u043c \u0447\u0438\u0441\u043b\u043e\u043c \u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u0438 \u043c\u0435\u043d\u044c\u0448\u0435\u0439 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c\u044e, \u0447\u0442\u043e \u043e\u0442\u0440\u0430\u0436\u0435\u043d\u043e \u0432 \u0441\u0435\u043a\u0446\u0438\u0438 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u043e\u0432 \u043d\u0438\u0436\u0435. \u0421\u0430\u043c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u0435\u043d \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439 \u0438 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c. <\/p>\n<p>  \u041d\u0430\u0437\u043e\u0432\u0451\u043c \u0430\u0442\u043e\u043c\u0430\u0440\u043d\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0435\u0439 \u0440\u0430\u0441\u0447\u0451\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u0431\u0430\u0439\u0442\u0430 \u0431\u0443\u0444\u0435\u0440\u0430, \u0445\u0440\u0430\u043d\u044f\u0449\u0435\u0433\u043e \u0438\u0433\u0440\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435, \u0442\u043e \u0435\u0441\u0442\u044c \u0440\u0430\u0441\u0447\u0451\u0442 \u0432\u043e\u0441\u044c\u043c\u0438 \u043a\u043b\u0435\u0442\u043e\u043a. \u042d\u0442\u043e\u0442 \u0440\u0430\u0441\u0447\u0451\u0442 \u0441\u043e\u0432\u0435\u0440\u0448\u0430\u0435\u0442\u0441\u044f \u043e\u0434\u043d\u0438\u043c \u043f\u043e\u0442\u043e\u043a\u043e\u043c \u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0445 \u0432\u043e\u0441\u044c\u043c\u0438 \u0431\u0430\u0439\u0442\u0430\u0445. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0441\u0445\u0435\u043c\u0430\u0442\u0438\u0447\u043d\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u043e\u0434\u0438\u043d \u0431\u0430\u0439\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0433\u0434\u0435 \u0442\u043e\u0447\u043a\u0430 \u2014 \u044d\u0442\u043e \u0431\u0438\u0442:<\/p>\n<pre><code class=\"plaintext\">[........] <\/code><\/pre>\n<p>  \u0410 \u0443\u0447\u0430\u0441\u0442\u043e\u043a \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0438\u043c \u043d\u0430\u0441 \u0431\u0430\u0439\u0442\u043e\u043c \u0438 \u0435\u0433\u043e \u0432\u043e\u0441\u0435\u043c\u044c\u044e \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u043c\u0438 \u0431\u0430\u0439\u0442\u0430\u043c\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0437\u0438\u043c \u0442\u0430\u043a:<\/p>\n<pre><code class=\"plaintext\">[........][........][........] [........][********][........] [........][........][........] <\/code><\/pre>\n<p>  \u0418\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u0440\u0438\u0441\u0443\u043d\u043a\u0430, \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0433\u0430\u0434\u0430\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0432\u0441\u0435 \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0435 \u043a\u043b\u0435\u0442\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0443\u043b\u043e\u0436\u0438\u0442\u044c \u0432 \u043e\u0434\u0438\u043d uint64_t (\u043d\u0430\u0437\u043e\u0432\u0451\u043c \u0435\u0433\u043e neighbours), \u0430 \u0435\u0449\u0451 \u0432 \u043e\u0434\u043d\u043e\u043c uint8_t (\u043d\u0430\u0437\u043e\u0432\u0451\u043c \u0435\u0433\u043e self), \u0431\u0443\u0434\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0441\u043e\u0441\u0435\u0434\u044f\u0445 \u0432 \u0441\u0430\u043c\u043e\u043c \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u043e\u043c \u0431\u0430\u0439\u0442\u0435.<\/p>\n<p>  \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0440\u0430\u0441\u0447\u0451\u0442 0-\u0433\u043e \u0431\u0438\u0442\u0430 \u0446\u0435\u043b\u0435\u0432\u043e\u0433\u043e \u0431\u0430\u0439\u0442\u0430. \u0417\u0432\u0451\u0437\u0434\u043e\u0447\u043a\u043e\u0439 \u043e\u0442\u043c\u0435\u0442\u0438\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0438\u0439 \u0431\u0438\u0442, \u0430 \u043d\u0443\u043b\u0451\u043c \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0435 \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u0431\u0438\u0442\u044b:<\/p>\n<pre><code class=\"plaintext\">[.......0][00......][........] [.......0][*0......][........] [.......0][00......][........] <\/code><\/pre>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u0441\u043b\u043e\u0436\u043d\u0435\u0435. \u0417\u0434\u0435\u0441\u044c \u0437\u0432\u0451\u0437\u0434\u043e\u0447\u043a\u043e\u0439 \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u044b 0-\u0439, 3-\u0439 \u0438 7-\u0439 \u0431\u0438\u0442\u044b \u0446\u0435\u043b\u0435\u0432\u043e\u0433\u043e \u0431\u0430\u0439\u0442\u0430 \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 \u0447\u0438\u0441\u043b\u0430\u043c\u0438 \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0435 \u0431\u0438\u0442\u044b:<\/p>\n<pre><code class=\"plaintext\">[.......0][00333.77][7.......] [.......0][*03*3.7*][7.......] [.......0][00333.77][7.......] <\/code><\/pre>\n<p>  \u0414\u0443\u043c\u0430\u044e, \u043a\u0442\u043e-\u0442\u043e \u0438\u0437 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u0435\u0439 \u0443\u0436\u0435 \u0434\u043e\u0433\u0430\u0434\u0430\u043b\u0441\u044f, \u0432 \u0447\u0451\u043c \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043c\u0430\u0433\u0438\u044f. \u0418\u043c\u0435\u044f \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u043b\u0438\u0448\u044c \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0431\u0438\u0442\u043e\u0432\u044b\u0435 \u043c\u0430\u0441\u043a\u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0431\u0438\u0442\u0430 \u0446\u0435\u043b\u0435\u0432\u043e\u0433\u043e \u0431\u0430\u0439\u0442\u0430 \u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0438\u0445 \u043a neighbours \u0438 self \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0441\u0442\u0430\u043d\u0443\u0442 2 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0441\u0443\u043c\u043c\u0430 \u0435\u0434\u0438\u043d\u0438\u0447\u043d\u044b\u0445 \u0431\u0438\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0431\u0443\u0434\u0435\u0442 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0447\u0438\u0441\u043b\u043e \u0441\u043e\u0441\u0435\u0434\u0435\u0439, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0438\u0433\u0440\u044b \u00ab\u0416\u0438\u0437\u043d\u044c\u00bb: 2 \u0438\u043b\u0438 3 \u0431\u0438\u0442\u0430 \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f \u0436\u0438\u0437\u043d\u0438 \u0432 \u0436\u0438\u0432\u043e\u0439 \u043a\u043b\u0435\u0442\u043a\u0435 \u0438 3 \u0431\u0438\u0442\u0430 \u0434\u043b\u044f \u0437\u0430\u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0439 \u0436\u0438\u0437\u043d\u0438 \u0432 \u043f\u0443\u0441\u0442\u043e\u0439 \u043a\u043b\u0435\u0442\u043a\u0435. \u0412 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043a\u043b\u0435\u0442\u043a\u0430 \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f\/\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043f\u0443\u0441\u0442\u043e\u0439.<\/p>\n<p>  \u041e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043d\u0438\u0436\u043d\u0435\u043c \u0443\u0440\u043e\u0432\u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0442 \u043a\u0430\u0436\u0434\u044b\u0439 \u0448\u0430\u0433 \u0438\u0433\u0440\u044b, \u0438 \u043f\u043e\u043b\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0446\u0435\u043b\u0438\u043a\u043e\u043c \u0432\u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0435\u0433\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0438 \u0431\u0435\u0437 \u0442\u0440\u044e\u043a\u043e\u0432 \u0441 \u043c\u0435\u043c\u043e\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0430-\u043b\u044f <a href=\"https:\/\/en.wikipedia.org\/wiki\/Hashlife\" rel=\"nofollow\">Hashlife<\/a>.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0433\u043e \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u0431\u0443\u0444\u0435\u0440\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043d\u043d\u044b\u043c. <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041a\u043e\u0434 Metal-\u0448\u0435\u0439\u0434\u0435\u0440\u0430 \u043f\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 1 \u0431\u0430\u0439\u0442\u0430<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cpp\">\/\/ \u0411\u0440\u043e\u0441\u0430\u0435\u0442\u0441\u044f \u0432 \u0433\u043b\u0430\u0437\u0430 C++-\u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 #include &lt;metal_stdlib&gt; #include &lt;metal_integer&gt;  using namespace metal;  \/\/ \u0412\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u043a\u043b\u0435\u0442\u043a\u0438 ushort2 pos(uint id)  {    return ushort2(id % WIDTH, id \/ HEIGHT);  } uint idx(ushort2 pos)  {    return pos.x + pos.y * HEIGHT;  } ushort2 loopPos(short x, short y)  {    return ushort2((x + WIDTH) % WIDTH, (y + HEIGHT) % HEIGHT);  }  \/\/ \u0411\u0438\u0442\u043e\u0432\u044b\u0435 \u043c\u0430\u0441\u043a\u0438 \u0434\u043b\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u0441\u043e\u0441\u0435\u0434\u0435\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0435\u0433\u043e \u0431\u0438\u0442\u0430 template&lt;uint Bit&gt;  struct Mask  {    constant constexpr static uint c_n_e_s_w = 0x70007 &lt;&lt; (Bit - 1);    constant constexpr static uint c_nw_ne_se_sw = 0x0;    constant constexpr static uint c_self = 0x5 &lt;&lt; (Bit - 1);  }; template&lt;&gt;  struct Mask&lt;0&gt;  {    constant constexpr static uint c_n_e_s_w = 0x80030003;    constant constexpr static uint c_nw_ne_se_sw = 0x80000080;    constant constexpr static uint c_self = 0x2;  }; template&lt;&gt;  struct Mask&lt;7&gt;  {    constant constexpr static uint c_n_e_s_w = 0xC001C0;    constant constexpr static uint c_nw_ne_se_sw = 0x10100;    constant constexpr static uint c_self = 0x40;  };  \/\/ \u0414\u043b\u044f \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0431\u0438\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043a\u043b\u0435\u0442\u043a\u0438 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0435\u0451 \u0441\u043e\u0441\u0435\u0434\u0435\u0439, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0431\u0438\u0442\u0443 \u043c\u0430\u0441\u043a\u0438 template&lt;uint Bit&gt; uint isAlive(uint self, uint n_e_s_w, uint nw_ne_se_sw)  {    \/*   [.......0][00333.77][7.......]   [.......0][*03*3.7*][7.......]   [.......0][00333.77][7.......]   *\/   \/\/ \u0414\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0432 Metal \u043d\u0435 \u0431\u044b\u043b\u043e 64-\u0431\u0438\u0442\u043d\u043e\u0433\u043e \u0446\u0435\u043b\u043e\u0433\u043e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0434\u0432\u0435 \u043c\u0430\u0441\u043a\u0438   uint neighbours = popcount(Mask&lt;Bit&gt;::c_n_e_s_w &amp; n_e_s_w)      + popcount(Mask&lt;Bit&gt;::c_nw_ne_se_sw &amp; nw_ne_se_sw)      + popcount(Mask&lt;Bit&gt;::c_self &amp; self);     return static_cast&lt;uint&gt;((self &gt;&gt; Bit &amp; 1) == 0      ? neighbours == 3      : neighbours == 2 || neighbours == 3) &lt;&lt; Bit; }  \/\/ \u042f\u0437\u044b\u043a Metal \u0434\u0430\u0436\u0435 \u0443\u043c\u0435\u0435\u0442 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u043d\u0443\u044e \u043c\u0430\u0433\u0438\u044e template&lt;uint Bit&gt; uint calculateLife(uint self, uint n_e_s_w, uint nw_ne_se_sw)  {    return isAlive&lt;Bit&gt;(self, n_e_s_w, nw_ne_se_sw)      | calculateLife&lt;Bit - 1&gt;(self, n_e_s_w, nw_ne_se_sw);  } template&lt;&gt; uint calculateLife&lt;0&gt;(uint self, uint n_e_s_w, uint nw_ne_se_sw) {   return isAlive&lt;0&gt;(self, n_e_s_w, nw_ne_se_sw);  }  \/\/ \u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f compute-\u0448\u0435\u0439\u0434\u0435\u0440\u0430. \u041d\u0430 \u0432\u0445\u043e\u0434 \u043f\u043e\u0434\u0430\u044e\u0442\u0441\u044f \u0434\u0432\u0430 \u0431\u0443\u0444\u0435\u0440\u0430, \u043e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0440\u0435\u0447\u044c \u0448\u043b\u0430 \u0432\u044b\u0448\u0435 - \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u043d\u044b\u0439 input \u0438 output, \u0430 \u0442\u0430\u043a\u0436\u0435 id - \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430 \u0446\u0435\u043b\u0435\u0432\u043e\u0433\u043e \u0431\u0430\u0439\u0442\u0430 kernel void lifeStep(constant uchar* input [[buffer(0)]],                              device uchar* output [[buffer(1)]],                              uint id [[thread_position_in_grid]])  {    ushort2 gid = pos(id * 8);    \/\/ \u0412\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u043c \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0435 \u0431\u0430\u0439\u0442\u044b   uint nw = idx(loopPos(gid.x - 8, gid.y + 1));    uint n  = idx(loopPos(gid.x,     gid.y + 1));    uint ne = idx(loopPos(gid.x + 8, gid.y + 1));    uint e  = idx(loopPos(gid.x + 8, gid.y    ));    uint se = idx(loopPos(gid.x + 8, gid.y - 1));    uint s  = idx(loopPos(gid.x    , gid.y - 1));    uint sw = idx(loopPos(gid.x - 8, gid.y - 1));    uint w  = idx(loopPos(gid.x - 8, gid.y    ));     \/\/ \u0412\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u043c \u0431\u0430\u0439\u0442 \u0441 \u0446\u0435\u043b\u0435\u0432\u044b\u043c \u0431\u0438\u0442\u043e\u043c   uint self = static_cast&lt;uint&gt;(input[id]);     \/\/ \u041f\u043e\u0434\u0433\u043e\u0442\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0431\u0438\u0442\u043e\u0432\u044b\u0435 \u043c\u0430\u0441\u043a\u0438 \u0441 \u0441\u043e\u0441\u0435\u0434\u044f\u043c\u0438   \/\/ north_east_south_west   uint n_e_s_w = static_cast&lt;uint&gt;(input[n &gt;&gt; 3]) &lt;&lt; 0 * 8      | static_cast&lt;uint&gt;(input[e &gt;&gt; 3]) &lt;&lt; 1 * 8      | static_cast&lt;uint&gt;(input[s &gt;&gt; 3]) &lt;&lt; 2 * 8      | static_cast&lt;uint&gt;(input[w &gt;&gt; 3]) &lt;&lt; 3 * 8;     \/\/ north-west_north-east_south-east_south-west   uint nw_ne_se_sw = static_cast&lt;uint&gt;(input[nw &gt;&gt; 3]) &lt;&lt; 0 * 8      | static_cast&lt;uint&gt;(input[ne &gt;&gt; 3]) &lt;&lt; 1 * 8      | static_cast&lt;uint&gt;(input[se &gt;&gt; 3]) &lt;&lt; 2 * 8      | static_cast&lt;uint&gt;(input[sw &gt;&gt; 3]) &lt;&lt; 3 * 8;       \/\/ \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u0435 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432\u0441\u0435 8 \u043a\u043b\u0435\u0442\u043e\u043a \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u0431\u0430\u0439\u0442\u0430   output[id] = static_cast&lt;uchar&gt;(calculateLife&lt;7&gt;(self, n_e_s_w, nw_ne_se_sw));  }; <\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  <\/p>\n<h3>\u0412\u044b\u0441\u043e\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c<\/h3>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0438\u0433\u043d\u0430\u043b\u0430 \u0441 \u043d\u0438\u0436\u043d\u0435\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0440\u0430\u0441\u0447\u0451\u0442 \u043e\u043a\u043e\u043d\u0447\u0435\u043d, \u043d\u0430 \u0432\u044b\u0441\u043e\u043a\u043e\u043c \u0443\u0440\u043e\u0432\u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u0441\u0435\u0433\u043e \u0431\u0443\u0444\u0435\u0440\u0430 \u0441 \u0446\u0435\u043b\u044c\u044e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u043f\u043e\u0442\u043e\u043a\u043e\u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0433\u043e \u0447\u0442\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0438 \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0433\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0438\u0433\u0440\u044b \u043f\u0440\u0438 \u0432\u044b\u0445\u043e\u0434\u0435. <\/p>\n<p>  \u041e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0430 \u043a\u043b\u0435\u0442\u043e\u043a \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 Qt, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439 \u0432 QImage. \u0418\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d \u0432 QML. \u041f\u0438\u043a\u0441\u0435\u043b\u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u043b\u0438\u0448\u044c \u0434\u043b\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0432\u0438\u0434\u0438\u043c\u043e\u0433\u043e \u0438\u0433\u0440\u043e\u043a\u0443 \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044f. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0443\u0434\u0430\u0451\u0442\u0441\u044f \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043b\u0438\u0448\u043d\u0438\u0445 \u0437\u0430\u0442\u0440\u0430\u0442 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u043d\u0430 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0443.<\/p>\n<p>  \u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043a\u0430\u043a \u043d\u0430 \u043d\u0438\u0436\u043d\u0435\u043c, \u0442\u0430\u043a \u0438 \u043d\u0430 \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u0443\u0440\u043e\u0432\u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u043e\u0442\u043e\u043a\u0430\u0445. \u041d\u0430 \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u0443\u0440\u043e\u0432\u043d\u0435 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432\u0432\u043e\u0434 \u043d\u043e\u0432\u044b\u0445 \u043a\u043b\u0435\u0442\u043e\u043a, \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0445 \u043f\u0430\u0442\u0442\u0435\u0440\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0431\u0440\u0430\u043b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c. \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0447\u0442\u043e \u044d\u0442\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u043b\u043e\u0433\u0438\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043c\u044c\u044e\u0442\u0435\u043a\u0441. \u0414\u043b\u044f \u0432\u0441\u0435\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u0430\u043a \u043d\u0430 \u0432\u0435\u0440\u0445\u043d\u0435\u043c, \u0442\u0430\u043a \u0438 \u043d\u0430 \u043d\u0438\u0436\u043d\u0435\u043c \u0443\u0440\u043e\u0432\u043d\u0435 \u0438 \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0430\u0442\u043e\u043c\u0430\u0440\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435. <\/p>\n<h3>\u0411\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0438<\/h3>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0437\u0430\u043c\u0435\u0440\u043e\u0432 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0438\u0433\u0440\u044b \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432 \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0445. \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0445 \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u0432 \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445. \u041f\u0440\u0438 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u0442\u0435\u0441\u0442\u043e\u0432 \u0438\u0433\u0440\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u043b\u043e\u0441\u044c \u0436\u0438\u0437\u043d\u044c\u044e \u043d\u0430 50% \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b.<\/p>\n<p>  \u0412 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0445 \u0435\u0441\u0442\u044c \u0437\u0430\u043c\u0435\u0440\u044b \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0438\u0436\u043d\u0435\u0433\u043e \u0438 \u0432\u0435\u0440\u0445\u043d\u0435\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f, \u043f\u0440\u0438\u0447\u0451\u043c \u0431\u0435\u0440\u0443\u0442\u0441\u044f \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u0410 \u0434\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u043e\u0431\u0449\u0435\u0439 \u043a\u0430\u0440\u0442\u0438\u043d\u044b \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u0437\u0430\u043c\u0435\u0440\u044b \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f 100 \u0448\u0430\u0433\u043e\u0432 \u0438\u0433\u0440\u044b \u0438 \u0441\u0440\u0435\u0434\u043d\u0435\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0448\u0430\u0433\u0430. \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0443 \u0438 \u043f\u0440\u043e\u0447\u0438\u0435 \u0441\u043e\u043f\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438.<\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">MacBook Pro 2014<\/b>                         <\/p>\n<div class=\"spoiler_text\">Processor 2,6 GHz Dual-Core Intel Core i5<br \/>  Memory 8 GB 1600 MHz DDR3<br \/>  Graphics Intel Iris 1536 MB  <\/div>\n<\/p><\/div>\n<p>   <\/p>\n<div class=\"scrollable-table\">\n<table>\n<caption><b>GPU \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f<\/b><\/caption>\n<thead>\n<tr>\n<th><\/th>\n<th>1024<\/th>\n<th>2048<\/th>\n<th>4096<\/th>\n<th>8192<\/th>\n<th>16384<\/th>\n<th>32768<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u041d\u0438\u0437\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c (min)<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>2<\/td>\n<td>9<\/td>\n<td>43<\/td>\n<td>170<\/td>\n<\/tr>\n<tr>\n<td>\u0412\u044b\u0441\u043e\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c (min)<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>12<\/td>\n<td>55<\/td>\n<\/tr>\n<tr>\n<td>100 \u0448\u0430\u0433\u043e\u0432<\/td>\n<td>293<\/td>\n<td>446<\/td>\n<td>1271<\/td>\n<td>2700<\/td>\n<td>8603<\/td>\n<td>54287<\/td>\n<\/tr>\n<tr>\n<td>\u0412\u0440\u0435\u043c\u044f \u043d\u0430 \u0448\u0430\u0433 (avg)<\/td>\n<td>3<\/td>\n<td>4<\/td>\n<td>13<\/td>\n<td>27<\/td>\n<td>86<\/td>\n<td>542<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>   <\/p>\n<div class=\"scrollable-table\">\n<table>\n<caption><b>CPU \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f<\/b><\/caption>\n<thead>\n<tr>\n<th><\/th>\n<th>1024<\/th>\n<th>2048<\/th>\n<th>4096<\/th>\n<th>8192<\/th>\n<th>16384<\/th>\n<th>32768<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u041d\u0438\u0437\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c (min)<\/td>\n<td>3<\/td>\n<td>25<\/td>\n<td>117<\/td>\n<td>552<\/td>\n<td>2077<\/td>\n<td>21388<\/td>\n<\/tr>\n<tr>\n<td>\u0412\u044b\u0441\u043e\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c (min)<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>4<\/td>\n<td>51<\/td>\n<\/tr>\n<tr>\n<td>100 \u0448\u0430\u0433\u043e\u0432<\/td>\n<td>944<\/td>\n<td>3894<\/td>\n<td>15217<\/td>\n<td>65149<\/td>\n<td>231260<\/td>\n<td>&#8212;<\/td>\n<\/tr>\n<tr>\n<td>\u0412\u0440\u0435\u043c\u044f \u043d\u0430 \u0448\u0430\u0433 (avg)<\/td>\n<td>9<\/td>\n<td>39<\/td>\n<td>152<\/td>\n<td>651<\/td>\n<td>2312<\/td>\n<td>&#8212;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">MacBook Pro 2017<\/b>                         <\/p>\n<div class=\"spoiler_text\">Processor 2.8 GHz Intel Core i7<br \/>  Memory 16 GB 2133 MHz LPDDR3<br \/>  Graphics Intel HD Graphics 630 1536 MB  <\/div>\n<\/p><\/div>\n<p>   <\/p>\n<div class=\"scrollable-table\">\n<table>\n<caption><b>GPU \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f<\/b><\/caption>\n<thead>\n<tr>\n<th><\/th>\n<th>1024<\/th>\n<th>2048<\/th>\n<th>4096<\/th>\n<th>8192<\/th>\n<th>16384<\/th>\n<th>32768<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u041d\u0438\u0437\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c (min)<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>2<\/td>\n<td>8<\/td>\n<td>38<\/td>\n<\/tr>\n<tr>\n<td>\u0412\u044b\u0441\u043e\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c (min)<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>3<\/td>\n<td>13<\/td>\n<\/tr>\n<tr>\n<td>100 \u0448\u0430\u0433\u043e\u0432<\/td>\n<td>35<\/td>\n<td>67<\/td>\n<td>163<\/td>\n<td>450<\/td>\n<td>1451<\/td>\n<td>5886<\/td>\n<\/tr>\n<tr>\n<td>\u0412\u0440\u0435\u043c\u044f \u043d\u0430 \u0448\u0430\u0433 (avg)<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>2<\/td>\n<td>5<\/td>\n<td>15<\/td>\n<td>59<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>   <\/p>\n<div class=\"scrollable-table\">\n<table>\n<caption><b>CPU \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f<\/b><\/caption>\n<thead>\n<tr>\n<th><\/th>\n<th>1024<\/th>\n<th>2048<\/th>\n<th>4096<\/th>\n<th>8192<\/th>\n<th>16384<\/th>\n<th>32768<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u041d\u0438\u0437\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c (min)<\/td>\n<td>1<\/td>\n<td>7<\/td>\n<td>33<\/td>\n<td>136<\/td>\n<td>699<\/td>\n<td>2475<\/td>\n<\/tr>\n<tr>\n<td>\u0412\u044b\u0441\u043e\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c (min)<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>3<\/td>\n<td>18<\/td>\n<\/tr>\n<tr>\n<td>100 \u0448\u0430\u0433\u043e\u0432<\/td>\n<td>434<\/td>\n<td>1283<\/td>\n<td>4262<\/td>\n<td>18377<\/td>\n<td>79656<\/td>\n<td>264711<\/td>\n<\/tr>\n<tr>\n<td>\u0412\u0440\u0435\u043c\u044f \u043d\u0430 \u0448\u0430\u0433 (avg)<\/td>\n<td>4<\/td>\n<td>13<\/td>\n<td>43<\/td>\n<td>184<\/td>\n<td>797<\/td>\n<td>2647<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>  \u0412\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043d\u0430 \u0441\u0442\u0430\u0440\u0435\u043d\u044c\u043a\u043e\u043c \u043c\u0430\u043a\u0431\u0443\u043a\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441 \u043e\u0433\u0440\u043e\u043c\u043d\u044b\u043c \u0438\u0433\u0440\u043e\u0432\u044b\u043c \u043f\u043e\u043b\u0435\u043c \u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043d\u0435\u044e\u0437\u0430\u0431\u0435\u043b\u044c\u043d\u044b\u043c. \u0414\u0430\u0436\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 \u043d\u043e\u0432\u043e\u0433\u043e \u043c\u0430\u043a\u0431\u0443\u043a\u0430 \u0435\u0434\u0432\u0430 \u0432\u044b\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u0442 \u0442\u0430\u043a\u043e\u0439 \u043e\u0431\u044a\u0451\u043c \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439. \u0417\u0430\u0442\u043e \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442\u0430 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u0435\u0432\u043e\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 \u043a\u0430\u043a \u043d\u0430 \u0441\u0442\u0430\u0440\u043e\u043c, \u0442\u0430\u043a \u0438 \u043d\u0430 \u043d\u043e\u0432\u043e\u043c \u0436\u0435\u043b\u0435\u0437\u0435. \u0421 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c GPU \u043d\u043e\u0432\u044b\u0439 \u043c\u0430\u043a\u0431\u0443\u043a \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0432\u043f\u043e\u043b\u043d\u0435 \u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u043e\u043f\u044b\u0442 \u0434\u0430\u0436\u0435 \u043d\u0430 \u043e\u0433\u0440\u043e\u043c\u043d\u044b\u0445 \u0438\u0433\u0440\u043e\u0432\u044b\u0445 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430\u0445.<\/p>\n<h3>\u0418\u0442\u043e\u0433<\/h3>\n<p>  \u041d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0438\u0433\u0440\u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0441\u0442\u0430\u0434\u0438\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 \u0438 \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0437\u0430\u0442\u0430\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b, \u0430 \u043f\u043e\u0442\u043e\u043c\u0443 \u043d\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430\u0445 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0445\u0440\u043e\u043c\u0430\u0435\u0442. <\/p>\n<p>  \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u044f \u043d\u0435 \u0441\u0442\u0430\u0432\u0438\u043b \u0446\u0435\u043b\u044c\u044e \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0439, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c \u0434\u0432\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u043e\u0434\u0438\u043d \u043a \u043e\u0434\u043d\u043e\u043c\u0443 \u043d\u0435\u043b\u044c\u0437\u044f, \u0437\u0430\u0442\u043e \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u0440\u0430\u0441\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0442\u0435\u043c\u0443 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u0430 GPU \u0438 CPU \u0441\u043e \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u043f\u0440\u0435\u0432\u043e\u0441\u0445\u043e\u0434\u0441\u0442\u0432\u043e\u043c \u043f\u0435\u0440\u0432\u043e\u0433\u043e.<\/p>\n<p>  \u0412 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0438 \u043d\u0430 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u0445. \u041f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u0440\u0430\u043d\u043d\u0435\u0439 \u0441\u0442\u0430\u0434\u0438\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0430 \u043f\u043e\u0442\u043e\u043c\u0443 Apple-Developer \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0442\u0430\u043a\u0438\u0445 \u0442\u0435\u0441\u0442\u043e\u0432 \u0441\u0435\u0439\u0447\u0430\u0441 \u0443 \u043c\u0435\u043d\u044f \u043d\u0435\u0442. <\/p>\n<p>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435! \u0411\u0443\u0434\u0443 \u0440\u0430\u0434 \u043b\u044e\u0431\u044b\u043c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c \u043a \u0441\u0442\u0430\u0442\u044c\u0435 \u0438 \u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0443:<br \/>  <a href=\"https:\/\/github.com\/gmoximko\/GoL\/tree\/benchmarks\" rel=\"nofollow\">\u041a\u043e\u0434 \u043d\u0430 GitHub.<\/a><\/p>\n<p>  <a href=\"https:\/\/github.com\/gmoximko\/GoL\/blob\/single_player\/GameLogic\/src\/metallifeprocessor.mm\" rel=\"nofollow\">\u041a\u043e\u0434 Metal \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0438\u0436\u043d\u0435\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f<\/a><\/p>\n<p>  <a href=\"https:\/\/github.com\/gmoximko\/GoL\/blob\/single_player\/GameLogic\/src\/cpulifeprocessor.cpp\" rel=\"nofollow\">\u041a\u043e\u0434 CPU \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0438\u0436\u043d\u0435\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f<\/a><\/p>\n<p>  <a href=\"https:\/\/github.com\/gmoximko\/GoL\/blob\/single_player\/GameLogic\/src\/lifeprocessor.cpp\" rel=\"nofollow\">\u041a\u043e\u0434 \u0432\u0435\u0440\u0445\u043d\u0435\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f<\/a><\/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\/506518\/\"> https:\/\/habr.com\/ru\/post\/506518\/<\/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\/506518\/\">\n<h3>\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442!<\/h3>\n<p>  \u041d\u0435\u0434\u0430\u0432\u043d\u044f\u044f <a href=\"https:\/\/habr.com\/ru\/post\/505606\/\">\u0441\u0442\u0430\u0442\u044c\u044f<\/a> \u043d\u0430 \u0425\u0430\u0431\u0440\u0435 \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0440\u0430\u0437 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0430 \u043d\u0435\u043e\u0441\u0442\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441 \u043a \u0438\u0433\u0440\u0435 \u00ab\u0416\u0438\u0437\u043d\u044c\u00bb \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u0438 \u0432\u0441\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u043c \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f\u043c \u0432 \u043e\u0431\u0449\u0435\u043c. \u0421\u0442\u0430\u0442\u044c\u044f \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a \u043d\u0435\u0439, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043b\u044e\u0431\u043e\u043f\u044b\u0442\u0441\u0442\u0432\u043e \u043a \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f\u043c \u043d\u0430 GPU, \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0438\u043b\u0438 \u043c\u0435\u043d\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c\u0438 \u0438\u0437\u044b\u0441\u043a\u0430\u043d\u0438\u044f\u043c\u0438 \u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u043e\u043f\u0440\u0438\u0449\u0435 \u0438, \u0437\u0430\u0431\u0435\u0433\u0430\u044f \u0432\u043f\u0435\u0440\u0451\u0434, \u0441\u043a\u0430\u0436\u0443, \u0447\u0442\u043e \u043f\u043e\u0432\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0439\u0434\u0451\u0442 \u043e \u0440\u0430\u0441\u0447\u0451\u0442\u0430\u0445 \u043d\u0430 GPU, \u0431\u0438\u0442\u043e\u0432\u043e\u0439 \u043c\u0430\u0433\u0438\u0438, \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438 \u0438 \u043e\u0433\u0440\u043e\u043c\u043d\u044b\u0445 \u043f\u043e\u043b\u044f\u0445 \u0434\u043b\u044f \u0438\u0433\u0440\u044b \u00ab\u0416\u0438\u0437\u043d\u044c\u00bb, \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u043c\u0438\u043b\u043b\u0438\u0430\u0440\u0434\u0430 \u043a\u043b\u0435\u0442\u043e\u043a.<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/u-\/su\/ut\/u-suutkgbaqhcjigzptpnkqcnb4.gif\" width=\"384\" height=\"384\"><\/div>\n<p>  <\/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-306398","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/306398","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=306398"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/306398\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=306398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=306398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=306398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}