{"id":15395,"date":"2020-12-25T20:47:31","date_gmt":"2020-12-25T17:17:31","guid":{"rendered":"https:\/\/maktabkhooneh.org\/mag\/?p=15395"},"modified":"2026-04-06T21:03:56","modified_gmt":"2026-04-06T17:33:56","slug":"introducing-the-cython-programming-language","status":"publish","type":"post","link":"https:\/\/maktabkhooneh.org\/mag\/introducing-the-cython-programming-language\/","title":{"rendered":"\u0645\u0639\u0631\u0641\u06cc \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Cython"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u0645\u0639\u0631\u0641\u06cc \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Cython<\/span><\/h2>\n\n\n\n<p><span style=\"font-size: 16px;\"><strong>\u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Cython<\/strong> \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u067e\u06cc\u062f\u0627 \u06a9\u0631\u062f\u0646 \u0645\u0627\u0698\u0648\u0644 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0637\u0631\u0627\u062d\u06cc \u0634\u062f\u0647 \u0627\u0633\u062a. \u0634\u06cc\u0648\u0647 \u06a9\u0627\u0631 \u062f\u0631 Cython \u0628\u0647 \u0627\u06cc\u0646 \u0635\u0648\u0631\u062a \u0627\u0633\u062a \u06a9\u0647\u060c \u0627\u0628\u062a\u062f\u0627 \u0645\u0627\u0698\u0648\u0644 \u062e\u0648\u062f\u0634 \u0631\u0627 \u0628\u0627 \u06a9\u0645\u06a9 \u0642\u0648\u0627\u0646\u06cc\u0646 cython&nbsp; \u0648 \u067e\u0633\u0648\u0646\u062f .pyx \u0645\u06cc\u200c\u0646\u0648\u06cc\u0633\u062f\u060c \u0628\u0639\u062f \u0641\u0627\u06cc\u0644\u06cc \u0628\u0627 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0645\u06cc\u200c\u0633\u0627\u0632\u062f \u0648 \u0628\u0627 \u0646\u0635\u0628 \u0622\u0646 \u0633\u0627\u06cc\u062a\u0648\u0646 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0645\u06cc\u200c\u0634\u0648\u062f\u060c \u0633\u067e\u0633 \u0645\u0627\u0698\u0648\u0644 \u062a\u0648\u0633\u0637 \u0633\u0627\u06cc\u062a\u0648\u0646 \u0628\u0631\u0627\u06cc c&nbsp; \u062a\u0631\u062c\u0645\u0647 \u0645\u06cc\u200c\u06af\u0631\u062f\u062f. \u062f\u0631 \u0646\u0647\u0627\u06cc\u062a \u0645\u062a\u0646 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0628\u0647 \u0645\u0627\u0698\u0648\u0644 \u0642\u0627\u0628\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc\u200c\u0634\u0648\u062f(\u0627\u06cc\u0646 \u06a9\u0627\u0631 \u062a\u0648\u0633\u0637 \u06a9\u0627\u0645\u067e\u0627\u06cc\u0644\u0631 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u0634\u0648\u062f.) \u0628\u0631\u0627\u06cc \u0634\u0646\u0627\u062e\u062a \u0628\u06cc\u0634\u062a\u0631 <a href=\"https:\/\/maktabkhooneh.org\/mag\/introducing-the-cython-programming-language\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>\u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c \u0646\u0648\u06cc\u0633\u06cc Cython<\/strong><\/a> \u0628\u0627 \u0645\u0627 \u0647\u0645\u0631\u0627\u0647 \u0628\u0627\u0634\u06cc\u062f.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u06a9\u0627\u0631\u0628\u0631\u062f \u0632\u0628\u0627\u0646 \u0633\u0627\u06cc\u062a\u0648\u0646<\/span><\/h3>\n\n\n\n<p><span style=\"font-size: 16px;\"><strong>\u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Cython<\/strong> \u0628\u0631\u0627\u06cc \u0633\u0627\u062f\u0647\u200c\u062a\u0631 \u06a9\u0631\u062f\u0646 \u0633\u0627\u062e\u062a \u0627\u0641\u0632\u0648\u0646\u0647\u200c\u0647\u0627\u06cc c \u062a\u0648\u0633\u0637 \u067e\u0627\u06cc\u062a\u0648\u0646\u060c \u0637\u0631\u0627\u062d\u06cc \u0634\u062f\u0647 \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0632\u0628\u0627\u0646 \u0628\u0631\u0627\u06cc \u062a\u0628\u062f\u06cc\u0644 \u06a9\u062f\u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0628\u0647 c \u0645\u062c\u0648\u0632 \u0645\u06cc\u200c\u062f\u0647\u062f. \u06cc\u06a9\u06cc \u062f\u06cc\u06af\u0631 \u0627\u0632 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u0645\u0648\u062b\u0631 \u0648 \u0645\u0641\u06cc\u062f cython \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0631\u0627\u06cc \u06a9\u062f\u0647\u0627\u06cc \u0628\u0647\u06cc\u0646\u0647 \u0634\u062f\u0647 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc\u200c\u06a9\u0646\u062f \u06a9\u0647 \u0628\u062f\u0648\u0646 \u06a9\u0645\u06a9 \u06af\u0631\u0641\u062a\u0646 \u0627\u0632 \u0648\u0627\u0628\u0633\u062a\u06af\u06cc\u200c\u0647\u0627\u06cc \u062c\u0627\u0646\u0628\u06cc \u0628\u0627 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0647\u0645\u0631\u0627\u0647 \u06af\u0631\u062f\u0646\u062f.<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1000\" height=\"480\" src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/12\/introducing-the-cython-programming-language-1.jpg\" alt=\"\u0645\u0639\u0631\u0641\u06cc \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Cython\" class=\"wp-image-15524\" title=\"\" srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/12\/introducing-the-cython-programming-language-1.jpg 1000w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/introducing-the-cython-programming-language-1-300x144.jpg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/introducing-the-cython-programming-language-1-768x369.jpg.webp 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<p><span style=\"font-size: 16px;\">\u062d\u062a\u06cc \u0627\u06af\u0631 \u0634\u0645\u0627 \u0641\u0631\u062f\u06cc \u0645\u0628\u062a\u062f\u06cc \u0647\u0633\u062a\u06cc\u062f \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f <strong>\u0632\u0628\u0627\u0646 Cython<\/strong> \u0631\u0627 \u06cc\u0627\u062f \u0628\u06af\u06cc\u0631\u06cc\u062f \u0632\u06cc\u0631\u0627 \u0628\u0627 \u0648\u062c\u0648\u062f \u0627\u06cc\u0646\u200c\u06a9\u0647 \u0627\u06cc\u0646 \u0632\u0628\u0627\u0646 \u0628\u0633\u06cc\u0627\u0631 \u0642\u062f\u0631\u062a\u0645\u0646\u062f \u0627\u0633\u062a \u0627\u0645\u0627 \u06a9\u0627\u0631 \u0628\u0627 \u0622\u0646 \u0628\u0633\u06cc\u0627\u0631 \u0631\u0627\u062d\u062a \u0648 \u0622\u0633\u0627\u0646 \u0627\u0633\u062a. \u0627\u0644\u0628\u062a\u0647 \u0628\u0627\u06cc\u062f \u0628\u062f\u0627\u0646\u06cc\u062f \u06a9\u0647 \u0627\u06af\u0631 \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u0633\u0627\u06cc\u062a\u0648\u0646 \u0628\u0627 \u0622\u0645\u0627\u0631 \u0648 \u0631\u06cc\u0627\u0636\u06cc\u0627\u062a \u0633\u0631 \u0648 \u06a9\u0627\u0631 \u062f\u0627\u0631\u06cc\u062f\u060c \u0627\u062c\u0631\u0627\u06cc \u0622\u0646 \u0686\u0646\u062f\u0627\u0646 \u0633\u0631\u06cc\u0639 \u0627\u0646\u062c\u0627\u0645 \u0646\u0645\u06cc\u200c\u06af\u06cc\u0631\u062f.<\/span><\/p>\n\n\n<div class=\"jet-listing-grid--50192\" style=\"\"><style><\/style><section class=\"zht-related-post\" itemscope=\"\" itemtype=\"https:\/\/schema.org\/Article\" role=\"region\"\n  aria-label=\"Related article\">\n  <div class=\"zht-related-post-section-label\">\n    \u0645\u0637\u0627\u0644\u0628 \u0645\u0631\u062a\u0628\u0637\n  <\/div>\n  <img decoding=\"async\" width=\"300\" height=\"171\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/11\/dart-300x171.jpg.webp\" class=\"attachment-medium size-medium wp-post-image lazyload\" alt=\"\u0622\u0645\u0648\u0632\u0634 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u062f\u0627\u0631\u062a\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/11\/dart-300x171.jpg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/11\/dart-768x439.jpg.webp 768w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/11\/dart.jpg 945w\" data-sizes=\"(max-width: 300px) 100vw, 300px\" title=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/171;\">\n  <a href=\"https:\/\/maktabkhooneh.org\/mag\/introducing-the-dart-programming-language-in-the-simplest-way\/\" class=\"zht-related-post-title\"\n    itemprop=\"headline\" target=\"_blank\">\u0645\u0639\u0631\u0641\u06cc \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u062f\u0627\u0631\u062a \u0628\u0647 \u0633\u0627\u062f\u0647\u200c\u062a\u0631\u06cc\u0646 \u0631\u0648\u0634<\/a>\n<\/section><\/div>\n\n\n<h3 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u0645\u062b\u0627\u0644 \u06a9\u062f \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Cython<\/span><\/h3>\n\n\n\n<p><span style=\"font-size: 16px;\">\u06a9\u062f \u0632\u06cc\u0631 \u0645\u062b\u0627\u0644\u06cc \u0633\u0627\u062f\u0647 \u0627\u0632 \u0633\u0627\u062e\u062a \u06cc\u06a9 \u0645\u0627\u0698\u0648\u0644 \u0628\u0627 <strong>\u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Cython<\/strong> \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u062c\u0645\u0644\u0647 &#8220;hello World&#8221; \u0631\u0627 \u067e\u0631\u06cc\u0646\u062a \u06a9\u0646\u062f. (\u0645\u062a\u0646 \u0632\u06cc\u0631\u060c \u06a9\u062f \u0627\u0635\u0644\u06cc \u0645\u0627\u0698\u0648\u0644 \u0627\u0633\u062a \u06a9\u0647 \u062a\u0648\u0633\u0637 cython \u0628\u0627\u06cc\u062f \u0628\u0647 c \u062a\u0631\u062c\u0645\u0647 \u0634\u0648\u062f.)<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\"># hello.pyx\n\ndef say_hello():\n\n&nbsp; &nbsp; print \"Hello World!\"<\/span><\/pre>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0645\u062a\u0646 \u0632\u06cc\u0631 \u0646\u06cc\u0632 \u0641\u0627\u06cc\u0644 \u0646\u0635\u0628\u06cc \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u0628\u0631\u0627\u06cc \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc Cython&nbsp; \u0627\u0633\u062a:<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">\n\n# setup.py\n\nfrom distutils.core import setup\n\nfrom Cython.Build import cythonize\n\nsetup(name = 'Hello world app',\n\n&nbsp; &nbsp; &nbsp; ext_modules = cythonize(\"*.pyx\"))<\/span><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0645\u0627\u0698\u0648\u0644 \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646&nbsp;<\/span><\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\"># launch.py\n\n# This code is always interpreted, like normal Python.\n\n# It is not compiled to C.\n\nimport hello\n\nhello.say_hello()<\/span><\/pre>\n\n\n\n<p><span style=\"font-size: 16px;\">\u062f\u0631 \u0646\u0647\u0627\u06cc\u062a&nbsp; \u062f\u0648 \u062f\u0633\u062a\u0648\u0631 \u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u062f\u0631 \u062e\u0637 \u0641\u0631\u0645\u0627\u0646 (sh\/bash ) \u0645\u0627\u0698\u0648\u0644 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0631\u0627 \u0645\u06cc\u200c\u0633\u0627\u0632\u0646\u062f \u0648 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f.<\/span><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u0645\u062b\u0627\u0644 \u06f2 \u0627\u0632 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Cython<\/span><\/h4>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0628\u0627 \u0645\u062b\u0627\u0644\u06cc \u0633\u0627\u062f\u0647 \u0627\u0632 \u0627\u0633\u0646\u0627\u062f cython \u06a9\u0647 \u062f\u0631 \u0632\u06cc\u0631 \u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u062a\u0627\u0628\u0639 \u0627\u0646\u062a\u06af\u0631\u0627\u0644 \u0631\u0627 \u067e\u06cc\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645:<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">def f(x):\n\n&nbsp; &nbsp; return x**2-x\n\ndef integrate_f(a, b, N):\n\n&nbsp; &nbsp; s = 0\n\n&nbsp; &nbsp; dx = (b-a)\/N\n\n&nbsp; &nbsp; for i in range(N):\n\n&nbsp; &nbsp; &nbsp; &nbsp; s += f(a+i*dx)\n\n&nbsp; &nbsp; return s * dx<\/span><\/pre>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0634\u0627\u06cc\u062f \u0628\u0647 \u0638\u0627\u0647\u0631 \u062e\u0648\u0627\u0646\u062f\u0646 \u0648 \u062d\u062a\u06cc \u062f\u0631\u06a9 \u06a9\u0631\u062f\u0646 \u06a9\u062f \u0628\u0627\u0644\u0627 \u0631\u0627\u062d\u062a \u0628\u0647 \u0646\u0638\u0631 \u0622\u06cc\u062f \u0627\u0645\u0627 \u0628\u0647 \u062e\u0627\u0637\u0631 \u0627\u06cc\u0646\u200c\u06a9\u0647 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0645\u062c\u0628\u0648\u0631 \u0627\u0633\u062a \u0628\u0647 \u0637\u0648\u0631 \u062f\u0627\u0626\u0645 \u0645\u0627\u0628\u06cc\u0646 \u0627\u0646\u0648\u0627\u0639 \u0645\u0642\u0627\u062f\u06cc\u0631 \u0639\u062f\u062f\u06cc \u0645\u0627\u0634\u06cc\u0646 \u0648 \u0634\u06cc\u200c\u0621\u0647\u0627\u06cc \u062e\u0648\u062f\u0634 \u062c\u0627 \u0628\u0647 \u062c\u0627 \u0634\u0648\u062f\u060c \u0627\u062c\u0631\u0627\u06cc \u06a9\u062f \u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u0628\u0647 \u06a9\u0646\u062f\u06cc \u0635\u0648\u0631\u062a \u0645\u06cc\u200c\u06af\u06cc\u0631\u062f.<\/span><\/p>\n\n\n<div class=\"jet-listing-grid--50192\" style=\"\"><section class=\"zht-related-post\" itemscope=\"\" itemtype=\"https:\/\/schema.org\/Article\" role=\"region\"\n  aria-label=\"Related article\">\n  <div class=\"zht-related-post-section-label\">\n    \u0645\u0637\u0627\u0644\u0628 \u0645\u0631\u062a\u0628\u0637\n  <\/div>\n  <img decoding=\"async\" width=\"300\" height=\"188\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/reasons-for-the-popularity-of-scala-programming-language-5-300x188.jpg.webp\" class=\"attachment-medium size-medium wp-post-image lazyload\" alt=\"\u062f\u0644\u0627\u06cc\u0644 \u0645\u062d\u0628\u0648\u0628\u062a \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0627\u0633\u06a9\u0627\u0644\u0627\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/reasons-for-the-popularity-of-scala-programming-language-5-300x188.jpg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/reasons-for-the-popularity-of-scala-programming-language-5-768x480.jpg.webp 768w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/12\/reasons-for-the-popularity-of-scala-programming-language-5.jpg 1000w\" data-sizes=\"(max-width: 300px) 100vw, 300px\" title=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/188;\">\n  <a href=\"https:\/\/maktabkhooneh.org\/mag\/reasons-for-the-popularity-of-scala-programming-language\/\" class=\"zht-related-post-title\"\n    itemprop=\"headline\" target=\"_blank\">\u062f\u0644\u0627\u06cc\u0644 \u0645\u062d\u0628\u0648\u0628\u062a \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0627\u0633\u06a9\u0627\u0644\u0627<\/a>\n<\/section><\/div>\n\n\n<p><span style=\"font-size: 16px;\">\u062d\u0627\u0644 \u0628\u0627 \u062a\u0648\u062c\u0647 \u0628\u0647 \u0646\u0633\u062e\u0647 \u0633\u0627\u06cc\u062a\u0648\u0646 \u06a9\u062f \u0628\u0627\u0644\u0627\u060c \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0632\u06cc\u0631 \u0628\u062e\u0634\u200e\u0647\u0627\u06cc \u0627\u0636\u0627\u0641\u0647 \u0634\u062f\u0647 \u0633\u0627\u06cc\u062a\u0648\u0646 \u062e\u0637 \u06a9\u0634\u06cc\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u062f\u0631 \u0646\u0638\u0631 \u0628\u06af\u06cc\u0631\u06cc\u062f:<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">cdef f(double x):\n\n&nbsp; &nbsp; return x**2-x\n\n\n\n\ndef integrate_f(double a, double b, int N):\n\n&nbsp; &nbsp; cdef int i\n\n&nbsp; &nbsp; cdef double s, x, dx\n\n&nbsp; &nbsp; s = 0\n\n&nbsp; &nbsp; dx = (b-a)\/N\n\n&nbsp; &nbsp; for i in range(N):\n\n&nbsp; &nbsp; &nbsp; &nbsp; s += f(a+i*dx)\n\n&nbsp; &nbsp; return s * dx<\/span><\/pre>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0628\u062e\u0634\u200c\u0647\u0627\u06cc \u0627\u0636\u0627\u0641\u0647 \u0634\u062f\u0647 \u0628\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u0627\u06cc\u0646 \u0627\u062c\u0627\u0632\u0647 \u0631\u0627 \u0645\u06cc\u200c\u062f\u0647\u062f \u06a9\u0647 \u0628\u06cc\u0646 \u06a9\u062f\u060c \u0627\u0646\u0648\u0627\u0639\u06cc \u0627\u0632 \u0645\u062a\u063a\u06cc\u06cc\u0631\u0647\u0627 \u062a\u0639\u0631\u06cc\u0641 \u06af\u0631\u062f\u062f\u060c \u0648 \u062f\u0631 \u0646\u0647\u0627\u06cc\u062a \u06a9\u0627\u0645\u067e\u0627\u06cc\u0644\u0631 cython \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0628\u062e\u0634\u200c\u0647\u0627\u06cc \u0627\u0636\u0627\u0641\u0647 \u0631\u0627 \u0628\u0631\u0627\u06cc c \u062a\u0641\u0633\u06cc\u0631 \u06a9\u0646\u062f.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u0646\u0648\u0639 \u062a\u0648\u0627\u0628\u0639 cdef \u0648 cpdef<\/span><\/h3>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0646\u0648\u0639 c \u06cc\u0627 cython \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0627\u0632 \u06a9\u0644\u06cc\u062f\u0648\u0627\u0698\u0647 cdef \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f. \u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0631\u0627\u06cc \u062a\u0639\u0631\u06cc\u0641 \u062a\u0648\u0627\u0628\u0639\u06cc \u06a9\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f\u060c \u0627\u0632 \u0622\u0646&nbsp; \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"441\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/introducing-the-cython-programming-language-4-1024x441.jpg.webp\" alt=\"\u0646\u0648\u0639 \u062a\u0648\u0627\u0628\u0639 cdef \u0648 cpdef\" class=\"wp-image-15527 lazyload\" title=\"\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/introducing-the-cython-programming-language-4-1024x441.jpg.webp 1024w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/introducing-the-cython-programming-language-4-300x129.jpg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/introducing-the-cython-programming-language-4-768x331.jpg.webp 768w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/12\/introducing-the-cython-programming-language-4.jpg 1200w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/441;\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<p><span style=\"font-size: 16px;\">\u062f\u0631\u0633\u062a \u0627\u0633\u062a \u06a9\u0647 \u062a\u0648\u0627\u0628\u0639 \u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u062f\u0631 \u0633\u0627\u06cc\u062a\u0648\u0646 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u0644\u06cc\u062f\u0648\u0627\u0698\u0647 \u067e\u0627\u06cc\u062a\u0648\u0646 def\u060c \u0628\u0631\u0627\u06cc \u06a9\u062f\u0647\u0627\u06cc \u062f\u06cc\u06af\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0642\u0627\u0628\u0644 \u062f\u0633\u062a\u0631\u0633 \u0647\u0633\u062a\u0646\u062f\u060c \u0627\u0645\u0627 \u0646\u0647\u0627\u06cc\u062a\u0627 \u0628\u0627 \u0645\u062d\u062f\u0648\u062f\u06cc\u062a\u200e\u0647\u0627\u06cc\u06cc \u062f\u0631 \u0648\u0636\u0639\u06cc\u062a \u0639\u0645\u0644\u06a9\u0631\u062f \u0645\u0648\u0627\u062c\u0647 \u0645\u06cc\u200e\u06af\u0631\u062f\u0646\u062f.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 16px;\">\u062a\u0627\u0628\u0639\u200c\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0633\u0627\u062e\u062a\u0647 \u0634\u062f\u0646\u060c \u0627\u0632 \u06a9\u0644\u06cc\u062f\u0648\u0627\u0698\u0647 cdef \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200e\u06a9\u0646\u0646\u062f \u0641\u0642\u0637 \u0648 \u0641\u0642\u0637 \u0628\u0631\u0627\u06cc \u06a9\u062f\u0647\u0627\u06cc \u062f\u06cc\u06af\u0631 c \u0648 cython \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0647\u0633\u062a\u0646\u062f\u060c \u0648\u0644\u06cc \u0645\u0632\u06cc\u062a \u0622\u0646\u200c\u0647\u0627 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0633\u0631\u06cc\u0639\u200e\u062a\u0631 \u0627\u062c\u0631\u0627 \u0645\u06cc\u200e\u0634\u0648\u0646\u062f. \u0634\u0645\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 cdef&nbsp; \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0648 \u062a\u0648\u0627\u0628\u0639\u06cc \u0631\u0627 \u0641\u0642\u0637 \u0628\u0647 \u0635\u0648\u0631\u062a \u062f\u0627\u062e\u0644\u06cc \u062f\u0631 \u062e\u0648\u062f \u0645\u0627\u0698\u0648\u0644 \u0633\u0627\u06cc\u062a\u0648\u0646 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u06a9\u0646\u06cc\u062f.<\/span><\/p>\n\n\n<div class=\"jet-listing-grid--50192\" style=\"\"><section class=\"zht-related-post\" itemscope=\"\" itemtype=\"https:\/\/schema.org\/Article\" role=\"region\"\n  aria-label=\"Related article\">\n  <div class=\"zht-related-post-section-label\">\n    \u0645\u0637\u0627\u0644\u0628 \u0645\u0631\u062a\u0628\u0637\n  <\/div>\n  <img decoding=\"async\" width=\"300\" height=\"200\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/lisp-programming-language-2-300x200.jpg.webp\" class=\"attachment-medium size-medium wp-post-image lazyload\" alt=\"\u0645\u0639\u0631\u0641\u06cc \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Lisp\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/lisp-programming-language-2-300x200.jpg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/lisp-programming-language-2-768x512.jpg.webp 768w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/12\/lisp-programming-language-2.jpg 1000w\" data-sizes=\"(max-width: 300px) 100vw, 300px\" title=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/200;\">\n  <a href=\"https:\/\/maktabkhooneh.org\/mag\/introduction-to-lisp-programming-language\/\" class=\"zht-related-post-title\"\n    itemprop=\"headline\" target=\"_blank\">\u0645\u0639\u0631\u0641\u06cc \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Lisp<\/a>\n<\/section><\/div>\n\n\n<p><span style=\"font-size: 16px;\">\u0634\u0645\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u06a9\u0644\u06cc\u062f\u0648\u0627\u0698\u0647 cpdef \u0627\u0645\u06a9\u0627\u0646 \u0633\u0627\u0632\u06af\u0627\u0631\u06cc \u0628\u0627 \u06a9\u062f\u0647\u0627\u06cc \u067e\u0627\u06cc\u062a\u0648\u0646 \u0648 \u06a9\u062f\u0647\u0627\u06cc C \u0631\u0627 \u0628\u0627 \u062d\u062f\u0627\u06a9\u062b\u0631 \u0633\u0631\u0639\u062a \u0641\u0631\u0627\u0647\u0645 \u06a9\u0646\u06cc\u062f.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 16px;\">\u062a\u0648\u0627\u0628\u0639 cpdef \u0646\u0633\u0628\u062a \u0628\u0647 cdef \u06a9\u062f\u0647\u0627\u06cc \u0628\u06cc\u0634\u062a\u0631\u06cc \u062a\u0648\u0644\u06cc\u062f \u0645\u06cc\u200e\u06a9\u0646\u0646\u062f \u0627\u0645\u0627&nbsp; \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u06a9\u0631\u062f\u0646 \u0622\u0646\u200c\u0647\u0627 \u0628\u0647 \u0645\u0646\u0627\u0628\u0639 \u0628\u06cc\u0634\u062a\u0631\u06cc \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u062f.<\/span><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u0633\u0627\u06cc\u0631 \u06a9\u0644\u06cc\u062f\u0648\u0627\u0698\u0647\u200e\u0647\u0627\u06cc \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Cython :<\/span><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span style=\"font-size: 16px;\">\u0627\u0632 \u06a9\u0644\u06cc\u062f\u0648\u0627\u0698\u0647 ctypedef\u00a0 \u0628\u0631\u0627\u06cc \u0627\u0631\u062c\u0627\u0639 \u0628\u0647 \u0647\u062f\u0631 \u0641\u0627\u06cc\u0644\u200e\u0647\u0627\u06cc \u062e\u0627\u0631\u062c\u06cc C \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0645\u0646\u0627\u0628\u0639\u06cc \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0645\u0639\u06cc\u0646 \u06a9\u0631\u062f\u0646 \u0628\u062e\u0634\u200e\u0647\u0627\u06cc\u06cc \u0627\u0632 \u06a9\u062f \u06a9\u0647 \u0628\u0647 Global Interpreter Lock \u067e\u0627\u06cc\u062a\u0648\u0646 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u062f \u0627\u0632 \u06a9\u0644\u06cc\u062f\u0648\u0627\u0698\u0647\u200c\u0647\u0627\u06cc Gil \u0648 nogil \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u0628\u0631\u0627\u06cc \u0645\u0631\u0627\u062c\u0639\u0647 \u0628\u0647 \u0645\u062a\u063a\u06cc\u06cc\u0631\u0647\u0627\u06cc \u067e\u06cc\u062f\u0627 \u0634\u062f\u0647 \u062f\u0631 \u0633\u0627\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644\u200c\u0647\u0627 \u06cc\u0627 \u062a\u0648\u0627\u0628\u0639 C \u0627\u0632\u06a9\u0644\u06cc\u062f\u0648\u0627\u0698\u0647\u200c\u0647\u0627\u06cc Extern \u0628\u0627 cdef\u00a0 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200e\u0634\u0648\u062f.<\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u00a0\u0627\u0632 \u06a9\u0644\u06cc\u062f\u0648\u0627\u0698\u0647 cimport \u0628\u0631\u0627\u06cc \u0646\u0638\u0627\u0631\u062a \u0628\u0631 \u0648\u0631\u0648\u062f\u06cc \u0628\u0647 \u0633\u0627\u06cc\u062a\u0648\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f.( \u0646\u0648\u0639 \u062f\u0627\u062f\u0647\u060c \u0645\u062a\u063a\u06cc\u06cc\u0631\u0647\u0627 \u0648 \u062a\u0627\u0628\u0639 \u0648 \u0646\u0648\u0639 \u0627\u0641\u0632\u0648\u0646\u0647 C ) \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644: \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u200e\u0647\u0627\u06cc \u0633\u0627\u06cc\u062a\u0648\u0646 \u06a9\u0647 \u0627\u0632 \u0645\u0627\u0698\u0648\u0644 NumPy \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200e\u06a9\u0646\u0646\u062f\u060c \u0627\u0632 cimport \u0628\u0631\u0627\u06cc \u0641\u0631\u0627\u0647\u0645 \u06a9\u0631\u062f\u0646 \u0627\u0645\u06a9\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062a\u0648\u0627\u0628\u0639 \u0627\u0632 \u06a9\u0644\u06cc\u062f\u0648\u0627\u0698\u0647 cimport \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200e\u06a9\u0646\u0646\u062f.<\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u06a9\u0644\u06cc\u062f\u0648\u0627\u0698\u0647 \u0628\u0639\u062f\u06cc inline \u0627\u0633\u062a\u060c \u0627\u0632 \u0622\u0646 \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u200c\u06a9\u0647 \u06cc\u06a9 \u062a\u0627\u0628\u0639 \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0637\u06cc \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0646\u0646\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u0628\u0627 \u06a9\u0645\u06a9 \u06a9\u0644\u06cc\u062f\u0648\u0627\u0698\u0647 Include\u00a0 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u06a9\u062f \u0645\u0646\u0628\u0639 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u0633\u0627\u06cc\u062a\u0648\u0646 \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u062f\u0631 C \u0645\u0648\u062c\u0648\u062f \u0627\u0633\u062a \u0628\u0647 \u06a9\u062f\u0647\u0627\u06cc \u062f\u06cc\u06af\u0631 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f.<\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0639\u0628\u0627\u0631\u0627\u062a\u06cc \u062f\u0631 \u0645\u0627\u0698\u0648\u0644 Cython\u00a0 \u06a9\u0647 \u0628\u062a\u0648\u0627\u0646\u062f \u062f\u0631 \u06a9\u062f\u0647\u0627\u06cc \u062f\u06cc\u06af\u0631 C \u0642\u0627\u0628\u0644 \u062f\u0633\u062a\u0631\u0633 \u0628\u0627\u0634\u062f \u0627\u0632 \u06a9\u0644\u06cc\u062f\u0648\u0627\u0698\u0647 public\/api\u00a0 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06af\u0631\u062f\u062f. \u062f\u0631 \u0645\u0637\u0627\u0644\u0628 \u0628\u0639\u062f\u06cc \u0627\u0632 \u06a9\u0644\u06cc\u062f\u0648\u0627\u0698\u0647\u0627\u06cc \u062f\u06cc\u06af\u0631 \u0633\u0627\u06cc\u062a\u0648\u0646 \u06cc\u0627\u062f \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f.<\/span><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u06a9\u0627\u0645\u067e\u0627\u06cc\u0644 Cython<\/span><\/h3>\n\n\n\n<p><span style=\"font-size: 16px;\">\u062f\u0631 \u0645\u0637\u0627\u0644\u0628 \u0641\u0648\u0642\u060c \u0628\u0627 \u0639\u0645\u0644\u06a9\u0631\u062f \u0628\u0631\u0646\u0627\u0645\u0647 \u0633\u0627\u062f\u0647 \u0633\u0627\u06cc\u062a\u0648\u0646 \u0622\u0634\u0646\u0627 \u0634\u062f\u06cc\u0645. \u062d\u0627\u0644\u0627 \u0645\u0631\u0627\u062d\u0644 \u06a9\u0627\u0645\u067e\u0627\u06cc\u0644 \u06a9\u0631\u062f\u0646 cython \u0628\u0647 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u0628\u0627\u06cc\u0646\u0631\u06cc \u0642\u0627\u0628\u0644 \u0627\u062c\u0631\u0627 \u0631\u0627 \u0628\u0627 \u0647\u0645 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<\/span><\/p>\n\n\n<div class=\"jet-listing-grid--50192\" style=\"\"><section class=\"zht-related-post\" itemscope=\"\" itemtype=\"https:\/\/schema.org\/Article\" role=\"region\"\n  aria-label=\"Related article\">\n  <div class=\"zht-related-post-section-label\">\n    \u0645\u0637\u0627\u0644\u0628 \u0645\u0631\u062a\u0628\u0637\n  <\/div>\n  <img decoding=\"async\" width=\"300\" height=\"182\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/ada-programming-language-3-300x182.jpg.webp\" class=\"attachment-medium size-medium wp-post-image lazyload\" alt=\"\u0645\u0639\u0631\u0641\u06cc \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Ada\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/ada-programming-language-3-300x182.jpg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/ada-programming-language-3-1024x620.jpg.webp 1024w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/ada-programming-language-3-768x465.jpg.webp 768w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/ada-programming-language-3-1536x929.jpg.webp 1536w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/12\/ada-programming-language-3.jpg 2000w\" data-sizes=\"(max-width: 300px) 100vw, 300px\" title=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/182;\">\n  <a href=\"https:\/\/maktabkhooneh.org\/mag\/what-is-ada-programming-language\/\" class=\"zht-related-post-title\"\n    itemprop=\"headline\" target=\"_blank\">\u0645\u0639\u0631\u0641\u06cc \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Ada<\/a>\n<\/section><\/div>\n\n\n<p><span style=\"font-size: 16px;\">\u0645\u0627 \u0628\u0647 \u0633\u0647 \u06af\u0632\u06cc\u0646\u0647 \u0628\u0631\u0627\u06cc \u0633\u0627\u062e\u062a \u06cc\u06a9 \u0628\u0631\u0646\u0627\u0645\u0647 \u0642\u0627\u0628\u0644 \u0627\u062c\u0631\u0627\u06cc \u0633\u0627\u06cc\u062a\u0648\u0646 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u0645:<\/span><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><span style=\"font-size: 16px;\">\u06a9\u0627\u0645\u067e\u0627\u06cc\u0644\u0631 C<\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u00a0\u0645\u0641\u0633\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646<\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0633\u0627\u06cc\u062a\u0648\u0646 \u0628\u0647 \u067e\u0627\u06cc\u062a\u0648\u0646 ( \u0645\u06cc\u200e\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u06a9\u0645\u06a9 \u06af\u0631\u0641\u062a\u0646 \u0627\u0632 \u0631\u0648\u0634 \u0645\u062f\u06cc\u0631 \u067e\u06a9\u06cc\u062c pip install cython \u0633\u0627\u06cc\u062a\u0648\u0646 \u0631\u0627 \u0628\u0647 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f.)<\/span><\/li>\n<\/ol>\n\n\n\n<p><span style=\"font-size: 16px;\">\u062f\u0631 \u0632\u0645\u0627\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0648\u06cc\u0646\u062f\u0648\u0632 \u0645\u0627\u06cc\u06a9\u0631\u0648\u0633\u0627\u0641\u062a \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u067e\u0644\u062a\u0641\u0631\u0645 \u062a\u0648\u0633\u0639\u0647\u060c \u062f\u0631 \u0646\u0638\u0631 \u06af\u0631\u0641\u062a\u0646 \u0645\u0648\u0631\u062f \u0634\u0645\u0627\u0631\u0647 \u06f3 \u0645\u0647\u0645 \u0627\u0633\u062a.<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"528\" height=\"381\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/12\/introducing-the-cython-programming-language-2.jpg\" alt=\"\u0646\u0648\u0639 \u062a\u0648\u0627\u0628\u0639 cdef \u0648 cpdef\" class=\"wp-image-15525 lazyload\" title=\"\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/12\/introducing-the-cython-programming-language-2.jpg 528w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/introducing-the-cython-programming-language-2-300x216.jpg.webp 300w\" data-sizes=\"(max-width: 528px) 100vw, 528px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 528px; --smush-placeholder-aspect-ratio: 528\/381;\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0628\u0647 \u062f\u0644\u06cc\u0644 \u0627\u06cc\u0646\u200c\u200c\u06a9\u0647 \u0648\u06cc\u0646\u062f\u0648\u0632 \u0628\u0647 \u06a9\u0627\u0645\u067e\u0627\u06cc\u0644\u0631 C \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0627\u0628\u0632\u0627\u0631 \u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f \u0645\u062c\u0647\u0632 \u0646\u06cc\u0633\u062a \u060c \u0634\u0645\u0627 \u0628\u0627\u06cc\u062f \u06cc\u06a9 \u06a9\u067e\u06cc \u0627\u0632 Microsoft Visual Studio Community Edition&nbsp; \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u06cc\u0627\u0628\u06cc \u0628\u0647 \u0627\u06cc\u0646 \u0648\u06cc\u0698\u06af\u06cc \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 16px;\">\u067e\u0633\u0648\u0646\u062f\u06cc\u200c \u06a9\u0647 \u0628\u0631\u0646\u0627\u0645\u0647\u200e\u0647\u0627\u06cc \u0633\u0627\u06cc\u062a\u0648\u0646 \u0627\u0632 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f .pyx \u0627\u0633\u062a.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644 \u0634\u0645\u0627 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u0628\u0627 \u0646\u0627\u0645 num.pyx \u062f\u0631 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u062c\u062f\u06cc\u062f \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f (\u06a9\u0647 \u0634\u0627\u0645\u0644 \u0641\u0627\u06cc\u0644 \u0627\u06cc\u062c\u0627\u062f \u0634\u062f\u0647 \u062f\u0631 \u06a9\u062f \u0633\u0627\u06cc\u062a\u0648\u0646 \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0645\u062b\u0627\u0644 \u0628\u0627\u0644\u0627 \u0628\u0627\u0634\u062f.) \u0648 \u0641\u0627\u06cc\u0644 \u062f\u0648\u0645 \u0631\u0627 \u0628\u0627 \u0646\u0627\u0645 main.py&nbsp; \u0628\u0633\u0627\u0632\u06cc\u062f \u0648 \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0622\u0646 \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f:<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">\n\nfrom num import integrate_f\n\nprint (integrate_f(1.0, 10.0, 2000))<\/span><\/pre>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0645\u062b\u0627\u0644 \u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u06cc\u06a9 \u0628\u0631\u0646\u0627\u0645\u0647 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0627\u0633\u062a \u06a9\u0647 \u062a\u0627\u0628\u0639 integrate_f \u0631\u0627 \u062f\u0631 num.pyx \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0645\u06cc\u200e\u06a9\u0646\u062f.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0648 \u062f\u0631 \u0622\u062e\u0631 \u0641\u0627\u06cc\u0644\u06cc \u0628\u0627 \u0646\u0627\u0645 setup.py&nbsp; \u06a9\u0647 \u0634\u0627\u0645\u0644 \u06a9\u062f \u0632\u06cc\u0631 \u0628\u0627\u0634\u062f \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f:<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">from distutils.core import setup\n\nfrom distutils.extension import Extension\n\nfrom Cython.Build import cythonize\n\next_modules = [\n\nExtension(\n\nr\u2019num\u2019,<\/span><\/pre>\n\n\n<p>[r\u2019num.pyx\u2019]<\/p>\n\n\n\n<p>),\n\n]\n\n\n\n\nsetup(\n\nname=\u2019num\u2019,\n\next_modules=cythonize(ext_modules),\n\n)\n<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span style=\"font-size: 16px;\"> \u06a9\u062f\u0647\u0627\u06cc \u0633\u0627\u06cc\u062a\u0648\u0646<\/span><\/h4>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0627\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u062a\u0648\u0633\u0637 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u0645\u0627\u0698\u0648\u0644 \u0647\u0645\u0631\u0627\u0647 \u0628\u0627 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200e\u0634\u0648\u062f. \u062f\u0631 \u0645\u062b\u0627\u0644 \u0628\u0627\u0644\u0627 \u0645\u0627 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0645\u067e\u0627\u06cc\u0644 \u06a9\u062f\u0647\u0627\u06cc \u0633\u0627\u06cc\u062a\u0648\u0646 \u0627\u0632 setup.py \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u06cc\u0645.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 16px;\">\u062d\u0627\u0644 \u0627\u06af\u0631 \u0634\u0645\u0627 \u06a9\u0627\u0645\u067e\u0627\u06cc\u0644\u0631 C \u0646\u0635\u0628 \u0634\u062f\u0647 \u062f\u0627\u0631\u06cc\u062f \u0648 \u0627\u0632 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f\u060c \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0645\u06cc\u200e\u062a\u0648\u0627\u0646\u06cc\u062f \u0641\u0627\u06cc\u0644 .pyx&nbsp; \u0631\u0627 \u0628\u0627 \u0627\u062c\u0631\u0627\u06cc \u06a9\u062f \u0632\u06cc\u0631 \u0628\u0647 C&nbsp; \u06a9\u0627\u0645\u067e\u0627\u06cc\u0644 \u06a9\u0646\u06cc\u062f:<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">&gt; python setup.py build_ext --inplace<\/span><\/pre>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0627\u0645\u0627 \u0627\u06af\u0631 \u0634\u0645\u0627 \u0627\u0632 \u0648\u06cc\u0646\u062f\u0648\u0632 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200e\u06a9\u0646\u06cc\u062f\u060c \u062d\u062a\u0645\u0627 \u0628\u0627\u06cc\u062f \u0628\u0631\u0627\u06cc \u062e\u0648\u062f\u06a9\u0627\u0631\u0633\u0627\u0632\u06cc \u0641\u0631\u0622\u06cc\u0646\u062f \u06a9\u0627\u0645\u067e\u0627\u06cc\u0644 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u0628\u0686 \u0628\u0647 \u0646\u0627\u0645 compile.bat \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f:<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">@SETLOCAL\n\nset DISTUTILS_USE_SDK=1\n\ncall \u201cC:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat\u201d amd64\n\npython setup.py build_ext --inplace --compiler=msvc<\/span><\/pre>\n\n\n\n<p><span style=\"font-size: 16px;\">\u062d\u0627\u0644 \u0627\u06af\u0631 \u0639\u0645\u0644 \u06a9\u0627\u0645\u067e\u0627\u06cc\u0644 \u0628\u0647 \u062f\u0631\u0633\u062a\u06cc \u0627\u062c\u0631\u0627 \u0634\u0648\u062f\u060c \u0634\u0645\u0627 \u0641\u0627\u06cc\u0644\u200e\u0647\u0627\u06cc \u062c\u062f\u06cc\u062f\u06cc \u0631\u0627 \u062f\u0631 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0645\u0634\u0627\u0647\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f. \u062f\u0642\u062a \u06a9\u0646\u06cc\u062f \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u06cc \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 .pyx \u0627\u0639\u0645\u0627\u0644 \u0645\u06cc\u200e\u06a9\u0646\u06cc\u062f \u0628\u0627\u06cc\u062f \u0645\u062c\u062f\u062f\u0627 \u0622\u0646 \u0631\u0627 \u06a9\u0627\u0645\u067e\u0627\u06cc\u0644 \u06a9\u0646\u06cc\u062f.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u0633\u0627\u06cc\u062a\u0648\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u0645<\/span><\/h3>\n\n\n\n<p><span style=\"font-size: 16px;\">\u062d\u0627\u0644 \u06a9\u0647 \u0628\u0627 \u0646\u062d\u0648\u0647 \u062a\u0628\u062f\u06cc\u0644 \u06a9\u062f \u0628\u0647 \u0633\u0627\u06cc\u062a\u0648\u0646 \u0622\u0634\u0646\u0627 \u0634\u062f\u06cc\u062f\u060c \u0628\u0627\u06cc\u062f \u0628\u0628\u06cc\u0646\u06cc\u0645 \u06a9\u0647 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0628\u0647 \u0686\u0647 \u0635\u0648\u0631\u062a \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0627\u0632 \u0645\u0632\u06cc\u062a\u200c\u0647\u0627\u06cc cython \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u062f \u0648 \u0622\u0646\u200c \u0631\u0627 \u0628\u0647 \u06a9\u0627\u0631 \u06af\u06cc\u0631\u062f. \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u06af\u0641\u062a \u062f\u0631 \u0686\u0631\u062e\u0647\u200c\u0647\u0627 \u0648 \u0627\u0646\u062c\u0627\u0645 \u0627\u0639\u0645\u0627\u0644 \u0639\u062f\u062f\u06cc \u0646\u0633\u0628\u062a \u0628\u0647 \u0628\u0642\u06cc\u0647 \u0632\u0628\u0627\u0646\u200c\u0647\u0627\u06cc \u063a\u06cc\u0631 \u062a\u0641\u0633\u06cc\u0631\u06cc\u060c \u067e\u0627\u06cc\u062a\u0648\u0646 \u0627\u0632 \u06a9\u0627\u0631\u0627\u06cc\u06cc \u067e\u0627\u06cc\u06cc\u0646\u200c\u062a\u0631\u06cc \u0628\u0631\u062e\u0648\u0631\u062f\u0627\u0631 \u0627\u0633\u062a.<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"742\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/introducing-the-cython-programming-language-3-1024x742.jpg.webp\" alt=\"\u06a9\u062f\u0647\u0627\u06cc \u0633\u0627\u06cc\u062a\u0648\u0646\" class=\"wp-image-15526 lazyload\" title=\"\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/introducing-the-cython-programming-language-3-1024x742.jpg.webp 1024w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/introducing-the-cython-programming-language-3-300x217.jpg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/introducing-the-cython-programming-language-3-768x556.jpg.webp 768w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/12\/introducing-the-cython-programming-language-3.jpg 1200w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/742;\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u200c\u06a9\u0647 \u0645\u062d\u0627\u0633\u0628\u0627\u062a \u0639\u062f\u062f\u06cc \u0634\u0645\u0627 \u0628\u0627 \u0633\u0631\u0639\u062a \u0628\u06cc\u0634\u200c\u062a\u0631\u06cc \u0627\u0646\u062c\u0627\u0645 \u06af\u06cc\u0631\u062f \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0627\u0646\u0648\u0627\u0639 \u0639\u062f\u062f\u06cc \u06a9\u0647 \u0628\u0647 C \u062a\u0628\u062f\u06cc\u0644 \u0634\u062f\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u0647\u062f\u0641 \u0627\u0632 \u0628\u0647\u06cc\u0646\u0647\u200c\u200c\u06a9\u0631\u062f\u0646 \u0628\u0627 \u0633\u0627\u06cc\u062a\u0648\u0646 \u06a9\u062f\u0647\u0627\u06cc \u067e\u0627\u06cc\u062a\u0648\u0646\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0627 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 C \u0628\u0647 \u0637\u0648\u0631 \u0645\u0633\u062a\u0642\u06cc\u0645 \u062f\u0631 \u0627\u0631\u062a\u0628\u0627\u0637 \u0647\u0633\u062a\u0646\u062f.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 16px;\">NumPy \u06cc\u06a9\u06cc \u0627\u0632 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\u200c\u0647\u0627\u06cc \u062e\u0627\u0631\u062c\u06cc \u062f\u0631 C \u0627\u0633\u062a \u06a9\u0647 Cython \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u0633\u062a\u0642\u06cc\u0645 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0627\u0632 \u0622\u0646 \u0628\u0647\u0631\u0647 \u0628\u06af\u06cc\u0631\u062f.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0627\u0632 cimport numpy \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0633\u0631\u06cc\u0639 cython \u0628\u0647 \u0622\u0631\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc NumPy \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f. \u0648 \u0646\u0647\u0627\u06cc\u062a\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631\u0627\u0644\u0639\u0645\u0644\u200e\u0647\u0627\u06cc cdef \u0628\u0631\u0627\u06cc \u0645\u0634\u062e\u0635 \u06a9\u0631\u062f\u0646 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627\u06cc NumPy&nbsp; \u0628\u0647\u0631\u0647 \u06af\u0631\u0641\u062a.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 16px;\">\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0633\u0639\u06cc \u06a9\u0631\u062f\u06cc\u0645 \u062a\u0627 \u0634\u0645\u0627 \u0631\u0627 \u0628\u0627 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627 \u0648 \u06a9\u0627\u0631\u0628\u0631\u062f\u200c\u0647\u0627\u06cc \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Cython \u0622\u0634\u0646\u0627 \u06a9\u0646\u06cc\u0645 \u062a\u0627 \u0628\u0631\u0627\u06cc \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0647\u0631\u0686\u0647 \u0628\u0647\u062a\u0631 \u0622\u0646\u060c \u067e\u06cc\u0634\u200c\u0632\u0645\u06cc\u0646\u0647 \u0644\u0627\u0632\u0645 \u0631\u0627 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f. \u0627\u0645\u06cc\u062f\u0648\u0627\u0631\u06cc\u0645 \u0627\u06cc\u0646 \u0645\u0637\u0627\u0644\u0628 \u0628\u0631\u0627\u06cc\u062a\u0627\u0646 \u0645\u0641\u06cc\u062f \u0628\u0648\u062f\u0647 \u0628\u0627\u0634\u062f.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0645\u0639\u0631\u0641\u06cc \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Cython \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Cython \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u067e\u06cc\u062f\u0627 \u06a9\u0631\u062f\u0646 \u0645\u0627\u0698\u0648\u0644 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0637\u0631\u0627\u062d\u06cc \u0634\u062f\u0647 \u0627\u0633\u062a. \u0634\u06cc\u0648\u0647 \u06a9\u0627\u0631 \u062f\u0631 Cython \u0628\u0647 \u0627\u06cc\u0646 \u0635\u0648\u0631\u062a \u0627\u0633\u062a \u06a9\u0647\u060c \u0627\u0628\u062a\u062f\u0627 \u0645\u0627\u0698\u0648\u0644 \u062e\u0648\u062f\u0634 \u0631\u0627 \u0628\u0627 \u06a9\u0645\u06a9 \u0642\u0648\u0627\u0646\u06cc\u0646 cython&nbsp; \u0648 \u067e\u0633\u0648\u0646\u062f .pyx \u0645\u06cc\u200c\u0646\u0648\u06cc\u0633\u062f\u060c \u0628\u0639\u062f \u0641\u0627\u06cc\u0644\u06cc \u0628\u0627 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0645\u06cc\u200c\u0633\u0627\u0632\u062f \u0648 \u0628\u0627 \u0646\u0635\u0628 \u0622\u0646 \u0633\u0627\u06cc\u062a\u0648\u0646 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0645\u06cc\u200c\u0634\u0648\u062f\u060c \u0633\u067e\u0633 \u0645\u0627\u0698\u0648\u0644 \u062a\u0648\u0633\u0637 \u0633\u0627\u06cc\u062a\u0648\u0646 [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":15528,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-15395","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming-and-it-training"],"_links":{"self":[{"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/posts\/15395","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/comments?post=15395"}],"version-history":[{"count":5,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/posts\/15395\/revisions"}],"predecessor-version":[{"id":66961,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/posts\/15395\/revisions\/66961"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/media\/15528"}],"wp:attachment":[{"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/media?parent=15395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/categories?post=15395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/tags?post=15395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}