/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
The C23 edition of Modern C
(gustedt.wordpress.com)
515 points
bwidlar
| 3 comments |
15 Oct 24 16:06 UTC
|
HN request time: 0.85s
|
source
Show context
bitbasher
◴[
15 Oct 24 17:31 UTC
]
No.
41850914
[source]
▶
>>41850017 (OP)
#
Really looking forward to #embed, once the compilers catch up. Until then, Golang.
replies(5):
>>41851074
#
>>41851080
#
>>41851110
#
>>41851215
#
>>41851883
#
1.
accelbred
◴[
15 Oct 24 18:55 UTC
]
No.
41851883
[source]
▶
>>41850914
#
I end up using a .S asm file with .incbin directives to embed files.
#embed would be much nicer
replies(1):
>>41853705
#
ID:
GO
2.
JonChesterfield
◴[
15 Oct 24 22:19 UTC
]
No.
41853705
[source]
▶
>>41851883 (TP)
#
Incbin works just fine from inline asm fwiw
replies(1):
>>41856465
#
3.
flohofwoe
◴[
16 Oct 24 07:24 UTC
]
No.
41856465
[source]
▶
>>41853705
#
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.
↑