{"id":167787,"date":"2026-04-07T17:11:56","date_gmt":"2026-04-07T15:11:56","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/proekt-solod-razvivaet-podmnozhestvo-yazyka-go-transliruemoe-v-yazyk-si"},"modified":"2026-04-07T17:11:56","modified_gmt":"2026-04-07T15:11:56","slug":"proekt-solod-razvivaet-podmnozhestvo-yazyka-go-transliruemoe-v-yazyk-si","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/proekt-solod-razvivaet-podmnozhestvo-yazyka-go-transliruemoe-v-yazyk-si","title":{"rendered":"A Solod projekt Go nyelv egy r\u00e9szhalmaz\u00e1t fejleszti, amelyet C nyelvre ford\u00edtanak.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Bemutat\u00e1sra ker\u00fclt a Solod (So) programoz\u00e1si nyelv, amely a Go nyelv egy r\u00e9szhalmaz\u00e1t biztos\u00edtja, amely C11 nyelvre transzkompil\u00e1lhat\u00f3, \u00e9s alkalmas a GCC, Clang \u00e9s zig cc ford\u00edt\u00f3k \u00e1ltal t\u00f6rt\u00e9n\u0151 ford\u00edt\u00e1sra. A Solod f\u0151 k\u00fcl\u00f6nbs\u00e9ge a Go-t\u00f3l \u00e9s a Tinygo-t\u00f3l a k\u00e9zi mem\u00f3ria kezel\u00e9s\u00e9nek haszn\u00e1lata, amely nem alkalmaz szem\u00e9tgy\u0171jt\u0151t, automatikus mem\u00f3riaallok\u00e1ci\u00f3t, vagy hivatkoz\u00e1s-sz\u00e1ml\u00e1l\u00e1st. A Solod transpiler\u00e9t Go nyelven \u00edrt\u00e1k, \u00e9s BSD licenc alatt terjesztik. T\u00e1mogatott rendszerek: Linux, macOS \u00e9s Windows.      <\/p>\n<p>A nyelv t\u00e1mogatja a strukt\u00far\u00e1kat, m\u00f3dszereket, interf\u00e9szeket, szeleteket, t\u00f6bb\u00e9rt\u00e9k\u0171 funkci\u00f3k visszat\u00e9r\u00e9s\u00e9t (p\u00e9ld\u00e1ul az eredm\u00e9nnyel + hiba k\u00f3ddal), generikusokat \u00e9s elhalasztott h\u00edv\u00e1sokat (defer). A nyelv egyszer\u0171s\u00edt\u00e9se \u00e9rdek\u00e9ben nem t\u00e1mogatja a csatorn\u00e1kat, a szubrut\u00ednokat \u00e9s a z\u00e1rv\u00e1nyokat. A Solod nyelven val\u00f3 fejleszt\u00e9s sor\u00e1n haszn\u00e1lhat\u00f3k l\u00e9tez\u0151 LSP-szerverek, lintel\u0151k, integr\u00e1lt fejleszt\u0151i k\u00f6rnyezetek \u00e9s k\u00f3d szerkeszt\u0151k, amelyek t\u00e1mogatj\u00e1k a Go nyelvet, valamint a \u201ego test\u201d eszk\u00f6zk\u00e9szlet.      <\/p>\n<p>A Solod nyelven \u00edrt k\u00f3d integr\u00e1lhat\u00f3 C nyelv\u0171 alkalmaz\u00e1sokkal (a C nyelv k\u00e9pes h\u00edvni a Solodon l\u00e9v\u0151 funkci\u00f3kat \u00e9s ford\u00edtva), \u00e9s nem ig\u00e9nyel runtime megk\u00f6t\u00e9st. A legfontosabb felhaszn\u00e1l\u00e1si ter\u00fcletek k\u00f6z\u00e9 tartozik a rendszerprogramoz\u00e1s, hasonl\u00f3 lehet\u0151s\u00e9gekkel mint a C, de Go-st\u00edlus\u00fa szintaxissal \u00e9s t\u00edpuskontrol biztos\u00edt\u00e1s\u00e1val. A Solod a Go-k\u00f6nyvt\u00e1rak portol\u00e1s\u00e1ra is alkalmazhat\u00f3 C projektekhez. Az al\u00e1bbi Go-csomagokat portolt\u00e1k C-re: strings, io, bytes, mem, slices stb. A portolt Go-k\u00f6nyvt\u00e1rak mellett a Solod nyelven k\u00e9sz\u00fclt programokban haszn\u00e1lhat\u00f3k a libc standard C k\u00f6nyvt\u00e1r\u00e9val k\u00e9sz\u00fclt wrapper-ek.    <\/p>\n<p>Alap\u00e9rtelmez\u00e9s szerint az \u00f6sszes mem\u00f3ria a veremben ker\u00fcl allok\u00e1l\u00e1sra, de a standard k\u00f6nyvt\u00e1r Alloc \/ Free funkci\u00f3ival lehet\u0151s\u00e9g van a heap mem\u00f3ri\u00e1ra val\u00f3 allok\u00e1l\u00e1sra is. Nincs szem\u00e9tgy\u0171jt\u00e9s \u00e9s hivatkoz\u00e1s sz\u00e1ml\u00e1l\u00e1s, de a Solod lehet\u0151s\u00e9get biztos\u00edt a t\u00edpuskontrolra \u00e9s a t\u00f6mbhat\u00e1rokon t\u00fali hozz\u00e1f\u00e9r\u00e9st\u0151l val\u00f3 le\u00e1ll\u00e1sra. Viszont a l\u00f3g\u00f3 mutat\u00f3k (dangling pointer) ellen\u0151rz\u00e9se \u00e9s a mem\u00f3ria felszabad\u00edt\u00e1s\u00e1nak hi\u00e1nya nem ker\u00fclnek ellen\u0151rz\u00e9sre. A mem\u00f3ria kezel\u00e9si probl\u00e9m\u00e1k kisz\u0171r\u00e9s\u00e9nek f\u0151 m\u00f3djak\u00e9nt az AddressSanitizer (-fsanitize=address) haszn\u00e1lat\u00e1t emelik ki a modern ford\u00edt\u00f3kban.      <\/p>\n<p>Teljes\u00edtm\u00e9ny szempontj\u00e1b\u00f3l a Solod nyelven \u00edrt leford\u00edtott programok t\u00f6bbs\u00e9g\u00e9ben gyorsabbak, mint a Go nyelven \u00edrt programok. P\u00e9ld\u00e1ul a Byte csomagban tal\u00e1lhat\u00f3 funkci\u00f3k teljes\u00edtm\u00e9nye m\u00e1sf\u00e9l szoros sebess\u00e9ggel haladja meg a mem\u00f3riak\u00f6lts\u00e9gek azonos szintj\u00e9t. A b\u00e1jtokkal val\u00f3 munka 1,3-szor gyorsabb olvas\u00e1skor \u00e9s 2-4-szer gyorsabb \u00edr\u00e1skor. A Map csomagban az eg\u00e9sz sz\u00e1m kulcsokkal v\u00e9gzett lek\u00e9rdez\u00e9s 3,4-szer gyorsabb, de a kulcsok m\u00f3dos\u00edt\u00e1sa 1,6-szor lassabb. A karakterl\u00e1nc kulcsokkal v\u00e9gzett lek\u00e9rdez\u00e9s a Go nyelvvel azonos szinten van, de a m\u00f3dos\u00edt\u00e1s 1,5-sz\u00f6r lassabb. Az eg\u00e9sz sz\u00e1mok elemz\u00e9se \u00e9s form\u00e1z\u00e1sa 2-szer gyorsabb, m\u00edg a lebeg\u0151pontos sz\u00e1mok\u00e9 1,5\/1,2-szer. A karakterl\u00e1nc-funkci\u00f3k 1,3-szor gyorsabbak, \u00e9s a karakterl\u00e1ncok l\u00e9trehoz\u00e1sa 2-4-szer gyorsabb, 10-20%-os mem\u00f3riafogyaszt\u00e1s-cs\u00f6kken\u00e9s mellett.<br \/>\n<br \/>Forr\u00e1s: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=65160\">opennet.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 \u0438 Tinygo \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 [&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-167787","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, \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.\" \/>\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\/proekt-solod-razvivaet-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\udd47\u041f\u0440\u043e\u0435\u043a\u0442 Solod \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442 \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, \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.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/proekt-solod-razvivaet-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-07T15:11:56+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-04-07T15:11:56+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 projekt a Go nyelv egy r\u00e9szhalmaz\u00e1t fejleszti, amely C nyelvre van transzform\u00e1lva | ProHoster","description":"Bemutat\u00e1sra ker\u00fclt a Solod (So) programoz\u00e1si nyelv, amely a Go nyelv egy r\u00e9szhalmaz\u00e1t ny\u00fajtja, \u00e9s C (C11) nyelvre transzkompil\u00e1lhat\u00f3, alkalmas GCC, Clang \u00e9s zig cc ford\u00edt\u00f3k haszn\u00e1lat\u00e1ra.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/proekt-solod-razvivaet-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\udd47\u041f\u0440\u043e\u0435\u043a\u0442 Solod \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442 \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, \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.","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/proekt-solod-razvivaet-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-07T15:11:56+00:00","article:modified_time":"2026-04-07T15:11:56+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\/167787","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=167787"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/167787\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=167787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=167787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=167787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}