- 1 Post
- 28 Comments
PushButton@lemmy.worldto Programming@programming.dev•AI Models from Google, OpenAI, Anthropic Solve 0% of ‘Hard’ Coding Problems168·25 days agoIt means the AI is very helpful to you. This also means you are as good as 1/3 of an AI in coding skills…
Which is not a great news for you mate.
PushButton@lemmy.worldto Programming@programming.dev•Migrating away from Rust [gamedev]31·3 months agoThere are plenty of games made with C# and Unity.
You surely played a few of them, let’s be honest.
So, if you’re asking this question, I guess the answer is: “you don’t even realize it’s happening”…
Rust marketing; since Rust has became popular, GC became a problem, out of no where, and segfaults became the most terrible bug a software can be afflicted with.
If C# and Unity are working well for them, good for them.
PushButton@lemmy.worldto Programming@programming.dev•Devs sound alarm after Microsoft subtracts C/C++ extension from VS Code forks873·3 months agoOh, Microsoft is pulling the rug under your feet?
That’s fuckin’ news right there!
PushButton@lemmy.worldto Programming@programming.dev•Vibe Coding is not an excuse for low-quality work19·3 months agoIn the meantime, I am interviewing juniors who can’t write a while or for loop without looking on the internet…
The future is looking grim.
PushButton@lemmy.worldto Programming@programming.dev•AI isn’t ready to replace human coders for debugging, researchers say4·3 months agoConsider yourself lucky. My boss doesn’t have any idea what a llm “ai” is, but he’s pushing us to use it, at every opportunity he can find.
Forget about telling him it’s bullshitting code, that’s just a model that it’s guessing the next word… It’s magic for him.
Once, he showed me how cool “prompting” was for something that he generated. It took him 10 minutes to “prompt” it, while doing it would have taken 5.
“Yeah, but it’s getting better every year”.
Living in the promise of a brighter future; I am still waiting for all the cancer cures and the flying cars…
PushButton@lemmy.worldto Programming@programming.dev•How Software Engineers Actually Use AI22·4 months agoThe amount of time the “AI” is saving me is well reimbursed, maybe twice, by the time I am wasting when that “AI” is bullshitting me.
At the end of the day, it isn’t worth the frustration.
PushButton@lemmy.worldto Patient Gamers@sh.itjust.works•Weekly Recommendations Thread: What are you playing this week?7·4 months agoElite Dangerous is back! They are releasing some amazing new content right now.
A new update which allow to colonize systems has been released.
Remove the dust from your copy and join us like so many of us!
PushButton@lemmy.worldto Open Source@lemmy.ml•troblo, a simple match-three terminal game (Bash)7·4 months agoMade in Bash instead of making it Blazing Dumb coded in HypeLang?
Great stuff, I want more of that.
I like the care you’ve put on the UI.
Good job!
I agree.
That guy has too many spotlights on him than he deserves…
Words are cheap, as we say.
PushButton@lemmy.worldto Programming@programming.dev•Zig vs Rust. Which one is going to be future?1·9 months agoOk I understand now. You are right. Thank you.
PushButton@lemmy.worldto Programming@programming.dev•Zig vs Rust. Which one is going to be future?1·9 months agoIt’s when you’re at the point of saying that unsafe is safe, it’s the point where you should just shut it up kid…
PushButton@lemmy.worldto Programming@programming.dev•What are your favorite statically typed, compiled, memory safe programming languages?2·9 months agoI don’t know what you are talking about?
Rust is such an amazing language, it’s so safe and clean and beautiful and simple and clear to read and such wow community that are making amazing crates for cargo because cargo is so cool I like it so much so easy to…
Oh, and your fav lang sux alot!1 lolololllll
PushButton@lemmy.worldto Programming@programming.dev•Zig vs Rust. Which one is going to be future?23·10 months ago- Zig uses allocators, which will inform you if you are leaking memory.
- Zig comes with defer/errdefer to simplify the resource cleanup (and for ergonomics).
- Zig comes with Optionals to manage nulls.
- Zig comes with slices (ptr + size) to manage all the bound-checking.
- Zig automatically check for overflow/underflow arithmetic.
- Zig will check for pointer alignments when casting between pointer types.
=> Zig is designed to make you do it right easily, and very hard to do it wrong.
In other words, Zig will let you be, but warn you when you are doing something wrong, where Rust is like Karen who is always screaming at you for every word you are typing.
To summarize, you really need to /want/ to fuck up to fail your memory management… If after all that you still can’t manage your memory, it might be better for you to look for another carer.
Something is sure thou, Zig is very safe - just as it’s safe to cut my veggies with a knife. I might cut a finger and bleed a little bit, but I will not use plastic knife “because it’s safer”.
Moreover; You are talking like if Rust is safe, all the time, which is not true in reality:
52.5% of the popular crates have unsafe code. Therefore, in an average real-world Rust project, you can expect a significant number of the dependent crates to have unsafe code – Source
Basically, you’re comparing a hypothetical world where Rust is always safe to a superficial glance at Zig’s capabilities to claim a “winner” here.
And for the String library… Are you fucking serious? Do you want to compare the Zig’s Std library versus the famously tiny Rust Std library? Really?
PushButton@lemmy.worldto Programming@programming.dev•Zig vs Rust. Which one is going to be future?0·10 months agoRust in Linux lead retires
“I was expecting [Rust] updates to be faster, but part of the problem is that old-time kernel developers are used to C and don’t know Rust,” Torvalds said. “They’re not exactly excited about having to learn a new language that is, in some respects, very different. So there’s been some pushback on Rust.” Torvalds added, however, that “another reason has been the Rust infrastructure itself has not been super stable.” – Source [24-09-03]
I’m not sure that’s something to be crowing about, mate…
PushButton@lemmy.worldto Programming@programming.dev•Zig vs Rust. Which one is going to be future?01·10 months agoSo, you are telling Rust is named after the pathogenic fungus (cause disease) and the logo is a crab, just like the logo of Cancer?
That fits well with the language and its community. Well done!
C wasn’t my first language, but I learnt the most whilst learning C…
People are talking about footguns and what not security related issues. I agree it’s easy to write bad C code, but if you want to learn what’s going on, learn C.
Today I know a dozen of programming languages and C has always been in a special place in my heart. I am using Zig for my personal projects at the moment. It’s similar to C, without the pitfalls, and my C knowledge still helped me to learn that language.
Learning C is a service you are doing to yourself for the rest of your life.
I think you’re making a lot of misinterpretation; but that’s up to you…
But, just so that I can understand correctly… When you’re saying: “if I need something more […] I click terminal tab”
That “terminal tab” of yours, it’s a CLI isn’t it?
PushButton@lemmy.worldto Programming@programming.dev•Avoiding if-else Hell: The Functional Style3·10 months agoI always love watching people falling for Clown-Bob’s advises…
Let’s go, let’s eat shit on toasts! It’s just a matter of how thin you can spread it to hide the taste…
My personal experience is most people who are using git with a GUI are the same people who are asking my help to git-fu their git-problems…
Most GUIs only offer a subset of the git functionalities and hide what’s really going on by obscuring gitshell with “their workflow”.
In all cases, use what you like; some people like the shell. Cheatsheets are normally only for learning purposes and usually don’t stick for long, it’s not an end game thing…
Oh really? You won’t tell us that you’re not happy about the free marketing/traffic…