News for hackers. Stuff that matters.
Re:Comparing C and C++ usage and performance with a real wor... by coldtea on Sunday September 03, 2017 @01:35PM (#15162670)
>This makes sense, and then somebody has a vision for a use case beyond the original imagination, goes to turn the code into a library and spends countless hours smartening up lazy resource management.

That's THEIR problem then.

Why should the original author care for that?

Re:Comparing C and C++ usage and performance with a real wor... by bch on Sunday September 03, 2017 @02:43PM (#15163067)
> That's THEIR problem then.

It is their problem, clearly.

> Why should the original author care for that?

That's the question. Don't you think it's easy to think of reasons, though? What if the person porting the code to a library was a later version of the original author?

Re:Comparing C and C++ usage and performance with a real wor... by coldtea on Sunday September 03, 2017 @06:27PM (#15164330)
>What if the person porting the code to a library was a later version of the original author?

Then they know what they need to add, and can add it now that they need it -- instead of having it slowing them down when they didn't need it

Re:Comparing C and C++ usage and performance with a real wor... by astrobe_ on Sunday September 03, 2017 @03:32PM (#15163364)
Will you also call them lazy because they didn't care about being thread safe or UTF8-ready?
Re:Comparing C and C++ usage and performance with a real wor... by bch on Sunday September 03, 2017 @04:33PM (#15163733)
> Will you also call them lazy because...

I said it's lazy resource management. I'm really not trying to condemn, here, just provoke questions.