Wolfram wants peace · @wolframkriesing
263 followers · 253 posts · Server mastodontech.de

Trailing commas have always been ignored in structs or arrays in ( I am looking at).
This reminds me that I had unlearned this because didn't have it. And now I am questioning if C has it, even though this was where I had learned it loooong time ago.
🤔

#c #c99 #javascript

Last updated 1 year ago

Wolfram wants peace · @wolframkriesing
263 followers · 253 posts · Server mastodontech.de

The preprocessing seems a good idea at first sight. But tbh it brings a lot of burden too. For example every ` ...` statement is basically a copy+paste of the header file replacing the `` statement. Which means a included file provides all included files too. There is no real file or module wide scoping for preprocessed stuff.

modern languages (designs) ftw!

#c99 #include

Last updated 1 year ago

Wolfram wants peace · @wolframkriesing
263 followers · 253 posts · Server mastodontech.de

I have to say, the web programming had taught me to not like for-loops a lot anymore, but working with during the day I have to do that a lot. And I find myself a lot asking ChatGPT to offer some more elegant solutions. I guess I am waiting for map functions ;).

#c99

Last updated 1 year ago

· @thorsummoner
11 followers · 165 posts · Server ibite.lol
Helix :unverified: · @helix
78 followers · 1072 posts · Server layer8.space

@himbeer no kink shaming! Some of us even read the spec in bed as .

#erotica #c99

Last updated 1 year ago

Ok, got a properly scrolling tilemap with render window.

Now, to build a correct fixed time step game loop WITHOUT the occasional frame skipping when the accumulator increment is just slightly bigger than time delta...

#gamedev #c99 #sdl

Last updated 1 year ago

Speaking of overengineering, I just built a small content processor in the vein of XNA content pipeline: it processes a content directory, creating one single bundle file with processed data for each asset and a content table.

The loader supports asset reference counting and cleans up automatically upon closing the content bundle.

Supports PNG and a very small subset of LDTK for now.

I had way too much fun doing this 😬

#gamedev #c99 #sdl2

Last updated 1 year ago

Mark Gardner ‍:sdf: · @mjgardner
613 followers · 3444 posts · Server social.sdf.org

@ChristosArgyrop Building already requires a subset of and will take advantage of others if your compiler has them, per metacpan.org/dist/perl/view/IN

#perl #c99

Last updated 1 year ago

ENDESGA · @endesga
222 followers · 61 posts · Server mastodon.gamedev.place

> dimension generic rendering _

hept, my custom C99 engine, has a dimension-independent "mesh" structure, allowing for 2D, 3D, and even 4D(?!) rendering - all using the same system, and all capable of being easily drawn at any time any where~

#gamedev #c99

Last updated 1 year ago

ENDESGA · @endesga
220 followers · 60 posts · Server mastodon.gamedev.place

on my way home from work, I had a breakthrough in how I understand thread-safe variables.

and now I have a perfectly synced and thread-safe multi-core quaternion 2d/3d render engine! (notice how the timer in the console doesn't pause while the drawing is being paused!)

#gamedev #c99

Last updated 1 year ago

Eddy Jansson · @el0j
8 followers · 38 posts · Server mastodon.gamedev.place

Speaking of , probably one of the weirdest additions is the ability to use 'static' (and other type qualifiers) _inside_ the brackets of function array parameter declarations:

foo(int arr[static 42]) { ... }

Here 'static' means "at least 42 elements long". Other qualifiers define what type the array decays to.

#c99

Last updated 2 years ago

Deus · @deus
75 followers · 353 posts · Server mastodon.gamedev.place

I got the octree macro to work, a little tricky the recursive structs in C. Next is refactoring chunk systems (terrain gen, mesh building, etc), to work with octrees before I add collisions.

#indiedev #gamedevelopment #coding #c99

Last updated 2 years ago

lorddimwit · @lorddimwit
332 followers · 1478 posts · Server mastodon.social

My current “dream” project for my spare time is a bare-metal 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 whose API is exactly . Think early 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?

#c #embedded #c99 #xinu #operatingsystem

Last updated 2 years ago

khurata🔞🚸 · @khurata
65 followers · 267 posts · Server fedibird.com

@s4shiki
ウチの場合、2000年から 2018年までの では、サークル参加1日で印刷費+α の売り上げがあって、その後書店委託で黒字化、という出納が崩れませんでしたが、 以降は参加日だけでは印刷費は出ないですね…。
1日あたりの売り上げ冊数はコロナ禍前の3分の1から4分の1くらいに落ち込みました。
一般参加が抽選チケット制になったのが大きいと推察しています。

#コミケ #c99

Last updated 2 years ago

Carter McKendry · @c
0 followers · 35476 posts · Server rter.io

RT @OR_ele: ファミチキへの怒り( @Famichiki_angry)のコスプレがおるwww

#c99 #c99コスプレ

Last updated 2 years ago

そら · @city_sora
25 followers · 31986 posts · Server pawoo.net

RT @DoNxBoCo: C99 サークルぼこぼんのお品書きですー!1日目西ぱ-46bでお待ちしてます!新刊・既刊、フルカラーで全て!!500円!!!みんな買ってくれ!!!

配置マップ:t.co/iYaMjKy5VL

メロブ 通販予約ページ
t.co/u1jcYHgFcT t.co/OVkeTPmRpk

#minecraft #c99

Last updated 2 years ago

そら · @city_sora
26 followers · 33086 posts · Server pawoo.net

RT @DoNxBoCo: C99 サークルぼこぼんのお品書きですー!1日目西ぱ-46bでお待ちしてます!新刊・既刊、フルカラーで全て!!500円!!!みんな買ってくれ!!!

配置マップ:t.co/iYaMjKy5VL

メロブ 通販予約ページ
t.co/u1jcYHgFcT t.co/OVkeTPmRpk

#minecraft #c99

Last updated 2 years ago

Jamie · @suprjami
43 followers · 140 posts · Server fosstodon.org

I've used as my default option for a while now. The first time I need a function per data type I'll try switch up to and use Generics.

#c99 #cprogramming #c11

Last updated 2 years ago

Jₑₙₛ Gustedt · @JensGustedt
83 followers · 139 posts · Server digitalcourage.social


@suprjami
Thanks for posting this!
There are still a lot of blind spots, so any help for completing this would be appreciated. Anybody interested, please drop me a line.

#c23 #c2x #c17 #C11 #c99 #cprogramming

Last updated 2 years ago