Menu

The case against a C alternative
📰
0

The case against a C alternative

Hacker News·about 2 months ago
#uALm9GT4
Reading 0:00
15s threshold

Like several others I am writing an alternative to the C language (if you read this blog before then this shouldn't be news!). My language (C3) is fairly recent, there are others: Zig, Odin, Jai and older languages like eC. Looking at C++ alternatives there are languages like D, Rust, Nim, Crystal, Beef, Carbon and others. But is it possible to replace C? Let's consider some arguments against. 1. C language toolchain The C language is not just the language itself but all the developer tools developed for the language. Do you want to do static analysis on your source code? - There are a lot of people working on that for C. Tools for detecting memory leaks, data races and other bugs? There's a lot of those, even if your language has better tooling out of the box. If you want to target some obscure platform, then likely it's assuming you're using C. The status of C as the lingua franca of today's computing makes it worthwhile to write tools for it, so there are many tools being written.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More