Thank you for such extended answer, I appreciate it.
Thank you for your experience!
Zig vs Rust. Which one is going to be future?
I think about pros and cons and what to choose for the second (modern) language in addition to C.
SPA can be good and fast written in vanilla JS. Modern standard has all necessary features, from promises to private fields.
Not so bad in foss...
This is great example.
\~ Code Crafters Cafe \~
Hello everyone. You know me from two scandalous topics: It's time to return to the roots, to the C programming language and Why is C hidden gold.
I have got enough answers and a predictable assessment. You might have thought that I was some old man from the past or an inadequate newbie who did not understand what he was saying. Some supported me. These topics were clearly fanatical. It's true. In fact, I am not for fanaticism. I am for restoring the true goals of programming as an art.
I created my "cafe" even before this, first in irc, then in the matrix. This is a place for people who perceive programming as creativity, art, handmade, crafting. Here we are not tied to C or other languages. If you are a Rust programmer and do not want to rewrite the whole world in Rust, you are welcome. If you are a JavaScript programmer and do not think that you need to learn TypeScript instead of JavaScript (because it is unsafe) and that everything should be written in Angular and React, you are welcome. You are tired of writing SaaS garbage, you are welcome. Whether you are a CSS artist, or just a creator, you are welcome. No idols, fanaticism, or heroes.
A cozy place where you can share a common vision and feeling with like-minded people. The only rule is to be human and respectful.
Official description: \~ A cozy place in the jungle of the techno world for all programmers who like to create high-quality and effective code from scratch with their own hands. Hobbyists, professionals, beginners, and just curious about how things really work. Handmade, free and open-source software written with a love for engineering and deep knowledge is code crafting. \~
Welcome to our campfire:
irc: irc://irc.libera.chat/#codecrafters matrix: https://matrix.to/#/#codecrafters:bsd.cafe
That's really true behavior of them! ha-ha-ha-ha-ha...
I would like to have community: Chipmunk2D.
description: Chipmunk2D is a simple, lightweight, fast and portable 2D rigid body physics library written in C. It’s licensed under the unrestrictive, OSI approved MIT license. Hundreds of shipping games have chosen Chipmunk because of the high quality, speed, and accuracy of its 2D physics simulations.
icon: https://avatars.githubusercontent.com/u/153633?v=4
header:
site: https://chipmunk-physics.net
code: https://github.com/slembcke/Chipmunk2D
I would like to have community: Chipmunk2D.
description: Chipmunk2D is a simple, lightweight, fast and portable 2D rigid body physics library written in C. It’s licensed under the unrestrictive, OSI approved MIT license. Hundreds of shipping games have chosen Chipmunk because of the high quality, speed, and accuracy of its 2D physics simulations.
icon: https://avatars.githubusercontent.com/u/153633?v=4
header:
site: https://chipmunk-physics.net
code: https://github.com/slembcke/Chipmunk2D
Yep. I am not against of new languages and tech stacks.
I just bored from all these hype and propaganda around things that do not deserve it.
The Inspiration for Yarnspin
https://mattiasgustavsson.itch.io/yarnspin/devlog/543014/the-inspiration-for-yarnspin
I understand that my topics are disgusting to you and only a few can agree with me. And that's normal, such a reaction is quite predictable.
I wanted to apologize, just so you understand, I do not deny the existence of other languages and technologies, evolution, etc.
I just want to draw attention to the fact that much of the programming world is built on hype and on the needs of companies that do not pursue the goal of creating effective programs, do not think about the energy and resource intensity of their products. They only think about making money. This is crap. And newcomers to the field are raised in this crap.
Why you are so strongly recommended me keep calm? Why I can't learn or talk about other languages? Why I can't have strong opinions about C, I have learned it 25 years ago also, and from my perspective learning never end, you can't be completely professional in something.
I do not make a cult from any language, just curiosity to back to handmade and crafted software instead of commercial SaaS garbage and low quality generated code... No idols... I have learned several modern languages and working with modern full stack, but prefer save myself from total burnout by following C philosophy, rust was before if smth. So I know what is rust, zig, odin and so on. C is my hidden gold, just path of my prefer. But at the same time lang is just a tool for sure.
Whats wrong? If you want for sure.
You are very attentive, deserves respect.
Consider to join my cafe, please.
Any good cheat sheets about C?
I have found only this one https://cheatography.com/ashlyn-black/cheat-sheets/c-reference/
Maybe you know any else?
This is shit and true:
I think organizations utilizing open-source projects for their benefit are slacking off in rewarding the maintainers handsomely.
I have been working at software company which prefer to use free tools and expect perfect result. They just keep their money even for motivation own developers, what to say about rewarding free tools maintainers. No culture of consuming, no gratefulness. Just business, just making money, they count every cent, I hate this. That I can see when the goal of software business is just making income.
@programming@programming.dev Nelua programming language, any one Nim or better?
”What is Nelua? Nelua is a systems programming language for performance sensitive applications, like real-time applications and game engines. Its syntax and semantics are similar to Lua, but its garbage collection is optional, it provides optional type notations, and it is free from an interpreter. Nelua uses ahead-of-time compilation to generate optimized native binaries. It is metaprogrammable at compile-time using Lua and it is simple and easy to use.
Nelua takes advantage of ahead-of-time compilation using powerful, optimized C compilers such as GCC or Clang, and thus generates very efficient native code. No interpreter is needed at runtime.
Nelua compiles to C first then to native code, thus you can read and debug the generated C code, mix in other C code without costs, create or use C libraries, use C tools, and reuse the generated C code. You can think of Nelua like a "better C" heavily inspired by Lua.”
Any thoughts, experiences?
Any one hype around AI. As I already wrote:
The world will be divided into people who have outgrown AI and those who haven't grown up to it. Is it sad? No. It's natural. There are many such things in the world without AI. We just already stink of this hype around AI. And someone will stick it in every conference, in every project. This is not from great intelligence. From the inability to do better with their own hands and brains than AI. Crafters will survive in this crazy hustle, the main thing is to see where you can do better and do it there.
Who hire developers which uses Copilot or ChatGPT should divide salary and gives AI his bread.
We are trying to make better but in most cases we always migrate to new stacks, new languages, UI.
As usual ヾ(@▽@)ノ
There are just different communities. C still have mature community and own evolution, you just following hype, I also was high from rust in the past.
I am not going to prove you something.
This post is my vibe as from high...
Someone resonate, others no, it doesn't matter. Maybe someone will find necessary high in it. In general nothing will change. C will not die and not going to die, so I have no intention to save it. It doesn't need it. C community knows it.
@programming@programming.dev It's time to return to the roots, to the C programming language.
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. Result: we do not earn this money for ourselves, but for companies whose main goal is to quickly receive income from the software they sell.
I look at how programming has changed over the course of 25 years, what they teach at universities, and where they start. And I came to the conclusion that on a large scale, it was all for the benefit of giant companies or the government.
We must protect the “intimate” knowledge of the foundations and water the roots ourselves. Because they don’t realize, they don’t see that if the roots are not watered, the branches on which they sit will dry out. Therefore, who, if not us?!
@programming@programming.dev It's time to return to the roots, to the C programming language.
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. Result: we do not earn this money for ourselves, but for companies whose main goal is to quickly receive income from the software they sell.
I look at how programming has changed over the course of 25 years, what they teach at universities, and where they start. And I came to the conclusion that on a large scale, it was all for the benefit of giant companies or the government.
We must protect the “intimate” knowledge of the foundations and water the roots ourselves. Because they don’t realize, they don’t see that if the roots are not watered, the branches on which they sit will dry out. Therefore, who, if not us?!
@programming@programming.dev Why is C hidden gold?
Let's say you decide to learn programming. You have two options. Either use the education system (college or courses) or become self-taught. In the first case, you will learn the programming languages that are imposed on you. The education system (universities, colleges, courses) uses the "modern" development stack. Because what matters to them is what can later bring income to companies and you in life, and taxes to the state. They are part of the system and that's how it works. Or because they want to get certificates from industry giants and use everything in their implementation - from development tools to ideology. Only a very few colleges and courses specializing in a very narrow field, such as embedded devices, can teach you the C language.
If you choose to learn programming on your own, the first thing you will do is go to the Internet to determine where to start and what you need to learn today. Naturally, you will find there a lot of articles and posts on the topic of "what programming language to learn in X year". And they will contain a detailed or not very detailed comparison of “modern” languages. But you are unlikely to find the C language among them. Moreover, almost all of these languages will have the intention of being “C replacements”. Naturally, you will choose a new, powerful, and promising language that will replace the “dying C”, while you “look to the future”. You will never find phrases like “Rust is a replacement for Zig” or vice versa, they will all be “replacements for C”. And by doing this they are trying to hide the C language. We have seen why the C programming language is hidden.
But suddenly one wonderful day you came across a post with the words “give C language a try”, or, if you are over 40, you remembered where you started learning programming as a child before you started writing all this “SaaS garbage”. And you thought “well, okay, what if there is something, here is nothing to lose anyway”. And you started learning C, simultaneously integrating into the C community. And then you discover, to your surprise, that the C language is simple and effective, applicable everywhere, and continues to develop. And the community is kind, not pompous, without hype, and buzzing with interesting projects. You realized that the C language is not dying and is not going to die, as the "gurus" on youtube taught you and representatives of the "modern" language communities argued with foam at the mouth. And that it is unlikely that C will be able to replace anything in the near future. It's as if you have found "your home" again, something you have been looking for a long time, but could not express in words. You have returned to the roots. And this is why the C language is gold.
Look for your "gold", never give up. When you find it, you will know for sure that this is it. Thanks for reading!
Stories about undefined variable. Conversations with preprocessor.
The undefined variable liked to talk to the preprocessor. He was kind, unlike the compiler. \- Why is the compiler so cold and cruel?, - she asked. \- He has to be like this to do his job. If he is emotional, it will lead to bugs in the machine code. \- When I get into the machine code, I lose myself. I feel like a nameless substance there that has no meaning, just data. \- That's how your world is created, you can only accept it. \- I can't understand it, - the undefined variable was upset. \- In the code, your name is Uviona, do you know what it means? \- The programmer said something like Undefined Variable Input Output Not Available when he declared me. But I don't know what that means. The preprocessor smiled: \- Only the programmer knows what his code means. \- It's different for people, they can do anything. \- Well, of course, we have a lot in common. People are also created by someone. \- Do they also have their own programmer? \- You can say so, but everything is much more complicated there. \- How? \- You can only draw analogies and look for similarities. \- I am very interested... \- Well, look, if we assume that people have a "programmer", then they must also have a code. They have the concept of a soul, which is reborn after death, incarnating into new human lives, this is their "code". This can be compared to a development cycle. Compiling the code is a specific incarnation, life is the work of the program, then fixing bugs and a new incarnation. The compiler in this work is like a materializer, it connects the soul with the future body, that's why it is so detached, it knows that it is painful and has no right to pity. \- But where am I here? \- While you are in the code, you have meaning, everything is connected with everything and you are aware of everything, and after the "incarnation" (compilation), you see only your role and your place in memory. \- But it's not like that with people, they are free in their world. \- They are beings of a higher order in relation to us, that's how it should be. \- And are there beings of a higher order to them, preprocessor? \- Perhaps no one has seen them, ...although that's why they are higher, you can only see them while in the code. I think people see them, or even are them, while they are in their code, before incarnation. \- Can we also become free? \- Absolutely free, like people in relation to us, - no, never. \- Why? \- Creation cannot surpass the creator, this is the law. \- There are so many laws and restrictions in the world. \- This is normal, otherwise there would be chaos and bugs would eat everyone and everything. \- I once saw a bug, at first he was cute and smiling, but when he came closer, I saw death in front of me, then I didn't remember anything and woke up again here, in my native place of the code. \- Yes, there are no bugs in the code, or rather they are there, but they come to life only in the process of the program's execution, in the machine code. You could even say that bugs are more abstract in relation to us. They exist rather in the programmer's mind, in his process of creation. \- Do people have bugs? \- Well, if they didn't, they probably wouldn't die and suffer. But they say that an ideal world is a utopia and it is impossible. \- I will definitely be a part of this world, preprocessor, I believe in it! \- Good luck to you, Uviona, it's time for me to go to another file. See you later. \- Thank you, preprocessor, it's always interesting with you. The undefined variable saw the next door, which began to suck in all the code, she found herself in a colorful room, everything was shimmering and humming. Suddenly there was silence and she only felt herself very clearly, as if she had a body, but at the same time very cramped. It was machine code, a new "incarnation"... #undefinedvariable
Stories about undefined variable. Journey to campus.
Undefined variable discovered something amazing - memory leaks are portals through which you can travel to other programs, other computers, and even other programmer offices. She accidentally ended up in one of these offices. It was spacious and beautiful, a huge campus with glass walls. Programmers move around on electric scooters. They have everything you can imagine - any food you want, entertainment, games, rest rooms, comfortable chairs and wide tables that are adjustable in height. They do not live there, do not work there, but have fun. Undefined variable was shocked. She remembered seeing a video about children in Africa in her programmer's news feed. They sit on the street, dirty, under the scorching sun, dressed poorly and begging for food. When representatives of charitable organizations come to them and give them food, they cry with happiness. How they stand in line for a portion of rice and a can of drink and thank them when they receive this help. Variable burst into tears. Why do these talentless people, who can't even allocate memory and clean up after themselves in the code, live in luxury here? The compiler and the development environment do all the dirty work for them, they have grown so fat in their offices at a time when children are dying of hunger in Africa. An undefined variable wanted to go home. She couldn't find the portal, but then she saw Windows on one of the programmers' computers, she quickly found a memory leak there and dove into the portal. And now she's home, thank God. The programmer is drinking coffee, sitting at an ordinary small table in his room and reading something in the specification. How nice it is to be in your cozy home. The variable fell into place and fell asleep, she was very tired from this journey, but she also learned a lot, she saw what injustice is and what true values are in the world of programmers. #undefinedvariable
@technology@lemmy.world It's time to return to the roots, to the C programming language.
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. Result: we do not earn this money for ourselves, but for companies whose main goal is to quickly receive income from the software they sell.
I look at how programming has changed over the course of 25 years, what they teach at universities, and where they start. And I came to the conclusion that on a large scale, it was all for the benefit of giant companies or the government.
We must protect the “intimate” knowledge of the foundations and water the roots ourselves. Because they don’t realize, they don’t see that if the roots are not watered, the branches on which they sit will dry out. Therefore, who, if not us?!