#embed

2025-12-28

@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.

2025-12-28

Разбираем net/http на практике: пишем веб-сервис DeadDrop для безопасного обмена сообщениями

Первая часть цикла «Разбираем net/http на практике»: создаём с нуля сервис DeadDrop — аналог Privnote для безопасной передачи самоуничтожающихся сообщений и файлов. На чистой стандартной библиотеке net/http разбираем основы: • запуск HTTP-сервера • маршрутизация в ServeMux • написание middleware (логирование и recovery от panic) • работа с HTML-шаблонами и layout’ами • подключение статики через http.FileServer и embed.FS В итоге получаем работающий сервер с красивой главной страницей, формой создания «ячейки» и базовой архитектурой проекта — всё без внешних зависимостей. Идеально для начинающих и тех, кто хочет глубоко понять внутренности популярных фреймворков вроде Gin и Echo. Пишем код вместе!

habr.com/ru/articles/981356/

#golang #go #httpсервер #вебразработка #туториал #middleware #template #embed #petпроект #backend

2025-12-26

𝗙𝗶𝗿𝗲𝗽𝗿𝗼𝗼𝗳:

#Database #Embed #Fireproof

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.

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.
Claudio Piresclaudiocamposp
2025-12-17

How To Embed Google Maps Location in WordPress Blocks Editor in 2026? 🗺 youtube.com/watch?v=UJDNV0UD5ws 🎬📌

2025-12-15
@wyatt but that argument ends up in "well no one should use anything past c99 then", things using c11 thread_local would cause the same issue, or c23 #embed, and so on

i'm sorry but c can't stay stuck in time because unmaintained c99 compilers exist

either a compiler backend for such platforms needs to be made, or for things like defer which are exclusively frontend features meant to reduce the likelyhood of programmer mistakes -- there are people working on c2y -> c89 transpilers, thus the source code can make use of the new convenient, safer, wanted features, and still be build-able on older toolchains by means of an extra step
2025-12-03

@Gaelan @mcc ooo yes I like this one, something produced entirely by the preprocessor and #embed statements

josefjk
2025-11-27

@halcy its just occurred to me maybe you could embed files on a virtual filesystem. like instead of suffix(, 0) why not just add another "/dev/zero" limit(1)

halcy​ :icosahedron:halcy@icosahedron.website
2025-11-27

@jk Like you can #embed a lil file with some #defines and then #embed a shader right afterwards, to share those defines between two shaders! Or to statically create shader variants! It‘s almost like having an include mechanism without having to bother with having an include mechanism!

josefjk
2025-11-27

anyway. psa. when you use the new and exciting 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

Claudio Piresclaudiocamposp
2025-11-16

How to Add or Embed TripAdvisor Reviews to WordPress Website For FREE? ⭐️ youtube.com/watch?v=OYrEU-6FxXc 🎬🔌

#misskey 自己写死了很多 #embed 的参数,没法自定义各种模块的显示,也不好自定义宽度,为了能放到blog里面只能强行rescale凑合了。如果直接改embed前端可能可以搞定,但是以后和上游的同步更新需要维护就很烦了。

Alex Rosenbergalexr@mastodon.online
2025-11-12

@shac I’m generally thinking that text-based metaprogramming is outdated. constexpr should be able to do the job, especially since “#embed” in C++26.

2025-10-20

Clang bytecode interpreter update
developers.redhat.com/articles
recent improvements made to the Clang bytecode interpreter, including performance optimizations, libc++ testing, and the `` benchmark

2025-10-16

@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 ... `.

2025-10-15

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 […] whalers.ir/blog/clang-bytecode #

2025-10-15

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 […]

whalers.ir/blog/clang-bytecode

IT FinanzmagazinIT_Finanzmagazin
2025-09-24

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.
...
it-finanzmagazin.de/finmid-gre

RedPacket SecurityRedPacketSecurity
2025-09-19

CVE Alert: CVE-2025-10647 - salzano - Embed PDF for WPForms - redpacketsecurity.com/cve-aler

-2025-10647 -pdf-for-wpforms

2025-09-07

#include would read the named file & concatenate into the output string preceded by a #line directive. #embed would work similarly, but reformats the read bytes into hexadecimal literals.

#define would extract the identifier & parse the following optional argument list & body removing (escaped) newlines to load into a "macro" table.

Non-preprocessor lines would be scanned for these macros' identifiers to perform a find & replace, recursing to handle substitute in parameters.

2/3?

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst