#c99 — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #c99, aggregated by home.social.
-
Always strip your CGI binaries ! It helps startup time. If possible, also statically compile it.
-
Always strip your CGI binaries ! It helps startup time. If possible, also statically compile it.
-
Turns out, it may be possible to get as close to the iron as #C99 while retaining the interoperability of #GodotEngine ! Lately I'm considering something like that for costly #ProceduralGeneration processes.
https://docs.godotengine.org/en/stable/tutorials/scripting/gdextension/gdextension_c_example.html
-
Turns out, it may be possible to get as close to the iron as #C99 while retaining the interoperability of #GodotEngine ! Lately I'm considering something like that for costly #ProceduralGeneration processes.
https://docs.godotengine.org/en/stable/tutorials/scripting/gdextension/gdextension_c_example.html
-
🎉 Wow, #NetHack 5.0.0 is here! A groundbreaking update that makes it... compliant with C99? 🚀 Truly, nothing screams "exciting dungeon exploration" like a riveting code standard. Prepare for adventure, folks—just maybe do it with a debugger handy. 🐛💥
https://nethack.org/v500/release.html #NetHack5 #C99 #DungeonExploration #GameDevelopment #Debugging #HackerNews #ngated -
🎉 Wow, #NetHack 5.0.0 is here! A groundbreaking update that makes it... compliant with C99? 🚀 Truly, nothing screams "exciting dungeon exploration" like a riveting code standard. Prepare for adventure, folks—just maybe do it with a debugger handy. 🐛💥
https://nethack.org/v500/release.html #NetHack5 #C99 #DungeonExploration #GameDevelopment #Debugging #HackerNews #ngated -
🎉 Wow, #NetHack 5.0.0 is here! A groundbreaking update that makes it... compliant with C99? 🚀 Truly, nothing screams "exciting dungeon exploration" like a riveting code standard. Prepare for adventure, folks—just maybe do it with a debugger handy. 🐛💥
https://nethack.org/v500/release.html #NetHack5 #C99 #DungeonExploration #GameDevelopment #Debugging #HackerNews #ngated -
🎉 Wow, #NetHack 5.0.0 is here! A groundbreaking update that makes it... compliant with C99? 🚀 Truly, nothing screams "exciting dungeon exploration" like a riveting code standard. Prepare for adventure, folks—just maybe do it with a debugger handy. 🐛💥
https://nethack.org/v500/release.html #NetHack5 #C99 #DungeonExploration #GameDevelopment #Debugging #HackerNews #ngated -
🎉 Wow, #NetHack 5.0.0 is here! A groundbreaking update that makes it... compliant with C99? 🚀 Truly, nothing screams "exciting dungeon exploration" like a riveting code standard. Prepare for adventure, folks—just maybe do it with a debugger handy. 🐛💥
https://nethack.org/v500/release.html #NetHack5 #C99 #DungeonExploration #GameDevelopment #Debugging #HackerNews #ngated -
Just pushed pset004.c into my Euler Repo.
No. Not happy with the palindrome solution I came up with. 4-digit numbers onwards get pretty heavy for the computer.
But I refuse to ask an AI to teach me algorithms. I'd rather eat my own left foot than ask for a O(n) solution.
-
Just pushed pset004.c into my Euler Repo.
No. Not happy with the palindrome solution I came up with. 4-digit numbers onwards get pretty heavy for the computer.
But I refuse to ask an AI to teach me algorithms. I'd rather eat my own left foot than ask for a O(n) solution.
-
Just pushed pset004.c into my Euler Repo.
No. Not happy with the palindrome solution I came up with. 4-digit numbers onwards get pretty heavy for the computer.
But I refuse to ask an AI to teach me algorithms. I'd rather eat my own left foot than ask for a O(n) solution.
-
Just pushed pset004.c into my Euler Repo.
No. Not happy with the palindrome solution I came up with. 4-digit numbers onwards get pretty heavy for the computer.
But I refuse to ask an AI to teach me algorithms. I'd rather eat my own left foot than ask for a O(n) solution.
-
Just pushed pset004.c into my Euler Repo.
No. Not happy with the palindrome solution I came up with. 4-digit numbers onwards get pretty heavy for the computer.
But I refuse to ask an AI to teach me algorithms. I'd rather eat my own left foot than ask for a O(n) solution.
-
Lil Bitty pcs are dope yo.
-
Tiny C compiler: a C99 compiler while still keeping it small, simple, fast and understandable: https://bellard.org/tcc/ #free #compiler #C99
-
Portable C compiler: a C99 compiler while still keeping it small, simple, fast and understandable: https://github.com/IanHarvey/pcc #free #compiler #C99
-
🎉 Behold, the latest miracle in machine learning: a magic wand that transforms boring old #Python into lightning-fast C99! 🚀 Now you can impress your friends with a 336x speed boost in inference time – as if anyone cares about classical ML models anymore. 😂 Just one command away from turning your dusty #GitHub into a tech dystopia. 🕹️
https://github.com/kossisoroyce/timber #machinelearning #C99 #speedboost #techdystopia #HackerNews #ngated -
🚀 Ah, yes, another #groundbreaking #algorithm that will remain forever buried in the #GitHub graveyard of forgotten #C99 #experiments. 🤖 But fear not, the #AI #overlords at GitHub have blessed us with #Copilot to tutor us through yet another round of "Experimental" coding—because who needs practical code when you can have theoretical perfection? 📚
https://github.com/danalec/DMMSY-SSSP #experimental #coding #HackerNews #ngated -
C99 implementation of new O(m log^(2/3) n) shortest path algorithm
https://github.com/danalec/DMMSY-SSSP
#HackerNews #C99 #O(m #log #n #shortest #path #algorithm #DMMSY-SSSP
-
Tiny C compiler: a C99 compiler while still keeping it small, simple, fast and understandable: https://bellard.org/tcc/ #free #compiler #C99
-
Portable C compiler: a C99 compiler while still keeping it small, simple, fast and understandable: https://github.com/IanHarvey/pcc #free #compiler #C99
-
These are not part of the C standard, rather, they’re part of GNU C. In other words, the Linux kernel source cannot be compiled by a compiler that implements the ISO C standard only (e.g., #C99 or #C11) without the GNU extensions. The #Linux kernel doesn’t compile with “standard C”—it compiles with GNU C.
3/4 -
-
By the power of grayscale!
> This post is a guided tour through the algorithms behind Grayskull – a minimal computer vision library designed for resource-constrained devices.
https://zserge.com/posts/grayskull/
great post by @zserge
-
“C Is All You Need” (https://youtu.be/zqHdvT-vjA0), Eskil Steenberg on the Wookash Podcast.
👆🏽 led me to “Dependable C” (https://dependablec.org/), a very opinionated guide on #C.
Also this discussion:
https://old.reddit.com/r/C_Programming/comments/1i4x34t/why_some_people_consider_c99_broken/
on why Eskil doesn’t like #C99 & above.
-
🚀 Wow, just what the world needed: yet another JSON parser, this time crammed into a svelte 150 lines of C99! 🤯 Because, obviously, the tech industry was on the brink of collapse without this groundbreaking #innovation. 🌐🔧
https://github.com/rxi/sj.h #JSONParser #TechIndustry #C99 #Programming #Humor #HackerNews #ngated -
Sj.h: A tiny little JSON parsing library in ~150 lines of C99
#HackerNews #Sj.h #JSON #C99 #Library #Parsing #HackerNews #OpenSource
-
Portable C compiler: a C99 compiler while still keeping it small, simple, fast and understandable: https://github.com/IanHarvey/pcc #free #compiler #C99
-
Tiny C compiler: a C99 compiler while still keeping it small, simple, fast and understandable: https://bellard.org/tcc/ #free #compiler #C99
-
Portable C compiler: a C99 compiler while still keeping it small, simple, fast and understandable:
https://github.com/IanHarvey/pcc
#free #compiler #C99 -
You tried to flee, but were struck by the Guard's Spear for 6 damage. You had no choice but to fight.
You fell unconscious and drifted away.
---
🪦 Here lies Heretics, the Halfling Barbarian❤️ 13 ⭐ 1 🪙 23
⚔️ Greatsword [2d6+3, +5] 🛡️ None [13]
Str 17 Dex 14 Con 13 Int 9 Wis 8 Cha 10
☠️ 9🧍♂️🧍♂️🧍♂️🦁🏘️🧍♂️🤖🧍♂️🧍♂️☠️
🗺️ 99 🕚 23:03 👤 478
#dndend -
You were hit by the Guard's Spear attack, you took 6 damage.
You went down for a moment, but managed to get back up.
---
🧍♂️ Guard
❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️ 15/15
🛡️ 16
❕1/8
✨ 25 -
You took 9 damage from the Guard's Spear.
---
🧍♂️ Guard
❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️ 15/15
🛡️ 16
❕1/8
✨ 25 -
You were hit by the Guard's Spear attack, you took 2 damage.
---
🧍♂️ Guard
❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️ 15/15
🛡️ 16
❕1/8
✨ 25 -
You confronted the Guard!
---
🧍♂️ Guard
❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️ 15/15
🛡️ 16
❕1/8
✨ 25 -
You used your Greatsword to hit the Kobold for 11 damage.
The Kobold fell, ending the battle.
+2🪙 +25✨
---
You encounter a 🧍♂️ Guard
❤️ 4-18 ❕1/8 ✨ 25 -
You engaged the Kobold!
---
🧍♂️ Kobold
❤️❤️❤️ 3/3
🛡️ 12
❕1/8
✨ 25 -
You successfully hit the Homunculus with your Greatsword for 6 damage.
You killed the Homunculus.
+1🪙 +10✨
---
In the distance you see a 🧍♂️ Kobold
❤️ 1-10 ❕1/8 ✨ 25 -
You confronted the Homunculus!
---
🤖 Homunculus
❤️❤️❤️❤️ 4/4
🛡️ 13 ☁️
❕0
✨ 10 -
@wader I think I can add a bit of explanation here. MSVCRT.DLL (as a "standard C library") was included with windows for a long time, but they quickly ran into issues with it, most likely caused by not having sane mechanisms for versioning. So, what they did was including a C runtime with each release of their compiler (#MSVC) and expect this runtime to be redistributed with software using it. MSVCRT.DLL had its public API/ABI frozen in a state with #C89 and partial(!) #C99 support and was declared "private" to the OS.
#Mingw (which is also distributed by #MSYS2) nevertheless continued linking to MSVCRT.DLL (and I see why, it's really stupid to have tons of copies of the C runtime ...). So, while the compilers support newer C standards, the standard lib doesn't, and therefore you need quite some hacks and workarounds. And I wouldn't be surprised to find lots of funny misbehavior, that's why I think the issue might indeed be the strftime() from MSVCRT.DLL.
[...] -
🎉 Behold, the latest miracle in machine learning: a magic wand that transforms boring old #Python into lightning-fast C99! 🚀 Now you can impress your friends with a 336x speed boost in inference time – as if anyone cares about classical ML models anymore. 😂 Just one command away from turning your dusty #GitHub into a tech dystopia. 🕹️
https://github.com/kossisoroyce/timber #machinelearning #C99 #speedboost #techdystopia #HackerNews #ngated -
🎉 Behold, the latest miracle in machine learning: a magic wand that transforms boring old #Python into lightning-fast C99! 🚀 Now you can impress your friends with a 336x speed boost in inference time – as if anyone cares about classical ML models anymore. 😂 Just one command away from turning your dusty #GitHub into a tech dystopia. 🕹️
https://github.com/kossisoroyce/timber #machinelearning #C99 #speedboost #techdystopia #HackerNews #ngated -
🎉 Behold, the latest miracle in machine learning: a magic wand that transforms boring old #Python into lightning-fast C99! 🚀 Now you can impress your friends with a 336x speed boost in inference time – as if anyone cares about classical ML models anymore. 😂 Just one command away from turning your dusty #GitHub into a tech dystopia. 🕹️
https://github.com/kossisoroyce/timber #machinelearning #C99 #speedboost #techdystopia #HackerNews #ngated -
Some great points, some not so great ones:
“My Favorite C Programming Practices” [2014], Malcolm Inglis (https://github.com/mcinglis/c-style).
Via HN: https://news.ycombinator.com/item?id=40409956
#C #Programming #CProgramming #Style #CodingStyle #Guidelines #BestPractices #C11 #C17 #C99
-
My current “dream” project for my spare time is a bare-metal #C standard library. You’d be able to configure a filesystem handler for stdio funcs, a callback to handle system(3) calls, etc. Drivers would be compiled into the app, etc. Basically a little #embedded #OperatingSystem whose API is exactly #C99. Think early #Xinu without multitasking.
I have no use case for this. I just find it fun to think about. Probably wouldn’t do device discovery except by maybe by parsing DeviceTree?