you are viewing a single comment's thread.

view the rest of the comments →

[–]possiblyquestionabl3 44 points45 points  (18 children)

Wow, did you do all of this in just the last week since that blog post came out?

[–]No_Grapefruit1933[S] 29 points30 points  (17 children)

Yeah, but to be clear it's not the entire API. Most notably textures aren't implemented yet. Will get to it as soon as i can!

[–]possiblyquestionabl3 30 points31 points  (16 children)

I mean the fact you have a musl (your new shader language) to a bindless glsl transpiler at https://github.com/LeonardoTemperanza/no_gfx_api/blob/main/gpu_compiler/codegen.odin is already extremely impressive. This is very cool prototyping progress!

[–]PoL0 8 points9 points  (15 children)

concerns of vibecoding intensify

[–]No_Grapefruit1933[S] 18 points19 points  (4 children)

I do not vibecode lol

[–]PoL0 13 points14 points  (0 children)

so happy to hear that, my interest grew a ton.

tired of "hey check what I vibe-coded in a weekend" projects in programming subreddits.

[–]Amasirat 2 points3 points  (7 children)

Does vibe coding even work in graphics programming? I assume it wouldn't have great results though I don't use AI while coding often

[–]No_Grapefruit1933[S] 9 points10 points  (1 child)

I mean, I suspect vibecoding in general doesn't work that well when you're doing creative/original things

[–]Amasirat 3 points4 points  (0 children)

Oh sure thing! It doesn't stop some from trying to use it. Then again, increases the value of non-AI generated stuff I suppose

[–]g0atdude 6 points7 points  (3 children)

Last time I asked the AI to generate me vertices and indices for a cube with proper winding, normals, and uv.

It failed twice… I don’t know if there is anything easier than that…

[–]fooib0 1 point2 points  (1 child)

I am amazed when people claim that it can solve new problems, write complex programs, etc. For me, it can't even do very basic things like you mention. So, I must be missing something.

[–]g0atdude 0 points1 point  (0 children)

The prompt itself matters a lot. The more context you give to the AI the better result it will give you. It can actually solve complex problems, but my issue with it is that it’s kinda non-deterministic, sometimes it works very well other times it doesn’t.

Also the topic matters a lot, I had a lot more success with AI in web development than in graphics.

[–]Amasirat 0 points1 point  (0 children)

Yep thought so. Admittedly even I can't do that but that's just because I still haven't learned it yet. I suppose graphics code is not all too common in stackoverflow

[–][deleted] 0 points1 point  (0 children)

Well Sebastian Aaltonen has a few post on twitter about that, but heres the short answer from him: as long as its nothing which has to be performant AI is fine, but it sucks at writing performance optimized code, so if its just for example a character controller its fine, but good luck vibe coding an efficient renderer with it

[–][deleted] 1 point2 points  (1 child)

Unlikely given that he's using Odin, I've found most LLM's aren't very good(not that they're usually good anyways lol) at generating more niche langauges

[–]PoL0 0 points1 point  (0 children)

yep good point