I just sat down to implement yet another "png2h" utility when I remembered that I'm using clang and C23 and that I can just use #embed and holy hell that's nice.
Happy New Year, specifically to @thephd !
@dotstdy @oblomov There is an interesting point here that I think is missing (which has a connection to IE in the Microsoft way). MSVC was originally not complaint even closely to C++98 but after many years of competition from clang and GCC (and ICC/EDG), MSVC is now inline with C++17 and even gaining support for c++20 and C++23/26 support.
Having a standard forced finally MSVC to follow the rest as developers started to have something else to use.
Now on the C side of things, things are slightly different. This is more due to Microsoft view that less Windows developers care about C and its features that is just specific to C. E.g. VLA support is not going to be ever implemented for MSVC (unless added to C++). #embed is being added because it is needed for C++ support.
Basically if a feature is added to the C++ standard from C, then it will be done for MSVC.
I am not sure if _BitInt support will ever be added to C++; though clang already implements it but GCC does not. I don't think there is a C++ proposal adding it yet; I have not seen one.
Разбираем net/http на практике: пишем веб-сервис DeadDrop для безопасного обмена сообщениями
Первая часть цикла «Разбираем net/http на практике»: создаём с нуля сервис DeadDrop — аналог Privnote для безопасной передачи самоуничтожающихся сообщений и файлов. На чистой стандартной библиотеке net/http разбираем основы: • запуск HTTP-сервера • маршрутизация в ServeMux • написание middleware (логирование и recovery от panic) • работа с HTML-шаблонами и layout’ами • подключение статики через http.FileServer и embed.FS В итоге получаем работающий сервер с красивой главной страницей, формой создания «ячейки» и базовой архитектурой проекта — всё без внешних зависимостей. Идеально для начинающих и тех, кто хочет глубоко понять внутренности популярных фреймворков вроде Gin и Echo. Пишем код вместе!
https://habr.com/ru/articles/981356/
#golang #go #httpсервер #вебразработка #туториал #middleware #template #embed #petпроект #backend
𝗙𝗶𝗿𝗲𝗽𝗿𝗼𝗼𝗳:
https://thewhale.cc/posts/fireproof
Fireproof is an embedded database designed to bring live data anywhere. Quickly add live data to any app or page with our embedded database, reducing risk, cost, and complexity with provable secure synchronization using any backend.
How To Embed Google Maps Location in WordPress Blocks Editor in 2026? 🗺 https://www.youtube.com/watch?v=UJDNV0UD5ws 🎬📌 #Embed #GoogleMaps #Location #WordPress #Tutorial
Astrophotographer Calls on X to Give Creators Control Over Embedded Posts https://petapixel.com/2025/12/16/astrophotographer-calls-on-x-to-give-creators-control-over-embedded-posts/ #astrophotographer #Technology #elonmusk #twitter #embed #News #x
anyway. psa. when you use the new and exciting #embed directive for the first time to put a file in your favorite static const char array, remember to use 'suffix(, 0)' or your excitement will turn into twenty minutes of confusion
How to Add or Embed TripAdvisor Reviews to WordPress Website For FREE? ⭐️ https://www.youtube.com/watch?v=OYrEU-6FxXc 🎬🔌 #Embed #TripAdvisor #Reviews #WordPress #Guide
Clang bytecode interpreter update
https://developers.redhat.com/articles/2025/10/15/clang-bytecode-interpreter-update#
recent improvements made to the Clang bytecode interpreter, including performance optimizations, libc++ testing, and the `#embed` benchmark
@equinox @thephd The interesting part of GCC's design with respect to C preprocessor, it is it in its own library with callbacks for error reporting and a few other things.
yes that would be useful thing to have because I always forget the `\` too, especially for large macros
The other useful thing is `#embed` from a macro so you can do stuff like:
`#define myembed(a) #embed "path"/ a ... `.
Clang bytecode interpreter update It’s October again, so let me tell you what happened with the clang bytecode interpreter this year. In case this is the first you’ve encountered this topic: This is a project for a bytecode interpreter in clang to evaluate constant expressions at compile time. This work is already available in all recent clang versions when -fexperimental-new-constant-interpreter […] https://whalers.ir/blog/clang-bytecode-interpreter-update/11486/ ##embed
Clang bytecode interpreter update
It’s October again, so let me tell you what happened with the clang bytecode interpreter this year. In case this is the first you've encountered this topic: This is a project for a bytecode interpreter in clang to evaluate constant expressions at compile time. This work is already available in all recent clang versions when -fexperimental-new-constant-interpreter is passed.Previous articles in this series:A new constant expression interpreter for Clang (2022)Part 2 (2023)Part 3 […]https://whalers.ir/blog/clang-bytecode-interpreter-update/11486/
Finmid ermöglicht mit seiner Embedded-Lending-Technologie nun grenzüberschreitende KMU-Kredite in 30 europäischen Ländern – inklusive Nicht-EU-Staaten. Für IT-Plattformen eröffnen sich endlich skalierbare, einheitliche Finanzierungs-APIs über nationale Grenzen hinweg – ein echter Gamechanger im Fintech-Sektor.
#Aktuell #Anwendung #digitaleKreditvergabe #Embed...
https://www.it-finanzmagazin.de/finmid-grenzueberschreitende-kreditvergabe-fuer-kmus-in-30-europaeischen-laendern-233196/?fsp_sid=8879
CVE Alert: CVE-2025-10647 - salzano - Embed PDF for WPForms - https://www.redpacketsecurity.com/cve-alert-cve-2025-10647-salzano-embed-pdf-for-wpforms/
#OSINT #ThreatIntel #CyberSecurity #cve-2025-10647 #salzano #embed-pdf-for-wpforms