←back to thread

The C23 edition of Modern C

(gustedt.wordpress.com)
411 points bwidlar | 1 comments | | HN request time: 0.202s | source
Show context
bitbasher ◴[] No.41850914[source]
Really looking forward to #embed, once the compilers catch up. Until then, Golang.
replies(5): >>41851074 #>>41851080 #>>41851110 #>>41851215 #>>41851883 #
accelbred ◴[] No.41851883[source]
I end up using a .S asm file with .incbin directives to embed files.

#embed would be much nicer

replies(1): >>41853705 #
JonChesterfield ◴[] No.41853705[source]
Incbin works just fine from inline asm fwiw
replies(1): >>41856465 #
1. flohofwoe ◴[] No.41856465[source]
Inline assembly isn't supported for x86-64 and ARM on MSVC which unfortunately also means the incbin trick can't be used there anymore.