[-] modev@programming.dev 1 points 2 months ago

This community was created by Drew DeVault. But I think he is not interested, but you can ask him.

[-] modev@programming.dev 2 points 5 months ago

Thank you. That's what most of developers need to realize.

[-] modev@programming.dev 2 points 5 months ago

I am working at same company almost 20 yers and yes I burned out several times. I have sport, healthy food and hobbies like learning new tech. These 3 things are enough for me.

[-] modev@programming.dev 1 points 5 months ago

Languages have advocates, but for Rust, it looks like advocates have a language.

[-] modev@programming.dev 1 points 5 months ago* (last edited 5 months ago)

Using C and other languages is just a choice of tool in particular cases. People who are looking for a C replacement just do not want to accept reality or are hype-driven. You can use C, Hare, and something else at the same time. And Hare is not going to replace C and nobody of the main developers said about it.

[-] modev@programming.dev 2 points 5 months ago

Thank you for your support. Yes, and new tech is not always good.

9

How to properly install and set C debugging in Sublime Text?

24
Ode to C (programming.dev)

Personally, I have nothing against the emergence of new programming languages. This is cool:

  • the industry does not stand still
  • competition allows existing languages to develop and borrow features from new ones
  • developers have the opportunity to learn new things while avoiding burnout
  • there is a choice for beginners
  • there is a choice for specific tasks

But why do most people dislike the C language so much? But it remains the fastest among high-level languages. Who benefits from C being suppressed and attempts being made to replace him? I think there is only one answer - companies. Not developers. Developers are already reproducing the opinion imposed on them by the market. Under the influence of hype and the opinions of others, they form the idea that C is a useless language. And most importantly, oh my god, he's unsafe. Memory usage. But you as a programmer are (and must be) responsible for the code you write, not a language. And the one way not to do bugs - not doing them.

Personally, I also like the Nim language. Its performance is comparable to C, but its syntax and elegance are more modern.

And in general, I’m not against new languages, it’s a matter of taste. But when you learn a language, write in it for a while, and then realize that you are burning out 10 times faster than before, you realize the cost of memory safety.

This is that cost:

[-] modev@programming.dev 1 points 6 months ago

I have been working in webdev for 20 years and have enough income. But, I am so bored with this commercial project. Just want a hobby and something real, near to hardware, starting learning C and game dev, backend math and physics. It's interesting.

[-] modev@programming.dev 1 points 7 months ago

One way is to read the book "JavaScript: The Definitive Guide" by David Flanagan. Excellent explained. Deep dive into internals and after this book you definitely will have all the necessary info to write your one framework, for example.

Another way - https://javascript.info. Also well done and have actual knowledge.

-25

Why am I writing this post? Not because I hope for something or believe in change. These are just words. I could write this at the end, but then you would be looking for answers for me while reading, and I don't need them. They won't change anything.

So here it is. I don't claim to be a software development guru or a C language expert. I'm just a simple developer.

Why are we looking for new technologies? Why do we want to be part of a community that is buzzing with new projects? Why do we think that this new programming language will definitely help us create something amazing and truly great and, of course, will make us rich and provide us with a comfortable old age?

Why are we offered so many courses in so many programming languages and frameworks? Why do we teach what is required for companies that make money from us?

Why are there a lot of conferences on banal simple things, such as *** framework or ### technology (so as not to offend anyone), and there, with a smart look, newly minted gurus tell us how important it is to be able to transfer the value to the client and how to use certain templates?

Why do computers become more and more powerful, but programs continue to lag?

Why, when applying for a job, do we look for a vacancy based on knowledge of a programming language, but find it only based on knowledge of certain frameworks? Is it really difficult for a professional programmer to learn a framework in a week?

Why do we go into software development with the enthusiasm to create something great, but end up in a situation where we are developing some other catalog or some other digital yo-yo to make money?

Reason: because we want our passion for programming, our interest, to also bring us income.

Feature: we do not earn this money for ourselves, but for companies whose main goal is to quickly receive income from the software they sell.

Bugs: posts like this one.

[-] modev@programming.dev 1 points 7 months ago

In any case, what Linus says will not be taken into account. The fact that software quality is now secondary has already become the norm. Those who understand the state of things cannot do anything, because the boat is already sailing at full speed towards quickly generating income from software. The companies that hire developers are to blame. They are aimed at quick income, so they are looking for people who do not know the C language and how a computer works, but who are experts in frameworks and the development stack, which will allow them to “create” a product in the shortest possible time with a minimum number of bugs. Many things that are conceptually good are written in languages like C++ and others, and if you come to do something cool and not from scratch, you are forced to use what has already been written, and accordingly write in these languages. Computers are becoming more and more powerful, but the software continues to lag. I don't believe the situation will change.

[-] modev@programming.dev 1 points 7 months ago* (last edited 7 months ago)

Maybe he understood that everyone who would write the Linux kernel except him had to use a memory safe language so as not to break everything. But in the Linux kernel repo there is no Rust code yet: https://github.com/torvalds/linux. :)

71
submitted 7 months ago* (last edited 7 months ago) by modev@programming.dev to c/gamedev@programming.dev

There are a lot of questions and intentions to move into gamedev from developers who are burnt out at their jobs. And that's okay. From my own experience, I have a couple of pieces of advice that are not very professional.

1. It won't save you from everything you're so tired of.

Firstly, game development, like other areas, is full of its own nuances and pitfalls. And given that a person gets used to everything, you will soon find yourself in the same position. It’s better to look at game development as a hobby, a distraction from your main job. Moreover, for the first few years you will still not be able to earn enough to support yourself and your family.

2. There are no universal tools.

The main question in any field of programming today is which framework and programming language to learn. Here everyone will choose their own - what they can master. But it’s worth noting that in game development when switching, for example, from web development, you need to understand that you won’t be able to use React or even JavaScript if you want to become a real pro. You have to be willing to study hard. These are low-level languages - C, C++, Rust, and the basics of mathematics and physics, and possibly machine learning. It won't be easy, you just have to keep going. Take a break and study further. There is no need to strive to immediately choose the top and most complex tools; the main thing is to start somewhere.

3. This is a market with tough players.

If you think that you can create a game in a couple of months and immediately start making money, then this is not so. Of course, you can try, but the network is already full of low-grade content, and sometimes you just wonder about the mental health of the “creator”. I think it’s better to create one project, but ideal, adequate and interesting.

4. Hype is temporary, and you only live once.

Lots of technologies, engines, etc. surrounded by a lot of hype. This is not bad for the creators of these things, but if you run after the clouds, you will never get anything done. Let your achievements be modest, but they will be yours. This will save you from burnout at your main job, otherwise there will only be dissatisfaction with yourself.

Add your own...

2
Rust vs C (programming.dev)
submitted 7 months ago* (last edited 7 months ago) by modev@programming.dev to c/programming@programming.dev

Without any ::prelude and some void* arguments. Maybe you have thoughts about it.

The URL is just a sample of "why" but not "because".

I have my own preference but will keep it inside my mind to not burn a tornado that will erase me from the matrix of the world.

P.S.: I think C is faster, more powerful, and more elegant. I like it more than Rust.

[-] modev@programming.dev 1 points 7 months ago

I have installed gcc and Raylib from msys2.

And compile my code with it using:

gcc test.c -lraylib -lopengl32 -lgdi32 -lwinmm

[-] modev@programming.dev 1 points 7 months ago

Something similar is now about Rust and who calls it C replacement. Sometimes, the intention to simplify things leads to complicating.

view more: ‹ prev next ›

modev

joined 7 months ago
MODERATOR OF