{"id":168367,"date":"2026-04-11T11:12:10","date_gmt":"2026-04-11T09:12:10","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/solod-podmnozhestvo-yazyka-go-transliruemoe-v-yazyk-si"},"modified":"2026-04-11T11:12:10","modified_gmt":"2026-04-11T09:12:10","slug":"solod-podmnozhestvo-yazyka-go-transliruemoe-v-yazyk-si","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/solod-podmnozhestvo-yazyka-go-transliruemoe-v-yazyk-si","title":{"rendered":"A Solod a Go nyelv egy alsorozata, amely C nyelvre ford\u00edthat\u00f3","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex>      <noindex><\/p>\n<p><a rel=\"nofollow\" href=\"https:\/\/antonz.org\/solod\">Bemutatva<\/a> programoz\u00e1si nyelv <a rel=\"nofollow\" href=\"https:\/\/solod.dev\">Solod (So)<\/a>, amely a Go nyelv egy almint\u00e1j\u00e1t ny\u00fajtja, amely C nyelv\u0171 (C11) kimenetre transzkompil\u00e1lhat\u00f3, alkalmas a GCC, Clang \u00e9s zig cc ford\u00edt\u00f3k \u00e1ltal val\u00f3 ford\u00edt\u00e1sra. A Solod legf\u0151bb k\u00fcl\u00f6nbs\u00e9ge a Go-t\u00f3l a manu\u00e1lis mem\u00f3riakezel\u00e9s haszn\u00e1lata, amely nem alkalmaz szem\u00e9tgy\u0171jt\u0151t, automatikus mem\u00f3riaallok\u00e1ci\u00f3t vagy referencia-sz\u00e1ml\u00e1l\u00e1st. A Solod transzpiler Go nyelven \u00edr\u00f3dott \u00e9s <a rel=\"nofollow\" href=\"https:\/\/github.com\/solod-dev\/solod\">terjeszt\u00e9sre ker\u00fcl<\/a> BSD licence alatt \u00e1ll. T\u00e1mogatott rendszerek: Linux, macOS \u00e9s Windows.<\/p>\n<p><\/noindex><\/noindex> <noindex><\/p>\n<p>A nyelv t\u00e1mogatja a strukt\u00far\u00e1kat, met\u00f3dusokat, interf\u00e9szeket, szeleteket, t\u00f6bb \u00e9rt\u00e9k visszat\u00e9r\u00e9s\u00e9t (pl. eredm\u00e9ny + hibak\u00f3d), <a rel=\"nofollow\" href=\"https:\/\/github.com\/solod-dev\/solod\/blob\/main\/doc\/generics.md\">generikusokat<\/a> \u00e9s a k\u00e9sleltetett h\u00edv\u00e1sokat (<a rel=\"nofollow\" href=\"https:\/\/github.com\/solod-dev\/solod\/blob\/main\/doc\/spec.md#defer\">defer<\/a>). A nyelv egyszer\u0171s\u00edt\u00e9se \u00e9rdek\u00e9ben nem t\u00e1mogatottak a csatorn\u00e1k, a korutinok \u00e9s a z\u00e1rak. A Solod nyelv fejleszt\u00e9se sor\u00e1n haszn\u00e1lhat\u00f3k a megl\u00e9v\u0151 LSP szerverek, linters, integr\u00e1lt fejleszt\u0151i k\u00f6rnyezetek \u00e9s k\u00f3deditorok, amelyek t\u00e1mogatj\u00e1k a Go nyelvet, valamint a \u201ego test\u201d eszk\u00f6zk\u00e9szlet.<\/p>\n<p><\/noindex> <\/p>\n<p>A Solod nyelven \u00edrt k\u00f3d integr\u00e1lhat\u00f3 C nyelv\u0171 alkalmaz\u00e1sokkal (a C nyelv h\u00edvhatja a Solod funkci\u00f3it \u00e9s ford\u00edtva), \u00e9s nem ig\u00e9nyel runtime csatol\u00e1st. A f\u0151 alkalmaz\u00e1si ter\u00fcletek k\u00f6z\u00f6tt eml\u00edt\u00e9st nyer a rendszerszint\u0171 programoz\u00e1s, amely C-hez k\u00f6zeli lehet\u0151s\u00e9geket k\u00edn\u00e1l, de Go-st\u00edlus\u00fa szintaxissal \u00e9s t\u00edpuskontrollal rendelkezik. A Solod nyelv haszn\u00e1lhat\u00f3 a Go k\u00f6nyvt\u00e1rak C nyelv\u0171 projektekbe val\u00f3 portol\u00e1s\u00e1ra is. A Go csomagok k\u00f6z\u00fcl portolt\u00e1k:<\/p>\n<ul>\n<li><a rel=\"nofollow\" href=\"https:\/\/antonz.org\/porting-go-strings\">strings<\/a><\/li>\n<li><a rel=\"nofollow\" href=\"https:\/\/antonz.org\/porting-go-io\">io (antonz.org)<\/a><\/li>\n<li>bytes<\/li>\n<li>mem<\/li>\n<li>slices<\/li>\n<\/ul>\n<p> <noindex><\/p>\n<p>\u00e9s <a rel=\"nofollow\" href=\"https:\/\/github.com\/solod-dev\/solod\/tree\/main\/so\">stb.<\/a> K\u00fcl\u00f6n\u00f6sen <a rel=\"nofollow\" href=\"https:\/\/github.com\/solod-dev\/solod\/blob\/main\/doc\/stdlib.md\">a portolt Go k\u00f6nyvt\u00e1rak a Solod nyelv\u0171 programokban haszn\u00e1lhat\u00f3k<\/a> a szabv\u00e1nyos libc C k\u00f6nyvt\u00e1rral. <a rel=\"nofollow\" href=\"https:\/\/github.com\/solod-dev\/solod\/tree\/main\/so\/c\">csomagol\u00e1sa<\/a> Alap\u00e9rtelmez\u00e9s szerint minden mem\u00f3ria a veremben ker\u00fcl lefoglal\u00e1sra, de a<\/p>\n<p><\/noindex> <noindex><\/p>\n<p>Alloc \/ Free <a rel=\"nofollow\" href=\"https:\/\/github.com\/solod-dev\/solod\/blob\/main\/doc\/stdlib.md#somem\">szabv\u00e1nyos k\u00f6nyvt\u00e1r funkci\u00f3ival a halomban is lehet mem\u00f3ri\u00e1t allok\u00e1lni. Szem\u00e9tgy\u0171jt\u00e9s \u00e9s referencia-sz\u00e1ml\u00e1l\u00e1s nem haszn\u00e1latos, de a Solod lehet\u0151s\u00e9geket biztos\u00edt a t\u00edpuskontrollra \u00e9s a hat\u00e1rokon t\u00fali hozz\u00e1f\u00e9r\u00e9s miatti balesetek felfedez\u00e9s\u00e9re. A l\u00f3g\u00f3 mutat\u00f3k \u00e9s a mem\u00f3riafelszabad\u00edt\u00e1s hi\u00e1nya ellen\u0151rz\u00e9s\u00e9re nem ker\u00fcl sor. A mem\u00f3riahaszn\u00e1lati probl\u00e9m\u00e1k azonos\u00edt\u00e1s\u00e1nak f\u0151 m\u00f3djak\u00e9nt az AddressSanitizer -fsanitize=address modern ford\u00edt\u00f3kban val\u00f3 alkalmaz\u00e1s\u00e1nak eml\u00edt\u00e9se aj\u00e1nlott.<\/a> Teljes\u00edtm\u00e9ny szempontj\u00e1b\u00f3l a Solod nyelven \u00edrt leford\u00edtott programok t\u00f6bbs\u00e9ge<\/p>\n<p><\/noindex> <noindex><\/p>\n<p>a Go programokkal \u00f6sszevetve: <a rel=\"nofollow\" href=\"https:\/\/github.com\/solod-dev\/solod\/blob\/main\/bench\/README.md\">gyorsabb<\/a> programok Go nyelven:<\/p>\n<p><\/noindex> <\/p>\n<ul>\n<li>A Byte csomag funkci\u00f3inak teljes\u00edtm\u00e9nye m\u00e1sf\u00e9l szer gyorsabb az azonos mem\u00f3riafogyaszt\u00e1s mellett;<\/li>\n<li>A b\u00e1jtokkal val\u00f3 munkav\u00e9gz\u00e9s 1,3-szor gyorsabb olvas\u00e1skor \u00e9s 2-4-szer gyorsabb \u00edr\u00e1skor;<\/li>\n<li>A Map csomagban az eg\u00e9sz sz\u00e1m\u00fa kulccsal t\u00f6rt\u00e9n\u0151 lek\u00e9rdez\u00e9s 3,4-szer gyorsabb, de a kulcsok m\u00f3dos\u00edt\u00e1sa 1,6-szor lassabb;<\/li>\n<li>A karakterl\u00e1nc kulcsokkal t\u00f6rt\u00e9n\u0151 lek\u00e9rdez\u00e9s a Go nyelv szintj\u00e9n van, de a m\u00f3dos\u00edt\u00e1s 1,5-szor lassabb;<\/li>\n<li>az eg\u00e9sz sz\u00e1mok elemz\u00e9se \u00e9s form\u00e1z\u00e1sa k\u00e9tszer gyorsabb, m\u00edg a lebeg\u0151pontos sz\u00e1mok eset\u00e9ben 1,5\/1,2-szer gyorsabb;<\/li>\n<li>A karakterl\u00e1nc-funkci\u00f3k 1,3-szor gyorsabbak, a karakterl\u00e1ncok l\u00e9trehoz\u00e1sa pedig 2-4-szer gyorsabb, mik\u00f6zben 10-20%-kal cs\u00f6kkenti a mem\u00f3riafogyaszt\u00e1st.<\/li>\n<\/ul>\n<p>Forr\u00e1s: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/news\/development\/18263523\">linux.org.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Solod (So), \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u043f\u043e\u0434\u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u044f\u0437\u044b\u043a\u0430 Go, \u0442\u0440\u0430\u043d\u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c\u043e\u0435 \u0432 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u0421\u0438 (C11), \u043f\u0440\u0438\u0433\u043e\u0434\u043d\u043e\u0435 \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430\u043c\u0438 GCC, Clang \u0438 zig cc. \u041a\u043b\u044e\u0447\u0435\u0432\u044b\u043c \u043e\u0442\u043b\u0438\u0447\u0438\u0435\u043c Solod \u043e\u0442 Go \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0443\u0447\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u044c\u044e, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u0433\u043e \u0431\u0435\u0437 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u0431\u043e\u0440\u0449\u0438\u043a\u0430 \u043c\u0443\u0441\u043e\u0440\u0430, \u0431\u0435\u0437 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u0438 \u0438 \u0431\u0435\u0437 \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430 \u0441\u0441\u044b\u043b\u043e\u043a. \u0422\u0440\u0430\u043d\u0441\u043f\u0430\u0439\u043b\u0435\u0440 \u0434\u043b\u044f Solod \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Go [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-168367","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Solod (So), \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u043f\u043e\u0434\u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u044f\u0437\u044b\u043a\u0430 Go.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Erik Peterson\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/hu\/blog\/news\/solod-podmnozhestvo-yazyka-go-transliruemoe-v-yazyk-si\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47Solod \u2014 \u043f\u043e\u0434\u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u044f\u0437\u044b\u043a\u0430 Go, \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u0443\u0435\u043c\u043e\u0435 \u0432 \u044f\u0437\u044b\u043a \u0421\u0438 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Solod (So), \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u043f\u043e\u0434\u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u044f\u0437\u044b\u043a\u0430 Go.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/solod-podmnozhestvo-yazyka-go-transliruemoe-v-yazyk-si\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-04-11T09:12:10+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-04-11T09:12:10+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47A Solod a Go nyelv egy r\u00e9szhalmaza, amely C nyelvre ford\u00edtva | ProHoster","description":"Bemutat\u00e1sra ker\u00fclt a Solod (So) programoz\u00e1si nyelv, amely a Go nyelv egy r\u00e9szhalmaz\u00e1t k\u00edn\u00e1lja.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/solod-podmnozhestvo-yazyka-go-transliruemoe-v-yazyk-si","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47Solod \u2014 \u043f\u043e\u0434\u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u044f\u0437\u044b\u043a\u0430 Go, \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u0443\u0435\u043c\u043e\u0435 \u0432 \u044f\u0437\u044b\u043a \u0421\u0438 | ProHoster","og:description":"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Solod (So), \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u043f\u043e\u0434\u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u044f\u0437\u044b\u043a\u0430 Go.","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/solod-podmnozhestvo-yazyka-go-transliruemoe-v-yazyk-si","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2026-04-11T09:12:10+00:00","article:modified_time":"2026-04-11T09:12:10+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/168367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=168367"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/168367\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=168367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=168367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=168367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}