Omg wow Bloomberg Opinion wants to write an article about *checks notes* high performance systems software and next-gen developer tooling written in C!
What an extremely believable, definitely not fabricated, real life situation
@povverpoint@vkrajacic [0] is an extension. [] is C99. You can read baout my recomendations at: #Flexible%20array%20member" target="_blank" rel="nofollow noopener">dependablec.org/#Flexible%20ar…
Advice for new C programmers: Avoid null-terminated strings; they're outdated, inefficient and impractical.
Create your own type with basic functions. It's not that hard, and it goes a long way. One of the benefits of this approach, among others, is slicing without copying.
@EskilSteenberg@vkrajacic this is a great addition to his String struct! and i always thought it was declared with a [0], but i guess that's just cuz i used gcc a lot. good to know that [1] is c89 compatible.
I prefer:
typedef struct{
size_t length;
unsigned char[1];
}String;
The last member is a C89 compatible flex array. Your string is now a single continuous memory block, so you get rid of a cache miss. Because cache misses matter so much on modern hardware, null termination can be faster then your approach.
Starting a drag across file checkboxes lets you batch select with the mouse only in File Pilot. Similar to rect selection, but sometimes more handy, and it works across all views.
Today we released the new version of our AI. It is the best AI for every purpose and we are also very responsible. Give us more money now. Here are some charts showing this AI is exactly the same as the previous one, except we juiced the benchmarks by epsilon:
Our indie game 'There Are Millions of Goblins' now has enemy vehicles!
They use the same underlying system for traction and suspension as the player, which makes them extra fun to hit with the physics mace.
Having enemies with extra mobility feels great among the slowly advancing horde. Very excited to give these guys weapons too.
Crossing over even more into the classic vehicle combat genre feels great, and kind of retro. Twisted Metal meets Carmageddon meets Vampire Survivors.
What other vehicles should we add?
#gamedev#indiedev#UE5
We're making an indie shmup that rewards tactical timing with aggressive play:
- No grinding, just mastery of the game loop
- Learn to chain aggressive attack types
- Powerful pickups on the battlefield
- Wield super powerful weaponry with precision
It’s called Samsara: Retro Man Universe
#indiegame#godotengine#gamedev
I'm very excited to announce `raylib 6.0`! 😄
With +2000 commits and +200 contributors, this is the biggest release ever!💯
- Release details: github.com/raysan5/raylib…
- Discord: discord.gg/raylib
- Webpage: raylib.com
**code once, play everywhere!**
making my threejs / webgpu star renderer (planetarium?) more of a real thing. renders 44 million stars from the gaia star catalog at 120 fps. there's no LOD/culling. every star in frame is drawn. next is adding a nice API for agents to write "tours" that play automatically