{"id":182796,"date":"2026-08-10T19:41:22","date_gmt":"2026-08-10T17:41:22","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/fil-c-0-682-memory-safety-bez-perepisyvaniya"},"modified":"2026-08-10T19:41:22","modified_gmt":"2026-08-10T17:41:22","slug":"fil-c-0-682-memory-safety-bez-perepisyvaniya","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/novosti-interneta\/fil-c-0-682-memory-safety-bez-perepisyvaniya","title":{"rendered":"Fil-C 0.682 \u2014 siguria e memories pa shkrimin e ri","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex>          <a rel=\"nofollow\" id=\"memories_button\" href=\"#\" title=\"P\u00ebr t\u00eb ndjekur\"><i class=\"icon-bell\"><\/i><\/a><br \/>2                            <\/p>\n<p>L\u00ebshimi i Fil-C 0.682 - nj\u00eb kompilator C dhe C++, q\u00eb siguron nj\u00eb siguri t\u00eb plot\u00eb t\u00eb pun\u00ebs me kujtes\u00ebn (memory safety) dhe jep garanci m\u00eb t\u00eb larta se shum\u00eb gjuh\u00eb t\u00eb tjera, si p\u00ebr shembull, Rust. Projekti po zhvillohet nga Filip Pizlo, i cili nuk ka nevoj\u00eb p\u00ebr prezantime.<\/p>\n<p>Fil-C \u00ebsht\u00eb i bazuar n\u00eb kodin burimor Clang\/LLVM 20.x dhe lejon kompilarin kode tradicionale n\u00eb C\/C++ me garancin\u00eb e parandalimit t\u00eb t\u00eb gjitha dob\u00ebsive kryesore (out-of-bounds access, use-after-free, double free, type confusion). Ndryshe nga ASan ose MTE, Fil-C p\u00ebrdor nj\u00eb model objektesh t\u00eb sigurt dhe prinzipialisht nuk p\u00ebrmban t\u00eb meta si bloket unsafe.<\/p>\n<p>Gjat\u00eb vitit t\u00eb kaluar, projekti ka kaluar nga nj\u00eb prov\u00eb konceptuale e mund\u00ebsive n\u00eb nj\u00eb mjet t\u00eb plot\u00eb me nj\u00eb ekosistem t\u00eb madh.<\/p>\n<p><strong>Karakteristikat kryesore dhe detajet teknike:<\/strong><\/p>\n<ul>\n<li><strong>InvisiCaps 2.0 dhe zhvillimi i modelit Capability:<\/strong> \u00cbsht\u00eb rishikuar ndjesh\u00ebm sistemi i autorizimeve (capabilities), q\u00eb ndjek kufijt\u00eb dhe llojet e treguesve pa e ndryshuar madh\u00ebsin\u00eb e tyre 64-bit n\u00eb hap\u00ebsir\u00ebn e adresave C. \u00cbsht\u00eb optimizuar ruajtja e capability, jan\u00eb ulur shpenzimet dhe \u00ebsht\u00eb shtuar mb\u00ebshtetje e sakt\u00eb p\u00ebr union, memcpy, operacione atomike me struktura dhe kalimin e mandatoreve p\u00ebrmes assemblerit inline.<\/li>\n<li><strong>Grumbulluesi paralel i plehrave (FUGC):<\/strong> N\u00eb grumbulluesin e plehrave n\u00eb koh\u00eb ekzekutimi <em>Koleksionisti i Mrekulluesh\u00ebm i Mbeturinave t\u00eb Fil<\/em> jan\u00eb shtuar grumbullimi paralel, mb\u00ebshtetje p\u00ebr objekte t\u00eb komplikuara si mbylljet dhe Funkcioni Indirekt GNU.<\/li>\n<li><strong>Mb\u00ebshtetje p\u00ebr ARM64:<\/strong> Jem\u00eb realizuar nga zero nj\u00eb backend, runtime, ngarkues dhe ABI p\u00ebr arkitektur\u00ebn ARM64 (Linux\/aarch64), projekti ka kaluar n\u00eb faz\u00ebn e testimit beta n\u00eb k\u00ebt\u00eb platform\u00eb.<\/li>\n<li><strong>Assembleri i sigurt dhe SIMD:<\/strong> \u00cbsht\u00eb shtuar mund\u00ebsia unike e ekzekutimit <strong>t\u00eb cop\u00ebzave assembleri t\u00eb sigurta<\/strong> (duke p\u00ebrfshir\u00eb blloqet assembleri t\u00eb OpenSSL) me ruajtjen e kontrollit t\u00eb autorizimeve. \u00cbsht\u00eb realizuar mb\u00ebshtetje e plot\u00eb p\u00ebr instruksioneve vektoriale SSE, AVX, AVX2 dhe AVX512 (duke p\u00ebrfshir\u00eb ngarkim\/ruajtje t\u00eb maskuar, zgjerim\/compression, sfence dhe prefetsh).<\/li>\n<li><strong>Analiza e Ikjes:<\/strong> Duke filluar nga versioni 0.671 \u00ebsht\u00eb implementuar analiza statike e ikjeve t\u00eb kujtes\u00ebs nga fushat e stack-ut. Kjo \u00ebsht\u00eb b\u00ebr\u00eb ndryshimi m\u00eb i madh optimizues p\u00ebr vitin: shpejt\u00ebsia e ekzekutimit t\u00eb QuickJS \u00ebsht\u00eb rritur m\u00eb shum\u00eb se 6 her\u00eb, nd\u00ebrsa shumica e programeve t\u00eb tjera mbi 10%.<\/li>\n<li><strong>Kompatibiliteti me C++ dhe standardet moderne:<\/strong> \u00cbsht\u00eb realizuar mb\u00ebshtetje p\u00ebr p\u00ebrjashtime C++, forca e shfuqizimit t\u00eb stack-ut, ucontext, kalimet e llogaritura, std::optional dhe treguesit p\u00ebr an\u00ebtar\u00ebt e klasave.<\/li>\n<li><strong>Mbrojtja nga optimizimet e rrezikshme UB t\u00eb LLVM:<\/strong> Fil-C n\u00eb fakt \u00e7aktivizoi optimizimet agresive t\u00eb LLVM q\u00eb varen nga Undefined Behavior (UB). N\u00eb ve\u00e7anti, \u00ebsht\u00eb detyruar t\u00eb \u00e7aktivizohet aliasing i rrept\u00eb dhe \u00ebsht\u00eb aktivizuar ekuivalenti -fwrapv, q\u00eb parandalon heqjen e pap\u00ebrshtatshme t\u00eb kontrollimeve t\u00eb siguris\u00eb nga kompajleri.<\/li>\n<li><strong>Kalimi n\u00eb LLVM\/Clang 20:<\/strong> Kompajleri \u00ebsht\u00eb transferuar n\u00eb baz\u00ebn e kodit Clang 20 (nga versioni Fil-C 0.670), q\u00eb ka siguruar p\u00ebrmir\u00ebsim t\u00eb pajtueshm\u00ebris\u00eb dhe portabilitetit t\u00eb kodit t\u00eb gjeneruar.<\/li>\n<li><strong>Zgjerimi i Linux ABI dhe FFI t\u00eb brezit t\u00eb ri:<\/strong> \u00cbsht\u00eb realizuar emulimi dhe mb\u00ebshtjellje t\u00eb sigurta p\u00ebr dhjet\u00ebra thirrje sistemike n\u00eb Linux (statx, openat2, pidfd, epoll, splice, futex, timer API etj.), si dhe mb\u00ebshtetje p\u00ebr dlopen, dlvsym, libffi dhe layer-in FFI p\u00ebr nd\u00ebrveprimin me kodin e jasht\u00ebm.<\/li>\n<li><strong>Kongres i ri i thirrjeve dhe API i runtime:<\/strong> ABI i brendsh\u00ebm i thirrjes s\u00eb funksioneve \u00ebsht\u00eb optimizuar p\u00ebr t\u00eb reduktuar overhead-in. Jan\u00eb shtuar API t\u00eb reja, p\u00ebrfshir\u00eb zlock_runtime_threads() (ngritja e thread-eve p\u00ebr nd\u00ebrtimin e sandvi\u00e7eve strikte), si dhe profiler-i i thjesht\u00eb i sampling dhe mjete p\u00ebr dump-in e memories.<\/li>\n<li><strong>Nj\u00eb distribucion i plot\u00eb userspace \/opt\/fil:<\/strong> nj\u00eb ambient sistemor i sigurt i bazuar n\u00eb glibc 2.40, duke p\u00ebrfshir\u00eb OpenSSH, OpenSSL, sudo, git, curl, wget, rsync, tmux, make, grep, si dhe bibliotekat sistemore (PAM, Kerberos, SELinux, ICU).<\/li>\n<\/ul>\n<p>Versionet binare t\u00eb gatshme shp\u00ebrndahen n\u00eb dy variante: autonome t\u00eb bazuara n\u00eb musl (filc) dhe nj\u00eb ambient t\u00eb plot\u00eb sistemor \/opt\/fil p\u00ebr arkitektur\u00ebn x86_64 dhe ARM64.<\/p>\n<p> <noindex><\/p>\n<p><a rel=\"nofollow\" href=\"https:\/\/github.com\/pizlonator\/fil-c\">GitHub projekti<\/a><\/p>\n<p><\/noindex> <noindex><\/p>\n<p>Gjithashtu t\u00eb theksojm\u00eb se ekziston edhe nj\u00eb distribucion Linux i sigurt p\u00ebr memorien \u2014 <a rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/news\/opensource\/18235548\">Pizlix<\/a><\/p>\n<p><\/noindex><\/p>\n<p>Burimi: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/news\/security\/18353368\">linux.org.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>2 \u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432\u044b\u043f\u0443\u0441\u043a Fil-C 0.682 \u2014 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 C \u0438 C++, \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u043f\u043e\u043b\u043d\u0443\u044e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043f\u0430\u043c\u044f\u0442\u044c\u044e (memory safety) \u0438 \u0434\u0430\u044e\u0449\u0435\u0433\u043e \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0438 \u0431\u041e\u043b\u044c\u0448\u0438\u0435, \u0447\u0435\u043c \u043c\u043d\u043e\u0433\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u044f\u0437\u044b\u043a\u0438, \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, Rust. \u041f\u0440\u043e\u0435\u043a\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0424\u0438\u043b\u0438\u043f\u043e\u043c \u041f\u0438\u0437\u043b\u043e (Filip Pizlo), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u0445 \u043d\u0435 \u043d\u0443\u0436\u0434\u0430\u0435\u0442\u0441\u044f. Fil-C \u043e\u0441\u043d\u043e\u0432\u0430\u043d \u043d\u0430 \u043a\u043e\u0434\u043e\u0432\u043e\u0439 \u0431\u0430\u0437\u0435 Clang\/LLVM 20.x \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u043d\u0430 C\/C++ [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-182796","post","type-post","status-publish","format-standard","hentry","category-novosti-interneta"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"2 \u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432\u044b\u043f\u0443\u0441\u043a Fil-C 0.682 \u2014 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 C \u0438 C++, \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u043f\u043e\u043b\u043d\u0443\u044e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0441.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Emin Berklin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sq\/blog\/novosti-interneta\/fil-c-0-682-memory-safety-bez-perepisyvaniya\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\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\udd47Fil-C 0.682 \u2014 memory safety \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u044f | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"2 \u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432\u044b\u043f\u0443\u0441\u043a Fil-C 0.682 \u2014 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 C \u0438 C++, \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u043f\u043e\u043b\u043d\u0443\u044e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0441.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/novosti-interneta\/fil-c-0-682-memory-safety-bez-perepisyvaniya\" \/>\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-08-10T17:41:22+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-08-10T17:41:22+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Fil-C 0.682 \u2014 siguria e memories pa riprogramim | ProHoster","description":"2 \u00cbsht\u00eb l\u00ebshuar Fil-C 0.682 \u2014 kompajleri C dhe C++, q\u00eb siguron plot\u00ebsisht sigurin\u00eb e funksionimit me.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/novosti-interneta\/fil-c-0-682-memory-safety-bez-perepisyvaniya","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","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\udd47Fil-C 0.682 \u2014 memory safety \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u044f | ProHoster","og:description":"2 \u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432\u044b\u043f\u0443\u0441\u043a Fil-C 0.682 \u2014 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 C \u0438 C++, \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u043f\u043e\u043b\u043d\u0443\u044e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0441.","og:url":"https:\/\/prohoster.info\/sq\/blog\/novosti-interneta\/fil-c-0-682-memory-safety-bez-perepisyvaniya","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-08-10T17:41:22+00:00","article:modified_time":"2026-08-10T17:41:22+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/182796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=182796"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/182796\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=182796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=182796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=182796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}