jperkin, to llvm
@jperkin@federate.me.uk avatar

So unfortunately 17 has hit , which means I need to turn off support for the full LLVM suite in on

We offered to provide build hosts and maintain support, but upstream weren't interested, and removed all of the code.

Given it was working absolutely fine, this is a real shame. Especially as I spent a significant chunk of time getting it working.

It'll now have to go back to depending on GCC's libstdc++, and I'll work on avoiding dependencies on clang where I can.

villares, to python
@villares@ciberlandia.pt avatar
gracicot, to cpp
@gracicot@mastodon.social avatar

Crashing MSVC is too mainstream. Cool kids crash clang

grinn, to emacs
@grinn@emacs.ch avatar

I'm still hopeful clang-format-indent-mode will eventually be accepted into the LLVM project, but for now you can try it out as a separate package:

https://gitlab.com/grinn.amy/clang-format-indent

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.

Here's the pull request:

https://github.com/llvm/llvm-project/pull/78904

clang-format-indent package usage demo.

aka_pugs, to random
@aka_pugs@mastodon.social avatar

The BCPL Reference that spawned 'B', which lead to 'C'. Note the scribbled distribution list. https://drive.google.com/file/d/1eJL-e7oby6TKfRdgpGQ7ufVUSk9P4bIO/view?usp=sharing #ComputerHistory #CLang

modev, to programming
@modev@emacs.ch avatar

The spirit of :clang: :

  • Trust the . 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 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.
ChristosArgyrop, to llm
@ChristosArgyrop@mstdn.science avatar

Show me an illustration about the future of the C programming language

CoBC, to cpp French

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
#C++ #C

modev, to Software
@modev@emacs.ch avatar

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!

ctaylor, (edited ) to cpp
@ctaylor@mastodon.content.town avatar
modev, to programming
@modev@emacs.ch avatar

Personally, I have nothing against the emergence of new 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 ;
  • there is a choice for beginners;
  • there is a choice for specific tasks.

But why do most people dislike the :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 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 are (and must be) responsible for the you write, not a language. And the one way not to do bugs - not doing them.

Personally, I also like the :hare_lang: . 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:

bagder, to ubuntu
@bagder@mastodon.social avatar
mattst88, to random
@mattst88@fosstodon.org avatar

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.

I've muddled through as much debugging as I can. Any ideas? https://gitlab.freedesktop.org/pixman/pixman/-/merge_requests/78#note_2078065

Neblib, to OutOfTheLoop
@Neblib@mastodo.neoliber.al avatar

In case anyone else was on the whole Joe Biden supporting / banning memes, I think they're referring to this https://www.whitehouse.gov/oncd/briefing-room/2024/02/26/memory-safety-fact-sheet/

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."

jbzfn, to random
@jbzfn@mastodon.social avatar

🔐 C can be memory-safe
— Robert Graham

"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."

https://blog.erratasec.com/2023/02/c-can-be-memory-safe.html

#c

alien, (edited ) to rant
@alien@fosstodon.org avatar

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

https://alien.slackbook.org/blog/in-the-works-libreoffice-24-2-0-for-slackware-15-0/

unixbhaskar, to languagelearning
@unixbhaskar@fosstodon.org avatar
mjgardner, (edited )
@mjgardner@social.sdf.org avatar

@unixbhaskar Direct (non-LinkedIn-shortened) link: https://catonmat.net/ftp/perl1line.txt

I’m also pleased that its author ranked Perl as one of his top 5 best languages: https://catonmat.net/5-best-programming-languages

  1. #C /
  2. (but only version 1 circa 1995 plus )

His 5 worst? https://catonmat.net/5-worst-programming-languages

  1. /
  2. modern

“My only metric... is time to get things done and ship to customers.”

bugwhisperer, to programming

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.

If you follow me(flattered btw! :blobfoxblushmore:) expect toots about:
(, & )
(🇯🇵 & 🇹🇼)

charadon, to random

Hey all, I'll be migrating this account to @charadon, follow me if you want! =)

Direct Link: https://8bit.red/@charadon

ChristosArgyrop,
@ChristosArgyrop@mastodon.social avatar

@charadon @mjgardner Depends on the task I think. I use a mix of , , and ,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

alien, (edited ) to linux
@alien@fosstodon.org avatar

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

https://alien.slackbook.org/blog/chromium-121-for-slackware-dont-hold-your-breath/

blainsmith, to golang
@blainsmith@fosstodon.org avatar

I'm available for hire. If there is anything you need or anyone else you know needs that I'd be a good fit for then let me know!

http://rblgk.com

deadblackclover, to Java
@deadblackclover@functional.cafe avatar
ai6yr, to random
gracicot, to cpp
@gracicot@mastodon.social avatar

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!) 🤦

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • thenastyranch
  • mdbf
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • Youngstown
  • cisconetworking
  • slotface
  • vwfavf
  • everett
  • Durango
  • rosin
  • tester
  • GTA5RPClips
  • khanakhh
  • osvaldo12
  • ngwrru68w68
  • normalnudes
  • anitta
  • ethstaker
  • cubers
  • modclub
  • tacticalgear
  • provamag3
  • Leos
  • JUstTest
  • All magazines