Why I Use C | Prime Reacts

preview_player
Показать описание
Recorded live on twitch, GET IN

### Reviewed Video

### My Stream

### Best Way To Support Me
Become a backend engineer. Its my favorite site

This is also the best way to support me is to support yourself becoming a better backend engineer.

MY MAIN YT CHANNEL: Has well edited engineering videos

Discord

Hey I am sponsored by Turso, an edge database. I think they are pretty neet. Give them a try for free and if you want you can get a decent amount off (the free tier is the best (better than planetscale or any other))
Рекомендации по теме
Комментарии
Автор

Prime might be a web dev, but we all know hes moving towards C/C++

cazz
Автор

Turned 3 mins video into 13 mins, is this guy the best react streamer or what

demolazer
Автор

Wait, did Prime just subtly endorse the practice of quiche eating? Revoke this man's x86 Assembly license immediately!

andythedishwasher
Автор

4:13 this. C _feels_ like it’s a direct translation of the assembly into a little bit more friendly and universal language.
But in reality we got caching, pipelineing, branching probability dependent pipeline prefetching, hyper threading etc etc on top of that we have compiler optimizations

In reality much much more is happening under the hood, that is abstracted away into a black box so the cpu acts like we think it should.

hansdampf
Автор

My reason for C is much simpler. I need to justify my alcoholism.

DagothDaddy
Автор

C is still the closest thing to cross-platform assembly. I also love the simplicity of the language, and it shows with how small and fast its compilers are. I only wish it had better tooling, as something like cargo really speeds up development.

FinaISpartan
Автор

After 40 years in IT as a reseller and now retired, I wanted to warm up my old hobby - programming. After two years of C++, I realized, that I'm not compatible with C++ and ended with C and it's great. When memory management and logic goes hand in hand, I just love it.

grimvian
Автор

8:40 - This is a really important thing for you to have called out, imo.
I was feeling super burned out for _years_ of corporate software work; spending most "dev time" on cloud configurations, using a random mix of languages for every project, spending tons of time upgrading frameworks or switching to new ones because web development paradigms and "best practices" change every year or two... it's all so draining and soulless.

Then I finally made myself do a project I'd been wanting to do for years - get back into making a game engine, combined with wanting to make it work for Web-Assembly for various reasons. Was originally going to use Rust, but learning two new things while already dealing with burnout was... not working. Eventually went with C and with the arbitrary deadline of a game jam, I managed to start the project and actually get into it again. Because of it, this is the first year in almost a decade where I've actually been _enjoying_ coding again.

KingBobXVI
Автор

„Giving yourself more control, but it comes at a cost of time“

Uses NeoVim and writes own Plugins

martinmusli
Автор

The reason I use C (and Odin, because it’s philosophy is the same) is because it doesn’t get in my way when I code. That’s it. It is so much easier to reason about my code when I don’t have 50 different features to think about, all polluting my mental model.

captainfordo
Автор

That's the reason I love programming in Common Lisp. You can start fairly abstract, but go down to machine level when you need to.

foo
Автор

10:28
Do love those filters and ranges.
Haven't written a boomer loop in anything but simple examples made readable for people unfamiliar with algorithms, in a long time.

bearwolffish
Автор

After trying out many languages (including Rust and Zig) I’ve also found that I strangely really enjoy C. There’s much less to keep in your head and with some good technique and knowledge of what you’re doing it’s very gratifying.

taylorallred
Автор

Because it's the offical lingua franca of programming

SimGunther
Автор

1:45 In youtube you can press '<' (without pressing shift so it's really ', ') to go back one frame and press '>' (also without pressing shift so it's really '.') to go forward one frame

AGentooUser
Автор

I don't often have an opportunity to write C, but when I do, I enjoy it. And often it is still the best tool for the job.

EvanEdwards
Автор

The dichotomy you describe between drive to mastery and drive to get paid seems like it has a middle ground that I strive for that could be described as a drive to accomplish a task well and efficiently for the satisfaction of it.

andythedishwasher
Автор

The best skill to have as a programmer is understanding code someone else wrote

samuelmoncarey
Автор

What some people miss about the undefined behavior in C is that much of it is a feature, not a bug in the spec. C deliberately has some UB to allow compilers to optimize on architectures that behave differently at a fundamental level. For example, AVR and PIC microcontrollers and certain RTOSes will not panic when dereferencing a null pointer. I've worked with some microcontrollers, like the TI MPS430, that actually initialize uninitialized variables. Not everything is ARM or x86.

C's stance to define this as UB means that compilers can make the correct decision depending on the OS and hardware. Reading forums of competing programing languages, you'd get the impression that undefined behavior in C is a pernicious and capricious bug in the specification itself. It's not. It's quite deliberate.

All this being said, languages that eliminate this UB and prescribe standards across hardware are limiting their optimizeability across different architectures and, imo, are unlikely to replace C as the common systems programming substrate.

xbmarx
Автор

As someone who tend to focus too much on details, I used to think that one very important quality of humans to do thing is to have a vision. A long term goal. These last few years, I've been focusing on short term goals. Thanks for the reminder than the most important thing is being my own self, having my own drive to do the things. ^^

Ceelvain