Live data from Hacker News

C meeting is over. C23 added:

twitter.com

211–220 of 363 posts

Re: C meeting is over. C23 added:

#211
post #182
post #174

Earlier quoted context omitted.

I surely get C, having to deal with its casualties in DevSecOps. I have been "getting" C since 1992, across Xenix, DG/UX, HP-UX, Solaris, AIX, FreeBSD, Linux, Amiga, Windows 3.x,.....

You once claimed C requires UNIX like OS to run.

I claim it yet again on this very comment.

Without UNIX spreading with its free beer into universities, C would have been a footnote on the history of system programming languages.

Re: C meeting is over. C23 added:

#212
post #185
post #37

Based on another thread - I think the following topic should be an interesting one for HN to chew on: If someone wanted to write systems type of programming (whether it be embedded or Unix tools or even writing a library), should they go for C (C23) or Rust today?

D is a better modern C than Rust. Rust is very nice, but if you just want a safer C that will actually make you more productive versus less productive until you understand how rust wants you to program then D is a better fit.

Agree. "A better C" than C++ claims to be.

Re: C meeting is over. C23 added:

#213
post #181
post #167

Earlier quoted context omitted.

You surely can, better read those CPU manuals about line bus controllers.

Have you? I used to write device drivers mostly on ARM architectures and I have newer seen an instruction which would let me precisely control CPU instruction ordering or what it does with cache that I couldn't do in C.

That is why stuff like V-Tune exist with micro-ops profiler and pipeline debugging, maybe ARM should provide better tooling.

Re: C meeting is over. C23 added:

#214

Whenever I use C I use it for the express purpose of supporting ancient platforms. These platforms often only support C89, so that’s the dialect of C to which I restrict myself. If I am able to ignore those old platforms, I use C++. RAII is just so convenient.

Indeed, RAII and function overloading are the two things I sorely miss when I think of coding in C.

Re: C meeting is over. C23 added:

#215
post #190
post #27

Earlier quoted context omitted.

The exception that confirms the rule.

The exception? It's standard practice for distros to compile with hardening flags, and if RH submits the bugs they find with Coverity upstream, that protects the 1000s of C projects they package.

Standard practice they say,

https://googleprojectzero.blogspot.com/2021/12/this-shouldnt...

Re: C meeting is over. C23 added:

#216
post #207

Earlier quoted context omitted.

Of course, Eiffel is such a popular and widely used language, with a great toolset. /s

The amount of users doesn't change the fact of the tooling quality, but no wonder, UNIX folks tend to only take free beer, so what do they know about fine wine.

I've read the Eiffel books, and tried to use the Eifell tools, on Windows - a horrid experience. I am not a "UNIX folk" and I can't imagine what comparing UNIX and Eifell has to do with anything. It is basically an unuseable programming language and toolset, promoted by an egomaniac with a grudge against C++.

If you disagree, please provide a link to something medium sized and useful written in Eifel.

Re: C meeting is over. C23 added:

#217
post #17

I can't tell if this is serious. Surely if you're still using C now it's for legacy reasons. And if using it for legacy reasons you are likely stuck using an old C standard. So who will use C23?

Sounds like you're not really in touch with the real word. C has many benefits and it is super practical. Yes, you can write unsafe code, but safety isn't always your #1 priority. There are also tools you can use to identify issues, which will mitigate risks.

The truth is, C is merely a historical artifact, one step above the PDP-11 assembly, created in order to make the UNIX source code portable. It has transcended its original purpose, and with it being elegant and simple as it is, I would still never trust it to run a pacemaker.

Re: C meeting is over. C23 added:

#218
post #174

Earlier quoted context omitted.

I surely get C, having to deal with its casualties in DevSecOps. I have been "getting" C since 1992, across Xenix, DG/UX, HP-UX, Solaris, AIX, FreeBSD, Linux, Amiga, Windows 3.x,.....

Well, then, you must know it's not really a big deal to write code with proper memory checks.

I have found yet another C expert.

https://www.cvedetails.com/vulnerability-list/opmemc-1/memor...

Re: C meeting is over. C23 added:

#219
post #211
post #182

Earlier quoted context omitted.

You once claimed C requires UNIX like OS to run.

I claim it yet again on this very comment. Without UNIX spreading with its free beer into universities, C would have been a footnote on the history of system programming languages.

Nope in the above comment you claim something else.

Here is where you claim C requires UNIX like OS:

https://news.ycombinator.com/item?id=20828974

Let me tell you, in embedded development we run C on bare metal or under RTOS. There is no UNIX in sight. And the code is portable to many CPU architectures.

Re: C meeting is over. C23 added:

#220
post #182

Earlier quoted context omitted.

You once claimed C requires UNIX like OS to run.

And he was right. He didn't mean it as a statement of fact (which would be wrong, and he already knew it).

No he was definitely wrong. Ask any C developer.

His comment: https://news.ycombinator.com/item?id=20828974

Post reply on HN