▲ 142 ▼ 'Rust makes coding fun again': Why Linux is moving away from C, according to Greg Kroah-Hartman (www.zdnet.com) submitted 3 months ago by SorteKanin@feddit.dk to c/rust@programming.dev 63 comments fedilink hide all child comments
[–] SpaceNoodle@lemmy.world -2 points 3 months ago (7 children) Except for C permalink fedilink source parent hideshow 7 child comments replies: [–] FizzyOrange@programming.dev 0 points 3 months ago (6 children) C is firmly in the "not fun" camp with PHP, JavaScript and Bash. I'd say even assembly is more fun, in a puzzle challenge sort of way. The most fun language I've used is QuakeC, because the only thing you can do with it is write Quake mods. It was a pretty neat language too from what I remember. It even automatically detected infinite loops! permalink fedilink source parent hideshow 6 child comments replies: [–] SpaceNoodle@lemmy.world 0 points 3 months ago* (5 children) We all have different definitions of "fun." C won't surprise you when you try to add a string and an array; it'll do exactly what you told it to do, which then translates to assembly code with a very predictable pattern. On a different note, bash scripting is well-defined and mostly consists of understanding that common tools can be chained together to provide useful output; combined with the very well-defined string operations, I've found that bash scripts can address over 99% of cases people try to throw sed and awk at. It's almost surprisingly powerful. JavaScript is just a hot fucking mess. permalink fedilink source parent hideshow 5 child comments replies: [–] BB_C@programming.dev 1 point 3 months ago translates to assembly code with a very predictable pattern. the portable assembly meme 🤣🤣🤣🤣🤣🤣🤣 permalink fedilink source parent [–] FizzyOrange@programming.dev 1 point 3 months ago (3 children) C won’t surprise you... Lol... I'm sure there's a meme or graph for where you are in learning C to believe this. then translates to assembly code with a very predictable pattern. Even this is a stretch. Modern C compilers can do some wild transformations. I assume you've seen the classic one where UB makes it jump to a function that you never actually call. bash scripting is well-defined Yeah I mean Bash's problem isn't that it's poorly defined - it's that the definition is awful! permalink fedilink source parent hideshow 3 child comments replies: [–] SpaceNoodle@lemmy.world 0 points 3 months ago (2 children) I've been programming for 35 years, and professionally for over 20, so I'm pretty far along the curve, thanks. permalink fedilink source parent hideshow 2 child comments replies: [–] FizzyOrange@programming.dev 1 point 3 months ago (1 child) Well I guess not everyone learns at the same rate. permalink fedilink source parent hideshow 1 child comment replies: [–] SpaceNoodle@lemmy.world -2 points 3 months ago Don't worry, you might make it to the start of the bell curve one day. permalink fedilink source parent
[–] FizzyOrange@programming.dev 0 points 3 months ago (6 children) C is firmly in the "not fun" camp with PHP, JavaScript and Bash. I'd say even assembly is more fun, in a puzzle challenge sort of way. The most fun language I've used is QuakeC, because the only thing you can do with it is write Quake mods. It was a pretty neat language too from what I remember. It even automatically detected infinite loops! permalink fedilink source parent hideshow 6 child comments replies: [–] SpaceNoodle@lemmy.world 0 points 3 months ago* (5 children) We all have different definitions of "fun." C won't surprise you when you try to add a string and an array; it'll do exactly what you told it to do, which then translates to assembly code with a very predictable pattern. On a different note, bash scripting is well-defined and mostly consists of understanding that common tools can be chained together to provide useful output; combined with the very well-defined string operations, I've found that bash scripts can address over 99% of cases people try to throw sed and awk at. It's almost surprisingly powerful. JavaScript is just a hot fucking mess. permalink fedilink source parent hideshow 5 child comments replies: [–] BB_C@programming.dev 1 point 3 months ago translates to assembly code with a very predictable pattern. the portable assembly meme 🤣🤣🤣🤣🤣🤣🤣 permalink fedilink source parent [–] FizzyOrange@programming.dev 1 point 3 months ago (3 children) C won’t surprise you... Lol... I'm sure there's a meme or graph for where you are in learning C to believe this. then translates to assembly code with a very predictable pattern. Even this is a stretch. Modern C compilers can do some wild transformations. I assume you've seen the classic one where UB makes it jump to a function that you never actually call. bash scripting is well-defined Yeah I mean Bash's problem isn't that it's poorly defined - it's that the definition is awful! permalink fedilink source parent hideshow 3 child comments replies: [–] SpaceNoodle@lemmy.world 0 points 3 months ago (2 children) I've been programming for 35 years, and professionally for over 20, so I'm pretty far along the curve, thanks. permalink fedilink source parent hideshow 2 child comments replies: [–] FizzyOrange@programming.dev 1 point 3 months ago (1 child) Well I guess not everyone learns at the same rate. permalink fedilink source parent hideshow 1 child comment replies: [–] SpaceNoodle@lemmy.world -2 points 3 months ago Don't worry, you might make it to the start of the bell curve one day. permalink fedilink source parent
[–] SpaceNoodle@lemmy.world 0 points 3 months ago* (5 children) We all have different definitions of "fun." C won't surprise you when you try to add a string and an array; it'll do exactly what you told it to do, which then translates to assembly code with a very predictable pattern. On a different note, bash scripting is well-defined and mostly consists of understanding that common tools can be chained together to provide useful output; combined with the very well-defined string operations, I've found that bash scripts can address over 99% of cases people try to throw sed and awk at. It's almost surprisingly powerful. JavaScript is just a hot fucking mess. permalink fedilink source parent hideshow 5 child comments replies: [–] BB_C@programming.dev 1 point 3 months ago translates to assembly code with a very predictable pattern. the portable assembly meme 🤣🤣🤣🤣🤣🤣🤣 permalink fedilink source parent [–] FizzyOrange@programming.dev 1 point 3 months ago (3 children) C won’t surprise you... Lol... I'm sure there's a meme or graph for where you are in learning C to believe this. then translates to assembly code with a very predictable pattern. Even this is a stretch. Modern C compilers can do some wild transformations. I assume you've seen the classic one where UB makes it jump to a function that you never actually call. bash scripting is well-defined Yeah I mean Bash's problem isn't that it's poorly defined - it's that the definition is awful! permalink fedilink source parent hideshow 3 child comments replies: [–] SpaceNoodle@lemmy.world 0 points 3 months ago (2 children) I've been programming for 35 years, and professionally for over 20, so I'm pretty far along the curve, thanks. permalink fedilink source parent hideshow 2 child comments replies: [–] FizzyOrange@programming.dev 1 point 3 months ago (1 child) Well I guess not everyone learns at the same rate. permalink fedilink source parent hideshow 1 child comment replies: [–] SpaceNoodle@lemmy.world -2 points 3 months ago Don't worry, you might make it to the start of the bell curve one day. permalink fedilink source parent
[–] BB_C@programming.dev 1 point 3 months ago translates to assembly code with a very predictable pattern. the portable assembly meme 🤣🤣🤣🤣🤣🤣🤣 permalink fedilink source parent
[–] FizzyOrange@programming.dev 1 point 3 months ago (3 children) C won’t surprise you... Lol... I'm sure there's a meme or graph for where you are in learning C to believe this. then translates to assembly code with a very predictable pattern. Even this is a stretch. Modern C compilers can do some wild transformations. I assume you've seen the classic one where UB makes it jump to a function that you never actually call. bash scripting is well-defined Yeah I mean Bash's problem isn't that it's poorly defined - it's that the definition is awful! permalink fedilink source parent hideshow 3 child comments replies: [–] SpaceNoodle@lemmy.world 0 points 3 months ago (2 children) I've been programming for 35 years, and professionally for over 20, so I'm pretty far along the curve, thanks. permalink fedilink source parent hideshow 2 child comments replies: [–] FizzyOrange@programming.dev 1 point 3 months ago (1 child) Well I guess not everyone learns at the same rate. permalink fedilink source parent hideshow 1 child comment replies: [–] SpaceNoodle@lemmy.world -2 points 3 months ago Don't worry, you might make it to the start of the bell curve one day. permalink fedilink source parent
[–] SpaceNoodle@lemmy.world 0 points 3 months ago (2 children) I've been programming for 35 years, and professionally for over 20, so I'm pretty far along the curve, thanks. permalink fedilink source parent hideshow 2 child comments replies: [–] FizzyOrange@programming.dev 1 point 3 months ago (1 child) Well I guess not everyone learns at the same rate. permalink fedilink source parent hideshow 1 child comment replies: [–] SpaceNoodle@lemmy.world -2 points 3 months ago Don't worry, you might make it to the start of the bell curve one day. permalink fedilink source parent
[–] FizzyOrange@programming.dev 1 point 3 months ago (1 child) Well I guess not everyone learns at the same rate. permalink fedilink source parent hideshow 1 child comment replies: [–] SpaceNoodle@lemmy.world -2 points 3 months ago Don't worry, you might make it to the start of the bell curve one day. permalink fedilink source parent
[–] SpaceNoodle@lemmy.world -2 points 3 months ago Don't worry, you might make it to the start of the bell curve one day. permalink fedilink source parent