If you are using clang-format in any of your projects, this might be useful to apply complex .clang-format rules as you type rather than after-the-fact.
Trust the #programmer. Generally speaking, the #C language assumes you know what you’re doing and lets you. This isn’t always a good thing (for example, if you don’t know what you’re doing).
Don’t prevent the programmer from doing what needs to be done. Because C is a system #programming language, it has to be able to handle a variety of low-level tasks.
Keep the language small and simple. The language is designed to be fairly close to the hardware and to have a small footprint.
Provide only one way to do an operation. Also known as conservation of mechanism, the C language tries to limit the introduction of duplicate mechanisms.
Make it fast, even if it isn’t guaranteed to be portable. Allowing you to write optimally efficient code is the top priority. The responsibility of ensuring that code is portable, safe, and secure is delegated to you, the programmer.
Si vous connaissez quelqu'un qui connaît quelqu'un qui a son oncle qui connaît quelqu'un dont le voisin recherche quelqu'un pour un poste de développeur soit web soit c++ (+ Qt éventuellement) je suis preneur. Boosts appréciés #CPP#CLang#Qt#Dev#C++ #C#Web#HTML#PHP#JS#CSS#Travail#Job
Hello. You can call me @modev. I would like to write free #software, but I've been writing commercial software for 20 years to make a living for my family. I have been interested in #programming since childhood for about 25 years. I started with BASIC, Pascal, and even started learning :clang: #clang, but then switched to more “advanced” technologies. As a result, I found a job as a web #developer while still at university, where I still work. I am a JavaScript master, I created my own SPA Ajax framework from scratch back when React and Angular were not in the project, but who is interested in this, except for the company I work for? As a result, I, burned out many times, rising from the ashes of commercial development and all this crap, decided to return to the roots and teach :clang:. All I can do now is to believe that I will still make my contribution to the #development of free software, but for now I’m glad to be in your #community and learn new things, this is the only way I can save myself from burnout. Thanks everyone!
I could have written this way, but I decided not to do it there, having registered in the newly created community#writefreesoftware. Thank you, @drewdevault for creating it!
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 :clang: #clang 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 :hare_lang: #harelang. 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.
I'm trying to fix a patch to allow #pixman's #ARM#NEON#assembly code to build with clang. They perform a lot of mechanical changes to switch to the "unified" ARM assembly syntax (.syntax unified), supported by both #gcc and #clang.
With clang the code builds but fails 3 of the tests in the test suite with what appear to be unaligned accesses. With gcc, the test suite passes before and after the patches.
From the github description: "A Virtual Boy emulator for the Nintendo 3DS continuing mrdanielps's work on r3Ddragon, which is itself based on Reality Boy / Red Dragon. It uses a dynamic recompiler with busywait detection and a hardware-accelerated renderer to achieve high performance on the 3DS's limited hardware."
"Modern C compilers already have the ability to be memory-safe, we just need to make minor -- and compatible -- changes to turn it on. Instead of a hard-fork that abandons legacy system, this would be a soft-fork that enables memory-safety for new systems."
In the works: LibreOffice 24.2.0 for Slackware 15.0
Apart from post-COVID syndrome there were some other setbacks lately, but those were mostly software-centered. Like the fact that I can not build a 32bit Chromium package for instance.
But also the realization that the latest LibreOffice 24.2.0 can no longer be compiled on Slackware 15.0 - its gcc 11.2.0 c
#introduction I am Kevin(he/they)! I am a software developer. Not into social media much. Didn't want to sign up for twitter and people seem nice here. :blobfoxheartcute:
Slowly recovering from burnout after almost 3 years at a startup. Getting back into long neglected hobbies has been great for that.
@charadon@mjgardner Depends on the task I think. I use a mix of #perl , #clang , #sql and #rstats ,because there are tasks that are best done by different packages in different languages. I particularly like Perl as it allows for a rather straightforward transformation to C down the road
Chromium 121 for Slackware… don’t hold your breath
Chromium 121 sources were released yesterday, and as much as I would like to tell you that the Slackware packages are ready, in fact it appears that you will have to wait for them for an unspecified amount of time.
I found out that the build of Chromium now needs Google's custom ver
Interesting items at a local estate sale. I'm sure my neighbors would be VERY HAPPY to have someone ring those every day at noon and midnight, LOL. #gong#bell#clang
Yay!! Again, some compiler decided to change template conversion operator rules.
And again, compilers won't agree with what the standard says or with each other since changing the rules may break users, even though they keep doing it (even in minor versions!) 🤦
Programmer Skyfloogle, has released Red Viper, an updated virtual-boy emulator for the 3DS. (github.com)
From the github description: "A Virtual Boy emulator for the Nintendo 3DS continuing mrdanielps's work on r3Ddragon, which is itself based on Reality Boy / Red Dragon. It uses a dynamic recompiler with busywait detection and a hardware-accelerated renderer to achieve high performance on the 3DS's limited hardware."