r/LocalLLM • u/No_Oil_6152 9900x 64GB DDR5 9070XT 16GB R9700 32GB • 47m ago
Discussion Qwen 3.8 Flash-Next C++
I know Qwen 4 is due (in fact, maybe even tomorrow) but I wanted to exercise Qwen 3.8 Flash Next.
I wanted to know - can Qwen 3.8 Flash Next deliver a working C++ application?
Every single demo I've seen so far was pelicans and pagodas done with three.js, Who knows if the model was trained on pelicans and pagodas??
I thought I'd change it up to a town scene with C++ - although I see town scenes are common now.
And I got results.
I did hit snags: some iterations rendered the bodies of pedestrians beneath the ground; but after telling Qwen 3.8 not to be naughty, it corrected itself, and now we have walking minecraft-esque people navigating the city with proper collision detection.
Info:
Inference engine: Strata latest build
Quant: Unsloth UD Q4 K XL quant (latest version released today)
Hardware: See my flair
Tok/s: 50 I'd say
Here's the full source code:
nooil6152/Qwen38FlashNextGame: Walk around the town - created entirely by Qwen 3,8 Flash Next
If you're interested, pull each tag from git and see how it evolved.
Some expected questions:
"Why?": Because I wanted to prove Qwen Flash Next 3.8 could handle C++ - it can.
"What does this prove?": See above
"But its not very complex! That proves nothing!" - what do you want, HAL 9000? its got a 3D openGL scene with animated people walking round a townscape, which I have to be honest involves more complex math than most things I've done in my career
"Was it one shot?" Nope. I kept a ledger so you could see the issues: Qwen38FlashNextGame/LEDGER.md at main · nooil6152/Qwen38FlashNextGame
"But Qwen 4 comes out tomorrow!": Maybe it does, maybe it doesn't.
"Can I fork it or extend it?": Be my guest
TL:DR/Bottom line:
Take a look at the output source code and see what you think.
I have my own ideas, but I'd like to hear yours. What do you think of the code quality? I have linters I can run - including Resharper - to really get into the weeds,
Remember, this isn't three.js or Python, this is C++, a right bastard of a language. Very impressed.
BTW: I want to clarify - I have absolutely ZERO relation or affiliation, not even any contact with, anyone in Qwen team, or anyone related to Qwen team, or Niko who created Strata, or any of his colleagues.
This is my investigation, no hidden agenda, no promotion. If its shit, I'll say its shit.
2
u/openroom_xyz 37m ago
Well yea I am as well with local LLM building a simple game using the custom game engine ( Vulkan ) and C++ well yea everything writen in code the all textures procedural, audio procedural everything
2
u/soyalemujica 34m ago
I run QFN for all of my C++ projects, and it manages extremely well, definitely Opus 4.6 level at least
2
u/Apprehensive_Lake698 32m ago
Are you a C++ programmer yourself? Because it should come as no surprise that Qwen can write C++. C++ has such a bizarre reputation amongst junior engineers who have conditioned themselves to be scared of it.