Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked
@montana-riverboats.bsky.socialDec 4, 2026, 3:10 PM

#ifdef nerdynerd

GeneratePowerballWinner();

#endif

@littlepolygon.bsky.socialNov 29, 2026, 9:20 PM

Porting skinning means porting one of the more annoying render pipeline features: shader permutations :P It works at build-time by searching for an "#ifdef WITH_" pattern in my HLSL files.

Screenshot of my python build script that finds and builds different shader permutations from a single HLSL file.Screenshot of some HLSL source demonstrating how permutations are annotated if ifdef macros
@matropert.bsky.socialNov 16, 2026, 10:45 AM

Update, I have discovered that Microsoft somehow decided that they would throw a warning-as-error if you use fopen() because they deemed it insecure for no reason, forcing to add yet more #ifdef _MSC_VER in your code.
(Do not tell me about _CRT_SECURE_NO_WARNINGS, it's unusable)

@mircovanini.bsky.socialNov 10, 2026, 5:02 PM

Windows App Development CLI v0.8: WinUI DevTools Experimental Preview - #ifdef Windows devblogs.microsoft.com/ifdef-window...

devblogs.microsoft.comWindows App Development CLI v0.8: WinUI DevTools Experimental Preview - #ifdef WindowsVersion 0.8.0 is here, and we're excited to share new WinUI DevTools, performance profiling commands, and C++ project support.
@mircovanini.bsky.socialNov 4, 2026, 10:30 AM

Announcing XAML IntelliSense Support in the WinApp VS Code Extension - #ifdef Windows devblogs.microsoft.com/ifdef-window... #WinDev #WinApp #vscode

devblogs.microsoft.comAnnouncing XAML IntelliSense Support in the WinApp VS Code Extension - #ifdef WindowsWe're excited to announce an experimental preview of project-aware IntelliSense for your WinUI XAML in v0.4.
@happy-ferret.bsky.socialOct 26, 2026, 4:27 AM

I still wanna find a way to speed it up without breaking the codebase. Maybe some additional opcodes and an #ifdef/#else inside the SCUMM script. Would just be neat if I could find a way to port this to Sega Saturn, N64, PS1, 32X or Atari Jaguar. Or even SNES with SuperFX.

@pederbe.devOct 25, 2026, 2:02 PM

Some C is hard to build: a vendor SDK, an RTOS tree, a kernel without a .config.

Ripscope reads it as written, every #ifdef branch, with no compiler or compile database. Point it at all 62,000+ files of the Linux kernel and search.

ripscope.com
#embedded #C #Linux

Firmware, SDKs, kernels. 62,000+ kernel files, no build needed. Labels read no compiler, no .config, no compile database, every #ifdef branch.
N@nico.puffer.fish.ap.brid.gyOct 22, 2026, 4:04 PM

I'm getting a bit nostalgic for the old and atrocious way of coding C/C++ code working on all major platforms, the C++-compatible and Obj-C-compatible C code that was in a file full of #ifdef etc...

@mircovanini.bsky.socialOct 22, 2026, 10:54 AM

Microsoft.UI.Reactor: a C#-first way to build WinUI apps - #ifdef Windows devblogs.microsoft.com/ifdef-window... #WinApp #WinDev #WinUI

devblogs.microsoft.comMicrosoft.UI.Reactor: a C#-first way to build WinUI apps - #ifdef WindowsIf you caught our session at Microsoft Build 2026 or you've been watching the repo, you've seen this one taking shape in public for a while now, and a lot
LMax!@littlepolygon.bsky.socialNov 27, 2026, 9:18 PM

Reaching the point where I can start directly porting my old BGFX code from 2021 for skeletal-mesh-animation and cascade-shadow-mapping to SDL-GPU (Everything is simpler in SDL! It's a really well thought-out library for indie-renderers.)

MMathieu Ropert@matropert.bsky.socialNov 15, 2026, 11:18 PM

One of the signs that your C++ project is becoming bigger is when your profiler start telling you it needs a File wrapper that isn't based on ifstream. Eventually you get into the issue that MSVC's implementation of streams is 3 times slower than FILE* on disk I/O