News for hackers. Stuff that matters.
Re:strcpy: A niche function you don't need by tick_tock_tick on Friday July 30, 2021 @05:33PM (#28012629)
> The project is new, in which case you can safely ban functions, but then why are you starting a new C project in 2021?

Interoperability? A tons of chips have a single C compiler forked from an old version of GCC without even full C99 support and that's it. Good luck getting anything else running on that hardware.

Re:strcpy: A niche function you don't need by staticassertion on Friday July 30, 2021 @11:51PM (#28015124)
Yep, for the 0.0001% of developers who target arcane architectures C is still pretty much it.
Re:strcpy: A niche function you don't need by Someone1234 on Friday July 30, 2021 @05:42PM (#28012730)
That's why you should evaluate the cost/benefit, like I said.

> If your goal is to avoid undefined behavior/potential security headaches, then C should be entered into after careful consideration of cost/benefits. There are better alternatives for some projects but not others YMMV.