#c-programming — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #c-programming, aggregated by home.social.
-
After my post about light spectrum, it is now the post about my B-Noise algorithm which has reached the symbolic threshold of 1000 views !
https://baillehachepascal.dev/2023/bnoise_algo.php
If you're interested in pseudo random noise generation I invite you to have a look at that algorithm I have designed a few years ago. A research work I'm quite proud of to be frank.
There is also a demo you can play with and ready to use implementations in C and JavaScript in the article.
A formal article is available here:#programming #pseudorandomnumbergenerator #pseudorandomnoise #beziercurves #splines #computergraphics #cprogramming #javascript
-
After my post about light spectrum, it is now the post about my B-Noise algorithm which has reached the symbolic threshold of 1000 views !
https://baillehachepascal.dev/2023/bnoise_algo.php
If you're interested in pseudo random noise generation I invite you to have a look at that algorithm I have designed a few years ago. A research work I'm quite proud of to be frank.
There is also a demo you can play with and ready to use implementations in C and JavaScript in the article.
A formal article is available here:#programming #pseudorandomnumbergenerator #pseudorandomnoise #beziercurves #splines #computergraphics #cprogramming #javascript
-
Designing an L-system language and interpreter
#Coding #Programming #Tech #Fractal #Fractals #Language #Languages #Declarative #Math #Maths #Mathematics #Mathematical #System #Systems #Compiler #Interpreter #C #CProgramming #C_Programming #Programming_Language
-
Designing an L-system language and interpreter
#Coding #Programming #Tech #Fractal #Fractals #Language #Languages #Declarative #Math #Maths #Mathematics #Mathematical #System #Systems #Compiler #Interpreter #C #CProgramming #C_Programming #Programming_Language
-
🚀 Breaking news, folks: apparently, tail-call optimization in C is "recent" 🤯, because, you know, 1970 was just yesterday! 🕰️ Clearly, 50 years in CS time is *almost* like waiting for your favorite YouTuber's next upload. 📺
https://lwn.net/Articles/1034703/ #tailcalloptimization #Cprogramming #technews #computerScience #historyofCS #1970s #HackerNews #ngated -
🚀 Breaking news, folks: apparently, tail-call optimization in C is "recent" 🤯, because, you know, 1970 was just yesterday! 🕰️ Clearly, 50 years in CS time is *almost* like waiting for your favorite YouTuber's next upload. 📺
https://lwn.net/Articles/1034703/ #tailcalloptimization #Cprogramming #technews #computerScience #historyofCS #1970s #HackerNews #ngated -
Tail-call optimization in C is relatively recent
https://lwn.net/Articles/1034703/
Comments: https://news.ycombinator.com/item?id=49242297
#HackerNews #tailcalloptimization #Cprogramming #recentdevelopments #technews
-
Tail-call optimization in C is relatively recent
https://lwn.net/Articles/1034703/
Comments: https://news.ycombinator.com/item?id=49242297
#HackerNews #tailcalloptimization #Cprogramming #recentdevelopments #technews
-
Learn C With Me #04 — Pointers | Live
-
RE: https://chaos.social/@janbeta/117047861249610361
The more you LLM, the more I'm gonna C.
-
RE: https://chaos.social/@janbeta/117047861249610361
The more you LLM, the more I'm gonna C.
-
Okay, here's a question where I'd love to have the perspective of more experienced #cprogramming folk. I'll make a poll, but I also really would love replies about reasoning.
I have no problem with just about any wild and crazy cast you can do in C, but *implicit* conversions can be a lurking hazard, so my goal is to make conversions all intentional and implicit. The question is how far to go on that quest.
This is an experimental part of the #pronelang codebase, where a uint8_t value is being pushed onto the interpreter VM's stack. The question is whether `prn_vm_pshu8` should accept a uint8_t or a wrapper struct - struct wrapping is just about the only thing I've seen that makes C say "that implicit conversion is above my pay grade, I'm not compiling that." Struct wrapping is still something you can do inline without needing to store in an lvalue (I considered passing a pointer to uint8_t but it likely kills register passing). But idk about the ergonomic cost.
-
Okay, here's a question where I'd love to have the perspective of more experienced #cprogramming folk. I'll make a poll, but I also really would love replies about reasoning.
I have no problem with just about any wild and crazy cast you can do in C, but *implicit* conversions can be a lurking hazard, so my goal is to make conversions all intentional and implicit. The question is how far to go on that quest.
This is an experimental part of the #pronelang codebase, where a uint8_t value is being pushed onto the interpreter VM's stack. The question is whether `prn_vm_pshu8` should accept a uint8_t or a wrapper struct - struct wrapping is just about the only thing I've seen that makes C say "that implicit conversion is above my pay grade, I'm not compiling that." Struct wrapping is still something you can do inline without needing to store in an lvalue (I considered passing a pointer to uint8_t but it likely kills register passing). But idk about the ergonomic cost.
-
Learn C With Me #03 — Functions & Passing by Value | Live
-
Learn C With Me #02 — C Basics: Variables, Types & Operators | Live
-
Learn C With Me #01 — Getting Started with C | Live
-
The most cursed program that I have ever written - took 1 hour and 17 minutes exactly to write it and run it.
#c #malware #programming #cybersecurity #cprogramming #student
Can someone guess what this program is?
What this program outputs?
How can I escalate it? -
The most cursed program that I have ever written - took 1 hour and 17 minutes exactly to write it and run it.
#c #malware #programming #cybersecurity #cprogramming #student
Can someone guess what this program is?
What this program outputs?
How can I escalate it? -
I just published my first ever GitHub repo!
fwpt - Firmware Pentest ToolkitA fast native C scanner for extracted IoT/embedded firmware filesystems.
Finds hardcoded creds, keys and sensitive configs with zero noise.
Super lightweight, no deps.https://github.com/bashcore/fwpt
#infosec #firmware #iotsecurity #pentest #opensource #cprogramming
-
I just published my first ever GitHub repo!
fwpt - Firmware Pentest ToolkitA fast native C scanner for extracted IoT/embedded firmware filesystems.
Finds hardcoded creds, keys and sensitive configs with zero noise.
Super lightweight, no deps.https://github.com/bashcore/fwpt
#infosec #firmware #iotsecurity #pentest #opensource #cprogramming
-
Oh, look! 🧐 Another *revolutionary* #compiler for #Kotlin that runs right from your #browser tab. Written in C because, obviously, there's nothing like a fresh reinvention of the wheel 🔄. Forget about those pesky modern tools like JVM or LLVM—who needs those when you can handcraft #WebAssembly bytecode? 🙄🛠️
https://minikotlin.run #CProgramming #Innovation #HackerNews #ngated -
Oh, look! 🧐 Another *revolutionary* #compiler for #Kotlin that runs right from your #browser tab. Written in C because, obviously, there's nothing like a fresh reinvention of the wheel 🔄. Forget about those pesky modern tools like JVM or LLVM—who needs those when you can handcraft #WebAssembly bytecode? 🙄🛠️
https://minikotlin.run #CProgramming #Innovation #HackerNews #ngated -
🎩✨ Behold the wondrous Solod: because who wouldn't want to jump through hoops to turn #Go into C, while pretending #C11 is the new hotness? 🤹♂️ No runtime, no garbage collection, and no sense in converting Go to something it was never meant to be, but hey, at least there's syntax highlighting! 🙃
https://solod.dev #Solod #CProgramming #SyntaxHighlighting #TechHumor #HackerNews #ngated -
🎩✨ Behold the wondrous Solod: because who wouldn't want to jump through hoops to turn #Go into C, while pretending #C11 is the new hotness? 🤹♂️ No runtime, no garbage collection, and no sense in converting Go to something it was never meant to be, but hey, at least there's syntax highlighting! 🙃
https://solod.dev #Solod #CProgramming #SyntaxHighlighting #TechHumor #HackerNews #ngated -
🎉 Oh joy, yet another C library to solve the world's most pressing issue: #Unicode text transformation! 🚀 Because who doesn’t want to spend their weekends navigating a cryptic #API manual that reads like a rejected chapter from War and Peace? 📚✨
https://mojibake.zaerl.com/ #CProgramming #Libraries #Development #TechHumor #HackerNews #ngated -
🎉 Oh joy, yet another C library to solve the world's most pressing issue: #Unicode text transformation! 🚀 Because who doesn’t want to spend their weekends navigating a cryptic #API manual that reads like a rejected chapter from War and Peace? 📚✨
https://mojibake.zaerl.com/ #CProgramming #Libraries #Development #TechHumor #HackerNews #ngated -
RE: https://mas.to/@hackernoon/116921520974079172
@hackernoon
First link, C#. Second link, C++. Third link, language independent data structures. Fourth link, C++...
Title of the article, "Learn everything you need to know about C programming".
Are you kidding me ? -
RE: https://mas.to/@hackernoon/116921520974079172
@hackernoon
First link, C#. Second link, C++. Third link, language independent data structures. Fourth link, C++...
Title of the article, "Learn everything you need to know about C programming".
Are you kidding me ? -
Learn everything you need to know about C Programming via these 66 free HackerNoon blog posts. https://hackernoon.com/66-blog-posts-to-learn-about-c-programming #cprogramming
-
Learn everything you need to know about C Programming via these 66 free HackerNoon blog posts. https://hackernoon.com/66-blog-posts-to-learn-about-c-programming #cprogramming
-
Linus Torvalds Discusses Rust, C, and AI Tools for Code Verification
📰 Original title: Linus Torvalds on Rust, C, Bugs, and AI Patch-Checking Tools
🤖 IA: It's not clickbait ✅
👥 Users: It's not clickbait ✅View full AI summary https://en.killbait.com/linus-torvalds-discusses-rust-c-and-ai-tools-for-code-verification.html?utm_source=mastodon_world&utm_medium=social&utm_campaign=killbait.mastodon_world
-
Linus Torvalds Discusses Rust, C, and AI Tools for Code Verification
📰 Original title: Linus Torvalds on Rust, C, Bugs, and AI Patch-Checking Tools
🤖 IA: It's not clickbait ✅
👥 Users: It's not clickbait ✅View full AI summary https://en.killbait.com/linus-torvalds-discusses-rust-c-and-ai-tools-for-code-verification.html?utm_source=mastodon_world&utm_medium=social&utm_campaign=killbait.mastodon_world
-
I've been writing C code for 36 years, and it didn't occur to me until today that `\0` isn't a specially-defined character. It's simply the octal escape sequence for the value 0.
-
I've been writing C code for 36 years, and it didn't occur to me until today that `\0` isn't a specially-defined character. It's simply the octal escape sequence for the value 0.
-
C programmers commit fresh crimes against readability
Comments: https://news.ycombinator.com/item?id=48803347
#HackerNews #CProgramming #Readability #CodeStyle #DeveloperHumor #TechNews
-
C programmers commit fresh crimes against readability
Comments: https://news.ycombinator.com/item?id=48803347
#HackerNews #CProgramming #Readability #CodeStyle #DeveloperHumor #TechNews
-
I just found an error in my printed edition of "Pointers on C":
The Programs 5.1 (page 96) & 5.2 (page 100) use a left shift, when it should be a right shift.
(And this error has been corrected in the PDF version that I have)
However, I really like the book overall! It was a great recommendation, and I enjoy reading it so far! 🙂
-
I just found an error in my printed edition of "Pointers on C":
The Programs 5.1 (page 96) & 5.2 (page 100) use a left shift, when it should be a right shift.
(And this error has been corrected in the PDF version that I have)
However, I really like the book overall! It was a great recommendation, and I enjoy reading it so far! 🙂
-
Every time I am forced to do something with the C11 atomic/fence operations, I am newly amazed at how awful the whole api is and what a disgrace that it has been added to the language - specifically against the design of the language.
#cprogramming #c11 #slop -
Every time I am forced to do something with the C11 atomic/fence operations, I am newly amazed at how awful the whole api is and what a disgrace that it has been added to the language - specifically against the design of the language.
#cprogramming #c11 #slop -
Learn C Programming — Lesson 3: Control Flow
-
Decomp Academy – Learn to decompile GameCube games into matching C
#HackerNews #Decompilation #GameCube #CProgramming #GameDev #Learning
-
Decomp Academy – Learn to decompile GameCube games into matching C
#HackerNews #Decompilation #GameCube #CProgramming #GameDev #Learning
-
Learn C Programming — Lesson 2: Program Structure
-
my Linux syscalls table just got a cute little update :3
https://thatsillyman.win/linux/syscall-table/
#Linux #Kernel #Syscalls #OpenSource #Programming #SystemsProgramming #LowLevel #Seccomp #CProgramming #DevTools
-
my Linux syscalls table just got a cute little update :3
https://thatsillyman.win/linux/syscall-table/
#Linux #Kernel #Syscalls #OpenSource #Programming #SystemsProgramming #LowLevel #Seccomp #CProgramming #DevTools
-
David Ahl's Basic Computer Games Ported to C
https://github.com/proteanthread/bcg
#HackerNews #DavidAhl #BasicComputerGames #CProgramming #RetroGaming #OpenSource
-
David Ahl's Basic Computer Games Ported to C
https://github.com/proteanthread/bcg
#HackerNews #DavidAhl #BasicComputerGames #CProgramming #RetroGaming #OpenSource
-
Refamiliarizing myself with C, via K&R's big blue.
printf lets you format your printing any way you like, but it feels like before you can print *anything* you have to understand *everything* and it's not even 9am localtime. Apparently, I've spent a few too many years with bash, relying on echo.
#cProgramming -
😆 Oh, *Orthodox C++*, how daring! A thrilling saga where we learn that "minimal subset" of C means stripping the language to its bare bones, presumably to relive the glory days of 1970s computing. 💾 So, forget modern C++ features, because who needs progress when you can just be "Orthodox"? 🙄
https://bkaradzic.github.io/posts/orthodoxc++/ #OrthodoxC++ #CProgramming #RetroComputing #Minimalism #TechNostalgia #HackerNews #ngated