r/linux • • Aug 16 '14

Yet another C object model

https://phab.enlightenment.org/phame/live/1//post/yet_another_c_object_model_but_better/
53 Upvotes

60 comments sorted by

View all comments

Show parent comment

2

u/Alborak Aug 16 '14

If you want bounds checking on arrays do it yourself. Not going off into space when working with arrays is not hard. I dont need bounds checking in my bootstrap code, I know exactly where my stuff is going. That's one of the best the best parts of c, when you know what you're doing the language won't get in your way.

2

u/rastermon Aug 16 '14

Indeed. That's why we love it. All we needed was some extra infra and features and again the language didn't stop us. We just had to do the footwork. We made it a lib to reuse and share. Well build tools too.

0

u/[deleted] Aug 16 '14

[deleted] — view deleted comment

3

u/rastermon Aug 16 '14

Some of us are more disciplined than others. As i said. Never had problems with what you claim above (array bounds etc.). The problems i have are when you have 1 million lines of c flinging objects and callbacks around with long timelines and unpredictable incoming events driving things with recursive callback calling etc. Just some simple array and pointer handling is a breeze to get right vs that.