ChatGPT makes Voxel Engine with Rust

preview_player
Показать описание
I put artificial intelligence to the test by making a voxel engine using the rust programming language and the bevy game engine. How useful is ChatGPT for programming really?

SOURCE CODE (good luck lol):

My discord group:

Want to support me?
⁍ Monero: 43Ktj1Bd4Nkaj4fdx6nPvBZkJewcPjxPB9nafnepM7SdGtcU6rhpxyLiV9w3k92rE1UqHTr4BNqe2ScsK1eEENvZDC3W1ur

Resources: (The tech I'm using for my larger voxel game project)
world generation: my own custom implementation is not open source at the moment.

other rust libraries, that I recommend:

#tantan #gamedev #voxelgame
Рекомендации по теме
Комментарии
Автор

i love this channel, we're always funnin' here

Danidev
Автор

This matches my experience with ChatGPT pretty closely. You can get it to write simple code, but especially when revisiting data types, it will often forget how it declared them earlier on and then invent some slightly different way that might also work but is simpletely incompatible.
What I've also seen quite a lot is that telling it to fix some stuff in its output often leads to it outputting the exact same code again.

anlumo
Автор

I worked with chatGPT to try to get it to optimize my algorithm written in rust to convert the decimal places of pi into base 26 so it can be represented as the latin alphabet for word searching. I seeded it with my code, after 2 hours of back and forth it spit out my code back to me and gave up. It literally stopped responding to my queries. it was awesome.

kylestubblefield
Автор

Yeah I noticed chat GPT really struggles with proving 3D data. I once asked it to make a cube edge table, and it couldn’t quite do it, it was always a little bit wrong

woosix
Автор

Holy shit that song and editing at the end. 10/10

And yeah, that problem becomes even worse when you don't know how to fix the mess it makes.
I tried it with shader code and my lack of experience in that topic made it difficult to create what I wanted.

PuppetDev
Автор

Pop OS, vim, rust, bevy. A man of culture!

novaabacaxi
Автор

The big issue with ChatGPT as a useful tool is that it almost always gives plausible responses, but often includes subtle errors.

clonkex
Автор

ChatGPT just had a very good update. You should revisit the same ideas of this video where ChatGPT went from useful to aggravatingly insulting for sending garbage over and over again and losing track of things said in the chat. It will be a very interesting experience seing if ChatGPT can get things right this time c:

great video!

lshadowSFX
Автор

what I love about this channel is it perfectly captures the programming feeling of going "Oh but of course little computer you need this hand fed like a lil baby calculator machine boy"

MrUbister
Автор

Okay so what we learned is that ChatGPT is still very far away from making your code, the rapping part however... Nah I'm just kidding 😂

UberDragon
Автор

In ChatGPT's defense, it probably would have done better with like C++ OpenGL or C# Unity

tristunalekzander
Автор

I've seen clips here and there where ChatGPT helped tremendously with weird programming projects and/or with obscure languages. The Bing AI can scour the internet in real time and it seems somehow more coherent, I'd love to see how that version assists developers.

soulsmith
Автор

In my experience, GPT-4 has a FAR better programming ability. It's able to reason about problems far better and has a longer context length so it doesn't forget what it's doing as quickly. I've used it in Flutter to write parts of an app I'm working on, as well as in C#, Java, HTML/Javascript, and Python for a variety of personal projects as well as in my day job.

One example where it really saved my ass was when I was trying to compile data for the product support team at my company. I needed to compare a few columns and fill in another column based on those comparisons across tabs on a google sheet. I explained the problem to GPT-4 and it gave me the exact formula I needed first try. It made a potential hours-long problem into about 30 seconds of work.

MrCMPUTR
Автор

back in december I tried to get chatgpt to make a discord bot (as much by itself as possible), I've actually ran into very similar problems! it's interesting that even though the tasks were completely different, the AI had the same shortfalls, maybe it won't be that hard for the openAI team to improve on those!

TheDartFrog
Автор

Most fun programming channel ever. Thanks for your absolute fantastic videos.

JoeCoo
Автор

To get GPT to use your the function signatures & structs you want, it helps to include the code in your prompt. E.g. Given the following script: [CODE] can you fill in the [FUNCTION_NAME] to do [FUNCTIONALITY]

Leeway
Автор

This channel is so good. Brand new here this is my first video. How can someone be so entertaining while programming.

michaelfoulk
Автор

Very entertaining video, amazing editing my dude.

USBEN.
Автор

Hey Tantan, would you consider to make a tutorial for graphics programming in rust?
Many resources out there is in cpp and would be awesome to see how things work from scratch using Rust.

Great video btw!

caiofernandes
Автор

Hey I noticed Youtube wasn't showing me any of your last couple videos (with all notifs on), I thought you had just come out of hibernation with this one!
Great work as always though!

BubbleBrawler