{"id":132251,"date":"2025-12-27T10:06:30","date_gmt":"2025-12-27T01:06:30","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=132251"},"modified":"2025-12-27T10:06:30","modified_gmt":"2025-12-27T01:06:30","slug":"python-3-15-improvements","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/python-3-15-improvements\/","title":{"rendered":"Python 3.15\u3001Windows\u7248\u3067\u6700\u592715%\u9ad8\u901f\u5316\u3078\u2500\u2500MSVC\u306e\"tail-call\u9769\u547d\"\u3068\u306f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2025\/12\/python.jpg\" alt=\"\" width=\"1280\" height=\"853\" class=\"aligncenter size-full wp-image-132252\" \/><\/p>\n<p>\u73fe\u5728\u958b\u767a\u4e2d\u306ePython 3.15\u3067\u3001Windows x86-64\u5411\u3051CPython\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u304c\u5927\u5e45\u306b\u9ad8\u901f\u5316\u3059\u308b\u53ef\u80fd\u6027\u304c\u898b\u3048\u3066\u304d\u307e\u3057\u305f\u3002\u9375\u3068\u306a\u308b\u306e\u306f\u3001MSVC(Visual Studio 2026)\u306b\u65b0\u3057\u304f\u5c0e\u5165\u3055\u308c\u305f tail-call(\u672b\u5c3e\u547c\u3073\u51fa\u3057)\u6700\u9069\u5316\u3092\u5f37\u5236\u3067\u304d\u308b\u4ed5\u7d44\u307f\u3067\u3059\u3002<\/p>\n<p>CPython\u30b3\u30a2\u958b\u767a\u8005\u306eKen Jin \u6c0f\u306b\u3088\u308b<a href=\"https:\/\/fidget-spinner.github.io\/posts\/no-longer-sorry.html\">\u6700\u65b0\u306e\u691c\u8a3c<\/a>\u3067\u306f\u3001Windows\u7248CPython\u304c\u5e73\u574715\u301c16%\u3001\u30b1\u30fc\u30b9\u306b\u3088\u3063\u3066\u306f40%\u8fd1\u3044\u9ad8\u901f\u5316\u3092\u9054\u6210\u3057\u305f\u3068\u306e\u3053\u3068\u3002\u3053\u308c\u306fPython\u306e\u6b74\u53f2\u306e\u4e2d\u3067\u3082\u304b\u306a\u308a\u5927\u304d\u306a\u6539\u5584\u3068\u3044\u3048\u307e\u3059\u3002<\/p>\n<h2>\u306a\u305c tail-call \u3067\u901f\u304f\u306a\u308b\u306e\u304b\uff1f<\/h2>\n<p>\u5f93\u6765\u306eCPython\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u306f\u5de8\u5927\u306aswitch-case\u30eb\u30fc\u30d7(\u7d0412\u3001000\u884c)\u3067\u69cb\u6210\u3055\u308c\u3066\u304a\u308a\u3001\u30b3\u30f3\u30d1\u30a4\u30e9\u304c\u6700\u9069\u5316\u3057\u3065\u3089\u3044\u69cb\u9020\u3067\u3057\u305f\u3002<\/p>\n<p>\u7279\u306b\u554f\u984c\u3060\u3063\u305f\u306e\u304c \u30a4\u30f3\u30e9\u30a4\u30f3\u5c55\u958b\u304c\u307b\u307c\u884c\u308f\u308c\u306a\u3044\u3053\u3068\u3067\u3059\u3002\u5c0f\u3055\u306a\u95a2\u6570\u3067\u3082\u300c\u5de8\u5927\u306a\u95a2\u6570\u306b\u3055\u3089\u306b\u30b3\u30fc\u30c9\u3092\u8db3\u3059\u306e\u306f\u5371\u967a\u300d\u3068\u5224\u65ad\u3055\u308c\u3001\u6700\u9069\u5316\u304c\u6291\u5236\u3055\u308c\u3066\u3057\u307e\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u306b\u5bfe\u3057\u3001Tail-call\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u30fc\u306f\u6b21\u306e\u3088\u3046\u306a\u7279\u5fb4\u3092\u6301\u3061\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u5404\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9\u51e6\u7406\u3092<strong>\u95a2\u6570\u3068\u3057\u3066\u5206\u96e2<\/strong><\/li>\n<li>\u6b21\u306e\u547d\u4ee4\u3078\u306f<strong>tail-call(\u30b9\u30bf\u30c3\u30af\u3092\u5897\u3084\u3055\u306a\u3044\u95a2\u6570\u547c\u3073\u51fa\u3057)<\/strong><\/li>\n<li>\u95a2\u6570\u304c\u5206\u5272\u3055\u308c\u308b\u3053\u3068\u3067<strong>\u30b3\u30f3\u30d1\u30a4\u30e9\u306e\u6700\u9069\u5316\u304c\u6b63\u5e38\u306b\u50cd\u304f<\/strong><\/li>\n<li>\u7d50\u679c\u3068\u3057\u3066<strong>\u30a4\u30f3\u30e9\u30a4\u30f3\u5c55\u958b\u304c\u5fa9\u6d3b\u3057\u3001\u51e6\u7406\u304c\u9ad8\u901f\u5316<\/strong><\/li>\n<\/ul>\n<p>MSVC\u306e\u65b0\u3057\u3044<code>[[msvc::musttail]]<\/code> \u5c5e\u6027\u306b\u3088\u308a\u3001tail-call \u304c\u78ba\u5b9f\u306b\u9069\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3053\u3068\u304c\u4eca\u56de\u306e\u30d6\u30ec\u30a4\u30af\u30b9\u30eb\u30fc\u306b\u3064\u306a\u304c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u5b9f\u9a13\u306e\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u7d50\u679c<\/h2>\n<p>Ken Jin \u6c0f\u306e\u691c\u8a3c\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u6539\u5584\u304c\u78ba\u8a8d\u3055\u308c\u3066\u3044\u307e\u3059:<\/p>\n<ul>\n<li>\n<p><span><strong>spectralnorm<\/strong>\uff1a1.48\u00d7<\/span><\/p>\n<\/li>\n<li>\n<p><span><strong>nbody<\/strong>\uff1a1.35\u00d7<\/span><\/p>\n<\/li>\n<li>\n<p><span><strong>Django template<\/strong>\uff1a1.18\u00d7<\/span><\/p>\n<\/li>\n<li>\n<p><span><strong>xDSL<\/strong>\uff1a1.14\u00d7<\/span><\/p>\n<\/li>\n<\/ul>\n<p>\u7279\u306b\u5c0f\u3055\u306a\u30eb\u30fc\u30d7\u3092\u5927\u91cf\u306b\u56de\u3059\u51e6\u7406\u3067\u52b9\u679c\u304c\u5927\u304d\u304f\u3001Python \u306e\u65e5\u5e38\u7684\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3082\u4f53\u611f\u3067\u304d\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3060\u5b9f\u9a13\u7684\u3060\u304c\u3001\u672a\u6765\u306f\u660e\u308b\u3044<\/h2>\n<p>MSVC\u306etail-call\u6a5f\u80fd\u306f\u307e\u3060\u5b9f\u9a13\u7684\u3067\u3001\u5c06\u6765\u5909\u66f4\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u3001Python\u30b3\u30a2\u30c1\u30fc\u30e0\u306f\u3059\u3067\u306bWindows\u7248CPython 3.15\u3067\u306e\u63a1\u7528\u3092\u8996\u91ce\u306b\u5165\u308c\u3066\u304a\u308a\u3001macOS\u7248\u3067\u3082\u540c\u69d8\u306etail-call\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u30fc\u304c\u5c0e\u5165\u3055\u308c\u3064\u3064\u3042\u308a\u307e\u3059\u3002\u73fe\u6642\u70b9\u3067\u8a66\u3059\u306b\u306f\u3001Visual Studio 2026\u3092\u4f7f\u3063\u3066CPython\u3092\u30bd\u30fc\u30b9\u304b\u3089\u30d3\u30eb\u30c9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u5c06\u6765\u7684\u306b\u306f\u516c\u5f0f\u30d0\u30a4\u30ca\u30ea\u306b\u3082\u7d44\u307f\u8fbc\u307e\u308c\u308b\u898b\u8fbc\u307f\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/news.ycombinator.com\/item?id=46384167\">Hacker News<\/a>\u3067\u3082\u3053\u306e\u8a71\u984c\u306b\u95a2\u3059\u308b\u8b70\u8ad6\u304c\u884c\u308f\u308c\u3066\u304a\u308a\u3001Ken Jin\u6c0f\u672c\u4eba\u304c\u767b\u5834\u3057\u3066\u8cea\u554f\u306b\u7b54\u3048\u3066\u3044\u307e\u3059\u3002Python\u306e\u9ad8\u901f\u5316\u306b\u8208\u5473\u306e\u3042\u308b\u65b9\u306f\u53c2\u7167\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u73fe\u5728\u958b\u767a\u4e2d\u306ePython 3.15\u3067\u3001Windows x86-64\u5411\u3051CPython\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u304c\u5927\u5e45\u306b\u9ad8\u901f\u5316\u3059\u308b\u53ef\u80fd\u6027\u304c\u898b\u3048\u3066\u304d\u307e\u3057\u305f\u3002\u9375\u3068\u306a\u308b\u306e\u306f\u3001MSVC(Visual Studio 2026)\u306b\u65b0\u3057\u304f\u5c0e\u5165\u3055\u308c\u305f  [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":132252,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[703],"class_list":["post-132251","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-python"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/132251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=132251"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/132251\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/132252"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=132251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=132251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=132251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}