{"id":132196,"date":"2025-12-23T11:57:53","date_gmt":"2025-12-23T02:57:53","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=132196"},"modified":"2025-12-23T11:57:53","modified_gmt":"2025-12-23T02:57:53","slug":"lua-5-5","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/lua-5-5\/","title":{"rendered":"Lua 5.5 \u30ea\u30ea\u30fc\u30b9\uff015\u5e74\u3076\u308a\u306e\u5927\u578b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u6027\u80fd\u3068\u5b89\u5168\u6027\u304c\u5411\u4e0a"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2025\/12\/s_20251223-_114938.jpg\" alt=\"\" width=\"933\" height=\"525\" class=\"aligncenter size-full wp-image-132197\" \/><\/p>\n<p>Lua 5.4\u304b\u30895\u5e74\u3001\u8efd\u91cf\u3067\u7d44\u307f\u8fbc\u307f\u7528\u9014\u306b\u5f37\u3044\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u300cLua\u300d\u306b\u5f85\u671b\u306e\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3<strong>Lua 5.5<\/strong>\u304c\u767b\u5834\u3057\u307e\u3057\u305f(<a href=\"https:\/\/www.phoronix.com\/news\/Lua-5.5-Released\">Phoronix<\/a>)\u3002\u4eca\u56de\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306f\u3001\u8a00\u8a9e\u4ed5\u69d8\u306e\u6539\u5584\u304b\u3089\u30e1\u30e2\u30ea\u52b9\u7387\u306e\u5411\u4e0a\u3001\u30ac\u30d9\u30fc\u30b8\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u5237\u65b0\u307e\u3067\u3001\u3055\u307e\u3056\u307e\u306a\u6539\u826f\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001\u8a00\u8a9e\u4f7f\u7528\u306e\u6539\u5584\u3067\u306f\u3001\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u306e\u5ba3\u8a00\u304c\u5fc5\u9808\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3053\u308c\u307e\u3067\u66d6\u6627\u306b\u306a\u308a\u304c\u3061\u3060\u3063\u305f\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u306e\u6271\u3044\u306b\u660e\u78ba\u306a\u5ba3\u8a00\u304c\u5c0e\u5165\u3055\u308c\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b89\u5168\u6027\u3068\u53ef\u8aad\u6027\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u5927\u898f\u6a21\u306a\u914d\u5217\u3092\u6271\u3046\u969b\u306e\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf\u304c\u5927\u5e45\u306b\u524a\u6e1b\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u6700\u592760%\u306e\u30e1\u30e2\u30ea\u524a\u6e1b\u306f\u3001\u7d44\u307f\u8fbc\u307f\u74b0\u5883\u3084\u30e1\u30e2\u30ea\u5236\u7d04\u306e\u3042\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u3068\u3063\u3066\u5927\u304d\u306a\u30e1\u30ea\u30c3\u30c8\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30ac\u30d9\u30fc\u30b8\u30b3\u30ec\u30af\u30b7\u30e7\u30f3(GC)\u306e\u6539\u5584\u3082\u884c\u308f\u308c\u308c\u3001\u65b0\u3057\u3044\u4e16\u4ee3\u5225GC\u30e2\u30fc\u30c9\u306e\u5c0e\u5165\u3084\u3001major GC\u306e\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30bf\u30eb\u306a\u5b9f\u884c\u6a5f\u80fd\u306b\u3088\u308a\u3001\u3088\u308a\u30b9\u30e0\u30fc\u30ba\u3067\u4e88\u6e2c\u3057\u3084\u3059\u3044\u30e1\u30e2\u30ea\u7ba1\u7406\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u4ed6\u4ee5\u4e0b\u306e\u3088\u3046\u306a<a href=\"https:\/\/www.lua.org\/manual\/5.5\/readme.html#changes\">\u5909\u66f4<\/a>\u304c\u884c\u308f\u308c\u3066\u3044\u307e\u3059:<\/p>\n<ul>\n<li>\n<p><span>for \u30eb\u30fc\u30d7\u5909\u6570\u304c\u8aad\u307f\u53d6\u308a\u5c02\u7528\u306b<\/span><\/p>\n<\/li>\n<li>\n<p><span>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u304c\u6b63\u78ba\u306b\u8aad\u307f\u623b\u305b\u308b\u5f62\u5f0f\u3067\u51fa\u529b\u3055\u308c\u308b\u3088\u3046\u306b<\/span><\/p>\n<\/li>\n<li>\n<p><span>\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u30cd\u30b9\u30c8\u30ec\u30d9\u30eb\u5897\u52a0<\/span><\/p>\n<\/li>\n<li>\n<p><span><code>table.create<\/code> \u306e\u8ffd\u52a0<\/span><\/p>\n<\/li>\n<li>\n<p><span><code>utf8.offset<\/code> \u304c\u6587\u5b57\u306e\u6700\u7d42\u4f4d\u7f6e\u3082\u8fd4\u3059\u3088\u3046\u306b<\/span><\/p>\n<\/li>\n<li>\n<p><span>\u5916\u90e8\u30e1\u30e2\u30ea\u3092\u4f7f\u3046 \u201cexternal strings\u201d \u306b\u5bfe\u5fdc<\/span><\/p>\n<\/li>\n<li>\n<p><span>\u65b0\u95a2\u6570 <code>luaL_openselectedlibs<\/code> \/ <code>luaL_makeseed<\/code><\/span><\/p>\n<\/li>\n<li>\n<p><span><code>lua.c<\/code> \u304c <code>readline<\/code> \u3092\u52d5\u7684\u30ed\u30fc\u30c9<\/span><\/p>\n<\/li>\n<li>\n<p><span>\u30d0\u30a4\u30ca\u30ea\u30c1\u30e3\u30f3\u30af\u8aad\u307f\u8fbc\u307f\u6642\u306b\u5143\u306e\u30e1\u30e2\u30ea\u3092\u518d\u5229\u7528\u3067\u304d\u308b \u201cstatic binaries\u201d<\/span><\/p>\n<\/li>\n<li>\n<p><span>dump\/undump \u304c\u3059\u3079\u3066\u306e\u6587\u5b57\u5217\u3092\u518d\u5229\u7528<\/span><\/p>\n<\/li>\n<li>\n<p><span>\u88dc\u52a9\u30d0\u30c3\u30d5\u30a1\u304c\u6700\u7d42\u6587\u5b57\u5217\u751f\u6210\u6642\u306b\u518d\u5229\u7528\u3055\u308c\u308b<\/span><\/p>\n<\/li>\n<\/ul>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Lua 5.5 \u306f\u6d3e\u624b\u3055\u3053\u305d\u306a\u3044\u3082\u306e\u306e\u3001\u300c\u8efd\u91cf\u3067\u9ad8\u901f\u300d\u300c\u7d44\u307f\u8fbc\u307f\u306b\u5f37\u3044\u300d\u3068\u3044\u3046 Lua \u306e\u5f37\u307f\u3092\u3055\u3089\u306b\u78e8\u304d\u4e0a\u3052\u308b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u7279\u306b\u30e1\u30e2\u30ea\u52b9\u7387\u3068GC\u306e\u6539\u5584\u306f\u3001\u30b2\u30fc\u30e0\u958b\u767a\u3001IoT\u3001\u7d44\u307f\u8fbc\u307f\u30b9\u30af\u30ea\u30d7\u30c8\u306a\u3069\u3001Lua \u304c\u591a\u7528\u3055\u308c\u308b\u9818\u57df\u3067\u78ba\u5b9f\u306b\u6069\u6075\u304c\u3042\u308b\u3068\u898b\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<table>\n<tr>\n<th rowspan='4' style='white-space: nowrap;'><img decoding=\"async\" style=\"max-width: 52px; height: auto;\" src=\"https:\/\/softantenna.com\/assets\/pc-f2a988b09e78cdb7e82ccf4d5545bf2d95f8251f80444b8e2c54ac3839335945.png\" \/><\/th>\n<th style='white-space: nowrap;'>\u30bf\u30a4\u30c8\u30eb<\/th>\n<td>Lua<\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u516c\u5f0f\u30b5\u30a4\u30c8<\/th>\n<td><a href=\"https:\/\/lua.org\/\">https:\/\/lua.org\/<\/a><\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u30bd\u30d5\u30c8\u30a2\u30f3\u30c6\u30ca<\/th>\n<td><a href=\"https:\/\/softantenna.com\/softwares\/2101-lua\">https:\/\/softantenna.com\/softwares\/2101-lua<\/a><\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u8aac\u660e<\/th>\n<td>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u62e1\u5f35\u306b\u4f7f\u7528\u3059\u308b\u4e8b\u304c\u3067\u304d\u308b\u8efd\u91cf\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3002<\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Lua 5.4\u304b\u30895\u5e74\u3001\u8efd\u91cf\u3067\u7d44\u307f\u8fbc\u307f\u7528\u9014\u306b\u5f37\u3044\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u300cLua\u300d\u306b\u5f85\u671b\u306e\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3Lua 5.5\u304c\u767b\u5834\u3057\u307e\u3057\u305f(Phoronix)\u3002\u4eca\u56de\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306f\u3001\u8a00\u8a9e\u4ed5\u69d8\u306e\u6539\u5584\u304b\u3089\u30e1\u30e2\u30ea\u52b9\u7387\u306e\u5411\u4e0a\u3001\u30ac\u30d9\u30fc\u30b8\u30b3\u30ec\u30af\u30b7\u30e7\u30f3 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":132197,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[2895],"class_list":["post-132196","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-lua"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/132196","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=132196"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/132196\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/132197"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=132196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=132196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=132196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}