Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
manuel_w
on May 23, 2024
|
parent
|
context
|
favorite
| on:
Why not just do simple C++ RAII in C?
Sounds reasonable. In a project I used to work in I disabled stdlib, exceptions, RTTI. Not sure what else to disable to essentially have C with different syntax.
legobmw99
on May 23, 2024
[ā]
extern āCā on everything, if you care about linking compatibility, gets you another chunk of the way there by also disabling overloading etc.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: