Welsh or C standard library function?
2026-06-14 22:57 UTC
Replies (19)
-
@mushroommunk@lemmy.today 2026-06-14 23:27
Dydw i ddim yn deall…
-
@DrinkMonkey@lemmy.ca 2026-06-15 00:02
Mwyn is a Super Furry Animals album, and I believe the biggest selling Welsh album of all time. Y Teimlad is a real tear jerker. Cwytch is a cuddle. Heard Nigel Owens say it to two misbehaving players during a rugby match once. The rest I dunno…
-
@vrek@programming.dev 2026-06-15 00:27
I’m pretty sure that is neither and was a text I sent last week when drunk…
-
@Diddlydee@feddit.uk 2026-06-15 00:36
I’m just scrolling by and saw the Welsh. I know none of the others, so by a process of elimination, I know them all.
-
@airbreather@lemmy.world 2026-06-15 00:36
Was that supposed to be wcscoll, not wcscoll?
-
@RebekahWSD@lemmy.world 2026-06-15 01:47
I only know cwtch because I’ve seen it in a book somewhere. The rest I’d have to guess at with a shakey knowledge of how Welsh…looks I guess lol
-
@Deconceptualist@leminal.space 2026-06-15 01:52
My partner has been learning a tiny bit of Welsh on Duolingo so this got a giggle out of her 🙂
-
@SubArcticTundra@lemmy.ml 2026-06-15 03:03
Are there any C libraries other than the standard library that use this kind of naming style?
-
@SubArcticTundra@lemmy.ml 2026-06-15 03:07
It’s sad when you realize that Welsh is actually a more niche language than the C standard library
-
@jubilationtcornpone@sh.itjust.works 2026-06-15 03:23
“How green clean was my valley code base then and the code base of them that have gone. Before the technical debt heap rose up, burying everything in its path.”
-
@Danarchy@lemmy.nz 2026-06-15 03:46
When the grass gets long at my welsh cottage I’m mwyn that wmffre
-
@pelya@lemmy.world 2026-06-15 03:57
man7.org/linux/man-pages/man3/mbsrtowcs.3.html man7.org/linux/man-pages/man3/strxfrm.3.html man7.org/linux/man-pages/man3/wcstold.3p.html man7.org/linux/man-pages/man3/wcscoll.3p.html wcsoll in the picture, that’s a mistake, unless it’s Welsh.
-
@crapwittyname@feddit.uk 2026-06-15 10:14
Cwtch is one of my favourite words. Pronounced like “clutch” without the L. It means hug. “Give us a cwtch ye daft old sod” ❤️
-
@Codpiece@feddit.uk 2026-06-15 10:29
Ah yes. A language forced onto unwilling participants by people who still think it should relevant in the modern age. And the other one is a Celtic language.
-
@davetortoise@reddthat.com 2026-06-15 14:17
rowch When scooby burns his tail
-
@underscore_@sopuli.xyz 2026-06-15 14:37
A few from llvm (maybe?) llyfr llanc llif
-
@tunetardis@piefed.ca 2026-06-15 15:57
I guess strxfrm and the like date back to a period in the 80s when symbol names had to be kept short for the compiler/interpreter’s sake. Like while BASIC back in those days technically allowed > 8 chr names, the interpreter only stored the first 8. In other words, the first 8 needed to be unique. As such, people tended to stick with <= 8 chr symbols to avoid interpreter issues. I think C allowed up to 31? But the culture of <= 8 prevailed nevertheless. Then in the 90s, such restrictions were largely dropped in most languages, and symbol names ballooned in size to take advantage of this new freedom. In C++, you even had reserved words growing to the likes of reinterpret_cast around that time, but APIs just got ridiculous along the lines lengthy_class_name_followed_by_fully_spelled_out_method. Today, people seem to have come to their senses and settled on more reasonable lengths, though not to 80s extremes. Like going back to C++, we have new reserved words like decltype and constexpr. In the 90s, these would likely have been spelled out in full like constant_expression?
-
@umbraroze@slrpnk.net 2026-06-15 15:59
Long ago in the Windows 9x era there was also “Is this a Windows DLL file, or a transcript of a digestion noise” and the stuff was like “MSGRBL32.DLL”
-
@Malfeasant@lemmy.world 2026-06-15 16:46
Yes.