This post is great, thank you for this.
- 14 Posts
- 830 Comments
You don’t? Get a load of this guy, doesn’t even have storage for his rocks, haha.
Seems you don’t see the full chain of replies on your Mastodon instance. Not sure why
Let me ask a question, then: why were the Linux kernel and the Linux ecosystem written in C rather than Python?
… because C is a systems langauge that you can use to build a kernel? While Python is an interpreted runtime that cannot target bare-metal?
Rust can easily take the place of C, as Rust can also target bare-metal. It can do everything that C can do (perhaps aside from compiling to some very esoteric platforms). The reason Linux is written in C is cause C was the best option at the time, not because C is some magical language that can do stuff that no other language can.
Also, just because Linux was written in C doesn’t mean it is the best-known, most famous or most widely used language. Python is much more well-known and widely used than C.
SorteKanin@feddit.dkto
Fediverse@lemmy.world•How private do you consider your votes in the Threadiverse?English
5·6 天前Yes, admins can see all votes. (source: am admin)
I don’t know where you’ve heard this, but none of it is true. Rust is definitely used for low-latency trading, and that’s actually one place where it really shines.
sharing memory addresses across code intentionally having the same address written to and read from across threads. Something rust is sort of designed to not support.
C++ does not “support” that either. C++ will let you write that code, but if you write code like that in C++, it’s undefined behavior and trust me, no low-latency trading firm wants undefined behavior in their trading software (just imagine what could go wrong…).
Rust helps you avoid such issues. However, Rust definitely “supports” undefined behavior in the exact same way. If you want to share mutable pointers across threads and you don’t give a crap about undefined behavior… I mean, that’s really, really stupid but you can just write
unsafeand then you can do exactly what you can do in C++ as well.
C is currently the best-known programming language in the world
By what metric? It’s certainly not the most popular language. I don’t think it’s the most famous language either. Probably more people have heard of Python than C.
but no language can take the place of C
Why do you say that? I definitely think Rust can take the place of C. Not just can actually, I’d go as far as to say that Rust should take the place of C. C is much too unsafe to be used in today’s age. There’s really no excuse to use a memory unsafe language today if you’re starting something new.
It would not have been better if it was written in C. Rust is just as fast and much better.
I’m a professional software engineer writing Rust for many years now.
Honestly, I am very happy that AI is using Rust. Much better that AI uses Rust than Python! If you think AI written Rust is bad, you have no idea how sloppy AI written Python is.
Rust is a great language. Turns out the same stuff that makes it great for humans also makes it great for agents. This is not a bad thing, this is a win-win.
Historically, Rust’s biggest disadvantage has been how hard the language is to write and how much you sometimes need to fight the compiler. This disadvantage is quite effectively mitigated by AI, since you can let the AI fight the compiler and write most of the code. So you get all the advantages that Rust brings with basically none of the downsides.
I’m just happy that Rust was invented before LLMs. If Rust did not exist before LLMs, the code the AIs would be writing would be a lot worse.
SorteKanin@feddit.dkto
Fediverse@lemmy.world•Hi from normals.me. If you can read this, the federation worksEnglish
8·7 天前As a counterpoint, sloppy projects are being shared all over and it’s basically spam at this point. Even /r/rust had to disallow code projects, because there was simply way too much slop being posted all the time.
People share projects because back in the day, a project with hundreds of thousands of lines of code with a cool website and a lot of features were evidence of a lot of hard work, a lot of design decisions and a lot of tradeoffs.
Vibe coding has made that a bad metric. These things no longer mean that any actual work has been dedicated to this project. Anyone could use an afternoon prompting an agent to build the same thing. There is no value in sharing such a thing. At best, it’s worthless and at worst, it’s borderline a scam, an attempt at disguising a project as something it isn’t.
SorteKanin@feddit.dkto
Fediverse@lemmy.world•Hi from normals.me. If you can read this, the federation worksEnglish
22·7 天前I don’t think that’s a very nuanced position. LLMs can be an incredibly useful tool for programming. It would be silly not to use such a tool. Yes, it has its shortcomings and it can be used badly by amateurs but in the hands of a professional with good guidance, it can help a lot. Vibe coding doesn’t fall under that category though.
SorteKanin@feddit.dkto
Fediverse@lemmy.world•Hi from normals.me. If you can read this, the federation worksEnglish
11·8 天前Most of that is fair except
UI code is not part of the core business
That I definitely disagree with. UI and UX is important.
Still doesn’t make that vibe coded frontend worth anything.
SorteKanin@feddit.dkto
Fediverse@lemmy.world•Hi from normals.me. If you can read this, the federation worksEnglish
121·8 天前I very much doubt the AI use is confined to the frontend. But I don’t see why the frontend is fine to vibe code while other stuff is not?
Using AI as a tool is fine. It can be very useful for programming. But “vibe coding” is using it to an extreme degree where the AI is producing almost the whole thing, with a very small amount of guidance or design from the user. That’s what I would object to. Such a thing has very little value, anyone can vibe code such a thing.
SorteKanin@feddit.dkto
Fediverse@lemmy.world•Hi from normals.me. If you can read this, the federation worksEnglish
225·8 天前Is it elitism to call out vibe coding now? What a world.
Not to mention that their understanding of what tailwind is seems patchy at best, despite claiming that they have 15 years of experience.
SorteKanin@feddit.dkto
Fediverse@lemmy.world•Hi from normals.me. If you can read this, the federation worksEnglish
463·8 天前If you think choosing tailwind forces you into a certain style of website, you clearly don’t know what you’re talking about.
And you clearly haven’t just used AI for tests. I wonder if the source is closed because you know how obviously AI generated it would look if it was open source?
SorteKanin@feddit.dkto
Fediverse@lemmy.world•Hi from normals.me. If you can read this, the federation worksEnglish
515·8 天前Has AI been used to create this?
Do you really need to ask? 😅
SorteKanin@feddit.dkto
Fediverse@lemmy.world•Hi from normals.me. If you can read this, the federation worksEnglish
395·8 天前Closed source and clearly completely vibe coded? Just look at the site, it reeks of AI. Even this post has so much AI-speech.
Yea, no thanks.
SorteKanin@feddit.dkOPto
Programming@programming.dev•Linux Kernel TCP Flaw With 9.8 CVSS Score Affects Ubuntu, Red Hat and Other Distributions
581·14 天前Because some have released updated kernels while others haven’t
SorteKanin@feddit.dkOPto
Programming@programming.dev•Linux Kernel TCP Flaw With 9.8 CVSS Score Affects Ubuntu, Red Hat and Other Distributions
29·15 天前The score sounds a bit overblown considering this is for MPTCP which is as far as I understand rarely used? And it sounds like the chance of this leading to anything more than a crash is low. But whatever.
It’s a data race. Memory safety is still super important for security.










I hate to say it, but this sounds like copium. Do you still see loads of well-paid furniture woodworkers? Nah, it’s all replaced with factory IKEA stuff. Sorry, but nobody will pay for “artisanal coding” when they can get whatever they need from the AI for free.