logoalt Hacker News

Dependable C

30 pointsby RossBencinatoday at 4:29 AM20 commentsview on HN

Comments

chubottoday at 7:09 AM

There was also "boringcc"

https://gcc.gnu.org/wiki/boringcc

As a boring platform for the portable parts of boring crypto software, I'd like to see a free C compiler that clearly defines, and permanently commits to, carefully designed semantics for everything that's labeled "undefined" or "unspecified" or implementation-defined" in the C "standard" (DJ Bernstein)

And yeah I feel this:

The only thing stopping gcc from becoming the desired boringcc is to find the people willing to do the work.

(Because OSH has shopt --set strict:all, which is "boring bash". Not many people understand the corners well enough to disallow them - https://oils.pub/ )

---

And Proposal for a Friendly Dialect of C (2014)

https://blog.regehr.org/archives/1180

accelbredtoday at 7:33 AM

Is there a way to force reader mode or force text not to be justified like that? I'm having a difficult time reading the content (on mobile at least).

show 1 reply
torstenvltoday at 6:04 AM

> C isn't not a high level assembler

Hmm.

The text following this heading seems to take the opposite view. I suspect this is a typo.

However, I think the heading is accurate as written. The "C is not a high level assembler" crowd, in my view, is making a category error, conflating C itself with an ISO standard and abstract machine concept coming decades later.

By the same token, "C is a high level assembler" is a gross oversimplification.

"C isn't not a high level assembler" indeed.

show 1 reply
keyletoday at 6:00 AM

There are many problems with this website. I couldn't actually find the meat of it, where the intro page talked about what it could do for us.

Inconsistent titles, stuff labelled [TOC].

It might be a work in progress and not really ready to be shared widely.

show 1 reply
elcapitantoday at 7:26 AM

Wow, lots of C related posts in the last few days. Is that because of vibecoders rediscovering it?

show 1 reply
aw1621107today at 6:28 AM

This is reminiscent of Orthodox C++ [0], though I think it's perhaps more similar in goal than intent.

[0]: https://bkaradzic.github.io/posts/orthodoxc++/

show 1 reply