Remix.run Logo
bawolff 6 hours ago

> If you are familiar with Odin, one of the most popular "C competitor" languages, this might sound a little bit insane to say out loud

Its hard to believe someone actually said this with a straight face.

I tend to lean more inclusionist, but there is no world where odin is one of the most popular c competitor languages.

dismalaf 6 hours ago | parent | next [-]

Zig is more popular. Name a second modern "C competitor" language that's more popular?

calvinmorrison 6 hours ago | parent [-]

golang, rust, c++... etc?

dismalaf 6 hours ago | parent [-]

The whole "C competitor" category is about minimalism so no one puts Rust or C++ in that category. Also Golang has a GC so most wouldn't even call it a systems language at all...

bawolff 5 hours ago | parent | next [-]

Everyone considers rust a c competitor. Its literally replacing c in the linux kernel.

uecker an hour ago | parent | next [-]

I wonder whether the "replacing c in the linux kernel" is not more wishful thinking by Rust enthusiasts. As of know it has less than 1% and less than bash.

raphlinus 4 minutes ago | parent | next [-]

Greg Kroah-Hartman has given a talk entitled "Untrusted data in Linux — How Rust is going to save us"[1] which I think is fairly optimistic about the idea that Rust will have an increasingly large role in the kernel. The total number of lines of code is small today but that will change.

[1]: https://www.youtube.com/watch?v=Nzmj7K0FNRY

happosai 14 minutes ago | parent | prev [-]

Linux kernel project stuck at C89 and refused move to c++ or even a C standard upgrade for decades. Move to C11 (a 15 year old standard) was done just a few years ago.

The fact that rust has been even accepted into the kernel is a resounding endorsement.

dismalaf 4 hours ago | parent | prev [-]

NetBSD puts Lua in kernel space, is it a C competitor?

Rust is an obvious competitor to C++, both are similarly featured.

When people talk about "modern C competitors" they're almost always talking about more minimalist languages like Zig, Odin, C3, Jai, Hare, etc...

calvinmorrison 5 hours ago | parent | prev [-]

ok maybe you are zoomed to far in.

forrestthewoods 3 hours ago | parent | prev [-]

> one of

Seems reasonably accurate? Odin is not particularly popular. Zig is much much more popular. As-is Go, although that’s not a straight C competitor.

But other than that?

Odin is a real language being used by real professionals to ship real software products for money. That alone makes it a rare and notable programming language!