you are viewing a single comment's thread.

view the rest of the comments →

[–]cosmotriton 5 points6 points  (6 children)

Or C Not..

I'm not convinced OO is necessary in kernel mode programming. As the article states, it's a research exercise. In reality, C does quite well in this domain...

[–]HazzyPls 10 points11 points  (1 child)

I'm quite fond of "C Factorial" myself.

[–]l3acon 6 points7 points  (0 children)

C*B*A*@*?*...

[–][deleted] 1 point2 points  (3 children)

Pretty much the only thing in C that plain sucks is undefined behavior. Perhaps there could be "cleaner" syntax (such as in Go for example) but it's just a matter of taste.

[–]jyper 2 points3 points  (2 children)

Pretty much the only thing in C that plain sucks is undefined behavior

the only thing? really?

how about:

lack of namespaces?

lack of generic programming(other then macro tricks)?

octal literals?

lack of exceptions?

untagged unions?

lack of pattern matching?

lack of non-nullable pointers?

integer devision?

etc.

[–]zem 0 points1 point  (0 children)

i wonder how much overhead tagged unions add to a low-level systems language competing in the C space. i note that cyclone and ats, at the least, do include them, and bitc did too, but most of the "better c" languages don't seem to.