Join the discussion

Write your take first — we'll ask for email only when you're ready to publish.

  • Hacker News
  • Nice Ai prompting, bro..

    Might want to share your harness /s

  • I know you're being sarcastic but I think some people may find this interesting:

    https://minimal-agent.com/

    I made one based on this tutorial (about 50 lines), which is about 8x faster and cheaper for small tasks in my experience. I highly recommend the learning experience.

  • I "don't" use AI, I mean like most devs nowadays, I have a Copilot suggesting "smart" autocomplete, that's all. I wouldn't let an AI pilot my codebase. If you have a bit of probability knowledge, you may be aware of what happens when you're trying to get specific outputs from generic inputs.

    And if you don't have a bit of probability knowledge: generic input just means high variance in the output, so "it looks right" isn't the same as "it is right." In other words, you'll just get a noisy sample out of many possible ones... and not what you really want.

  • Cool work!
  • thanks :)
  • https://github.com/dascandy/pixel

    I personally think this is better.

  • Why?
  • completely different under the hood, the one you sent use OpenGL only, SDL_gp use Vulkan, metal or DirectX depending on your system. There is also a lot of other diff but it will be long to explain ^^. But thanks I didn't know about the one you sent :)
  • The naming of the library is pretty confusing, considering SDL_gpu is an official part of SDL3.
  • naming of api functions too. They all prepended with "SDL_" as if this is SDL library, but it not.
  • How is this different from SDL_Render? https://wiki.libsdl.org/SDL3/CategoryRender
  • If only there was some link to a readme which would answer this question.
  • Thanks for the feedback you are right, this is necessary ! I'll do that asap :)
  • This isn't SDL_gpu, that is part of SDL3. This is SDL_gp, an external lib which builds on the former.
  • You are right, I made a typo ... :facepalm: