Chat GPT4: How good is it really?

  Рет қаралды 36,352

Kaze Emanuar

Kaze Emanuar

Жыл бұрын

This videos thumbnail was designed by ChatGPT as well.
Patreon: / kazestuff
🎥 / kazesm64
🐦 / kazeemanuar
MERCH: kazemerch.myspreadshop.com/all

Пікірлер: 265
@abandoned_green
@abandoned_green Жыл бұрын
Truly the correct usage for AI, developing for Mario 64
@gamesthatiplay9083
@gamesthatiplay9083 Жыл бұрын
Apocalypse via leaping endo-skeletons hopping on people.
@alext3811
@alext3811 Жыл бұрын
Welcome to Mario Code.... Wait, wrong game.
@LauWo
@LauWo Жыл бұрын
​​@@gamesthatiplay9083 That is actually the best comment. Screw this... Abondoned Green. So stupid.
@alec_almartson
@alec_almartson Жыл бұрын
👍🏻
@GeniyYineg2000_1337
@GeniyYineg2000_1337 Жыл бұрын
@@gamesthatiplay9083 endoskeletons bljing on people the true nightmare
@arciks11
@arciks11 Жыл бұрын
ChatGPT does eventually "forget" the chat history even in an active conversation. So while I don't believe it can help much, re-prompting it with first prompt every like 8 lines may be helpful.
@stefanrabenstein3753
@stefanrabenstein3753 Жыл бұрын
I haven't tried/paid for gpt4, so I can't guarantee this still applies, but that's exactly what I would have suggested. You could even copy paste part of the promt for every optimization (optimize the following function for minimum possible memory size on a N64)
@deedoubs
@deedoubs Жыл бұрын
GPT4 is supposed to have a *lot* more conversational memory than GPT3.5. Something like 65000 words worth (a typical novel is 70,000-120000)
@SkaveRat
@SkaveRat Жыл бұрын
GPT4 is a LOOOOT better with this. I have stories and chats that are super long and it will recall details from the beginning without any problem
@cube2fox
@cube2fox Жыл бұрын
I think ChatGPT with GPT-4 has something like a 8000 token context window, where one token is a few characters. Theoretically GPT-4 allows for a 32k context window, but I think that is not available yet.
@rm_steele
@rm_steele 9 ай бұрын
know this comment is old, but as I understand, GPT4 has a token limit of 8192 compared to 3.5's 4096. On average 1 token is about 0.75 words so GPT4 can only parse about 7,000 - 7,500 words. The model doesn't actually remember anything, the ChatGPT interface re-sends the entire conversation history with your message. When the token limit is reached on the website, it asks ChatGPT to summarize and shorten the conversation history to make room.
@SuperSmashDolls
@SuperSmashDolls Жыл бұрын
ChatGPT is so advanced and smart it picked up several misconceptions about how compilers work (e.g. "unroll everything", "ternary is faster", "I can remove repeated calls to this state-altering function because I'm a Haskell programmer")
@seronymus
@seronymus Жыл бұрын
"I like your funny words, magic man "
@NBDbingo5
@NBDbingo5 Жыл бұрын
Wait "ternary is faster" is a misconception?
@SuperSmashDolls
@SuperSmashDolls Жыл бұрын
@@NBDbingo5 It's because it makes your code more visually compact, so people might confuse it for being faster. As you go up to higher and higher level languages there's all sorts of little things that look beneficial but aren't. Always measure your performance changes. Of course, ternary isn't faster or slower, it's going to compile down to the exact same branch instructions that an if/else block would.
@saniancreations
@saniancreations Жыл бұрын
I don't know for certain but I think that it may make a difference with compiler optimizations off (like with a debug build), a ternary could actually be faster because in some cases it can generate a single conditional move instruction rather than two branches with different move instructions. But if you turn on any kind of optimization, which kaze clearly does, then the compiler will just realize that they are the same thing and generate the same assembly.
@bb010g
@bb010g Жыл бұрын
​@@SuperSmashDolls Ternary if being expression-oriented instead of statement-oriented is a bigger than than visual compactness IMO. I'm also a filthy Haskell & Rust programmer though.
@Isaac________
@Isaac________ Жыл бұрын
Rather than using GPT-4 to micro-optimize these already hyper-optimized functions that get called hundreds of times per frame, have you tried getting it to optimize at a larger scope? E.g., providing suggestions for some bigger frame main loops, or how data in RAM is structured (just random ideas)? It will be a lot harder to form good prompts, but the potential improvements are also much bigger.
@alec_almartson
@alec_almartson Жыл бұрын
This is a good suggestion. 👍🏻Because you'd asking ChatGPT to do a diagnostic about the Overall Performance of the game, and provide you with Tips about the most important issues first. Then, after profiling, you could ask ChatGPT again, module by module, issue by issue: What's wrong, and how to improve it?
@mirek190
@mirek190 Жыл бұрын
gpt4 is able to handle up to 25.000 words ... so you could just put the whole file and check is will be able to optimize better as the whole ....
@orangy57
@orangy57 Жыл бұрын
yeah idk why he expects chatGPT to pick up on these specific hardware quirks to optimize one function at a time, lots of stuff that he does to optimize for N64 hardware makes things run slower on regular hardware because of the differences in RAMBUS speed and all that. Even in the last video about this he says something like, "well this would be better but not for the N64's hardware because of XYZ," like computers are good but chat GPT would have to have some absolute magic under the hood to figure that out on its own without just reading off of forum pages. It would be cool to see if chatgpt can look at the entire data structure from a different angle tho, maybe there's something way outside of the box that he could feed it
@JD-mz1rl
@JD-mz1rl Жыл бұрын
​@@alec_almartson the output would be shit
@xXFoiXx
@xXFoiXx Жыл бұрын
Kaze bullying the AI into admitting it doesn't know how to optimize sometimes and the AI bullying Kaze into having readable code is fun to watch Also as a programmer with zero experience of this particular field I kinda like your style of writing. Its like a puzzle sometimes.
@clouds-rb9xt
@clouds-rb9xt Жыл бұрын
@@Rihcterwilker Is that criticism?
@Rihcterwilker
@Rihcterwilker Жыл бұрын
@@clouds-rb9xt i guess it can be understood as such, as criticism is a way to improve and get better, which wouldn't take away from his achievements and abilities. You can be a very good programmer and implement hard systems easily, yet have messy code that is hard to read.
@realdragon
@realdragon 5 ай бұрын
Who need readability
@btarg1
@btarg1 Жыл бұрын
I love that this video is just Kaze shouting at a sophisticated artificial intelligence like "TELL ME MY CODE IS PERFECT" lmao
@jonasg5898
@jonasg5898 Жыл бұрын
Looking at your code, it seems to be quite efficient. I don't see much room for further optimization.
@lucbloom
@lucbloom Жыл бұрын
“Don’t see much room for” is polite English for “not a chance”
@jamesclark2663
@jamesclark2663 Жыл бұрын
Does anyone else find the role reversal here hilarious? Like the human is complaining that the computer isn't being exactly specific with its language use and just kind of being hand-wavey. 😂
@TheIrisCZ
@TheIrisCZ Жыл бұрын
You should try using the original code and optimise it using the GPT4 with a bit of input from your side and see, how close to your result you'll get. If it is even halfway as good as your optimalisations, it would be awesome.
@BGP00
@BGP00 Жыл бұрын
If the ai gets cut off, you can say "please continue" and it will continue (although sometimes its a bit buggy)
@angeldude101
@angeldude101 Жыл бұрын
`restrict` is a great feature and it being so uncommon is the biggest reason why Rust code can sometimes be faster than C. Rust has extremely strict aliasing checks and it uses them to insert `restrict` pretty much everywhere in the code, letting the compiler know that the memory locations won't change unexpectedly and saving memory loads. It can cause undefined behavior though if the parameters alias anyways, so you have to be careful without an automated alias checker.
@Alpine_flo92002
@Alpine_flo92002 Жыл бұрын
The "There is not much to optimize" is basically a "I cant remember enough to deal with this snippet"
@LauWo
@LauWo Жыл бұрын
You sound once again like a human being. So dumb. Why are being so ignorent and stupid?
@chikato7106
@chikato7106 Жыл бұрын
Or you can't reduce it further... 2+2=4 no matter the shorthand or speed.
@LauWo
@LauWo Жыл бұрын
@@chikato7106 And you sound like an Autistic person. Why being so ignorant? It is about all the info. And that is not 2+2=4. I mean, I get your point. But AI can come with smarter conclusion if it says: "NOT MUCH to optimize".
@Alpine_flo92002
@Alpine_flo92002 Жыл бұрын
@@chikato7106 Well giving GPT the whole code would probably find some funky as hell optimizations
@LauWo
@LauWo Жыл бұрын
@@Alpine_flo92002 Exactly.
@Gooooms
@Gooooms Жыл бұрын
This is a great video. I was unsure how improved gpt 4 was. I don’t even know much about programming but the difference is the immediately noticeable. Can’t wait to load this rom hack onto my steam deck.
@wavebend1474
@wavebend1474 Жыл бұрын
dude you're asking chatgpt absurdly specific, near impossible questions lol. the fact that it can even answer in a reasonable way is already so impressive
@leihau
@leihau Жыл бұрын
This video was quite entertaining, there isn't much room for improvement
@tigerfir3
@tigerfir3 Жыл бұрын
Kaze getting mad at ChatGPT is the funniest thing I've seen in a while
@weddieddy
@weddieddy Жыл бұрын
ChatGPT doesn't remember things beyond a certain limit. I had it helping me to come up with ideas for a story. It was really good with remembering bits about the story until it wasn't. I once also asked it to help with writing a report using other reports as a sample. I told it, "Do not write the report without me asking for it." "Okay cool!" After several prompts, it started writing the report without me asking. It still does take a lot of the bulk work out of things.
@ZintomV1
@ZintomV1 11 ай бұрын
To stop it forgetting bits, you can edit a message to the bot with a new query and it will "erase" all the responses after that query and begin writing a new response. You could put all your requirements in at the start, then just keep editing your second message to the bot with new functions to optimize and it would not forget your requirements.
@jcrosenkreuz5213
@jcrosenkreuz5213 Жыл бұрын
It even has a simulation of epistemic humility, "maybe this could be better, but I'm not seeing it"
@MrBlaygor
@MrBlaygor Жыл бұрын
Mate I could watch videos like this for hours! Highly entertaining
@gamesthatiplay9083
@gamesthatiplay9083 Жыл бұрын
My programmer friends tell me when they use it, it gives some awful results, like it trained on tutorials for beginners taught by beginners. Then, then they try to train it to be otherwise, it still yields the same results. Perhaps that's why I see all kinds of articles about Chat GPT isn't AI, because it doesn't know anything past 2020 - 2021, and can't learn past that.
@Rubbe87
@Rubbe87 Жыл бұрын
Probably because the question was on a beginners level.
@AmaroqStarwind
@AmaroqStarwind Жыл бұрын
Its knowledge cutoff is September 2021. However, plugins are coming out which will improve its capabilities even further.
@godlyvex5543
@godlyvex5543 Жыл бұрын
Are they using gpt 3? Cause that one is notorious for being wrong a lot.
@BackForwardPunch
@BackForwardPunch Жыл бұрын
Would be interesting to have it look at the full codebase and see maybe if the main structure could be optimized?
@isaac10231
@isaac10231 Жыл бұрын
"It's doing some weird shit to my function." _Me who can only write loops in python_ "Yeah you tell him Kaze"
@Piggieyt75
@Piggieyt75 Жыл бұрын
I wonder if an AI like this could help decompile and/or optimize other SM64 romhacks or other games. Would love to see fully optimized versions of Last Impact and SM64 Land running on hardware.
@Zwiebelgian
@Zwiebelgian Жыл бұрын
Don't know if it would actually improved code speed/size, but about the loop going to 6 instead of 3, you can actually do that. i / 3 gives out 0, 0, 0, 1, 1, 1 and i % 3 gives out 0, 1, 2, 0, 1, 2. I think it just did some array assignments wrong.
@jurakarok3343
@jurakarok3343 Жыл бұрын
At the end of a chat GPT session, you should ask it if it can optimize the code but, show it the entire file. If there is no limit to how large your query is that should be interesting.
@NovusDundus
@NovusDundus Жыл бұрын
I'm a Game Designer and this is pretty close to how I've been using it too. I'll give it detailed messages about the intent and work with it with the code it creates to refine and change it as I go The message round limits and memory retention are a pain though. Wish there was a way to permanently give it goals and rules for the conversation. And the code cutting off is annoying. I always have to tell it to retry from the last line or function and continue onwards.
@b00marrows
@b00marrows Жыл бұрын
I think when it says "there isn't much room for improvement" its literally means, within the constraints its using it cant do anything. Its silly but its kinda like saying "i cant fit anymore water in this cup". It might seem annoying due to the repetition and post limit but explaining why something it said didn't help *should* push it a step further to what you want from it. AFAIK this version of chat GPT actually remembers things its told, especially when repeated a couple of times to overwrite old wrong perimeters. While I'm not that into AI/chat GPT, these videos are really entertaining.
@DoctorMandible
@DoctorMandible Жыл бұрын
I use gpt4 for professional financial analytics coding. Best trick I can give you is to have a set of contexts ready to copy/paste into your prompt. Always - always - remind it of the most important context for your prompt. Even if that means a simple questions ends up being hundreds of words. Also you can tell it "only reply with code" to get back less useless explanation.
@minerharry
@minerharry Жыл бұрын
“Some people say pointer I say number” what a chad
@fuyukaidesu1641
@fuyukaidesu1641 Жыл бұрын
restrict gives information about pointer aliasing to the compiler, it means that no other pointer will touch memory pointed by a restricted pointer, so you should already be able to tell when restrict will actually do something. Also there are aliasing rules in C that states that two pointers of different types cannot point to the same memory area, so restrict won't do anything either in case you're passing multiple pointers of different types to a function (and all memory accesses are through those pointers) Also if you're prompting multiple functions to optimize for, then instead of appending, you should edit your prompts to ask it to optimize another function, else you're polluting the 8K tokens of context you're allowed and it will forget about what you said earlier in the conversation (that you're targeting a N64, etc...)
@KazeN64
@KazeN64 Жыл бұрын
i've disabled all the aliasing rules that the compiler flags would let me, so im usually unsure whether restrict will provide any additional benefits.
@guiAI
@guiAI Жыл бұрын
very entertaining video, wouldn't mind more 👍
@1gnore_me.
@1gnore_me. Жыл бұрын
honestly I just think it's really, really impressive that the majority of the code didn't break the game, even if it wasn't actually any faster.
@diegog1853
@diegog1853 Жыл бұрын
Yeah that is one thing I don't like about chatgpt, it doesn't say that it doesn't know, because it is programmed to talk like the people that do know. So it would rather make something up than not saying anything at all, the product is talking to the machine afterall. Which is one of the reasons it just doesn't work as a replacement for a search engine or stuff like that. The main priority is not give you accurate information, the main priority is give you an answer emulating convincingly human speech.
@AmaroqStarwind
@AmaroqStarwind Жыл бұрын
There are plugins that help it get up-to-date information.
@diegog1853
@diegog1853 Жыл бұрын
@@AmaroqStarwind Yeah but when there is no information available or very little information available, it will just make stuff up. That is not something you can simply fix with giving the A.I more accurate information, because sometimes that accurate information doesn't exist. The A.I would need to make a judgement call regarding what it knows... But it can't, it doesn't actually understand what it is talking about, it is simply emulating how people talk about it.
@AmaroqStarwind
@AmaroqStarwind Жыл бұрын
@@diegog1853 We’ll eventually get there.
@seronymus
@seronymus Жыл бұрын
This, I've asked ChatGPT for sources on historical claims and it will endlessly just make up fake references, books that don't exist, etc
@javierflores09
@javierflores09 Жыл бұрын
@@diegog1853 I mean, that's pretty much the internet. Take stackoverflow for example, it isn't like it is bullshit-proof, but rather that there's a community that often calls up on people's bullshit when the posts are sufficiently recognized but this is only because stackoverflow has very strict rules regarding ratings and answers, but when it comes to articles or discord conversations, people throw bullshit left and right without anyone bating an eye. I would say ChatGPT is almost human in that regard, it'd rather give a nonsense answer rather than admitting it is wrong, which is something very common but since it is a machine, we just expect it to be perfect. If you have this in mind, it isn't as bafffling that it'll allucinate with some answers
@n64glennplant
@n64glennplant Жыл бұрын
How about using the turok source code from the leak years ago and sticking what you can through CGPT to see what it can do with that? 😊
@latinblue6446
@latinblue6446 Жыл бұрын
Heute habe ich mit dem Chat von Bing gechattet und es ist erstaunlich was es über dich alles wußte und wie sehr es dich gelobt hat . Ich habe gestaunt wie interessant dass von statten ging ! Jetzt noch mein persönliches Lob und mein Bewunderung für deine Leistungen und ich wünsche dir eine gute Zeit ! 🎉
@cubedude8690
@cubedude8690 11 ай бұрын
chatgpt now has an option to continue the response if it got cutnoff due to the character limit.
@Gaming32i
@Gaming32i Жыл бұрын
For the projectile, I actually asked it to give me the velocity with a fixed angle, instead of giving an angle with a fixed velocity. Very interesting that we both had a similar question. I asked it to give me the math, and then I asked it to write me code, and _it worked_. I didn't end up using its code though, since I'd already written some before. However, I did end up actually using its code to give me the nearest point on a line to another point that's off the line.
@jlpt9960
@jlpt9960 Жыл бұрын
you can prompt continue to make it continue where it left off if it stops in the middle of code
@CreeperShorts
@CreeperShorts Жыл бұрын
Kaze you are a psychic. I legit today thought that maybe I should message you and tell you to make a new video with ChatGPT, but using the latest version, since last one didnt go so well. And then I see you uploaded this..
@Syogren
@Syogren Жыл бұрын
The fact that Chat GPT can do any of this at all is absurd to me. I can get it figuring out how to write basic English sentences, but I never would have imagined it would know how to write code. Like it's obviously not perfect, but even the fact that it could optimize your code at all is fascinating. Once this tool becomes more advanced it'll become even more helpful, I imagine.
@MrBrax
@MrBrax Жыл бұрын
Maybe the new copilot will be more useful with full codebase knowledge
@sagebondcast8115
@sagebondcast8115 Жыл бұрын
Please recreate Super Mario RPG: Legend of the Seven Stars on the super mario 64 engine. That will be something truly great.
@timeismichael
@timeismichael Жыл бұрын
I haven't downloaded anything from this man not since the Doki Doki literature club memes But I love watching his videos,in the hope of one day he'll perfect Super Mario 64 and add another multiplayer mod alongside of it, And he's kind of an entertaining fella
@jansenart0
@jansenart0 Жыл бұрын
32:20 Yo, shoutouts to me!!
@minerharry
@minerharry Жыл бұрын
22:00 was so cool
@legoboy7107
@legoboy7107 Жыл бұрын
18:20 Darn, I wanted to watch a Kaze shoe-eating stream.
@52thephotoshop
@52thephotoshop Жыл бұрын
Plugin support will interesting hooking it up direct to gcc could really improve this again
@unraveledcape6414
@unraveledcape6414 Жыл бұрын
Chat GPT is so weird to me with all the ethics junk around it. It seems great for things like this where you obviously understand the code and are trying to optimize /debug the code further but I've overheard several of my college classmates just using it to write their coding assignments. Great video though I really enjoyed it!
@harrisonfackrell
@harrisonfackrell Жыл бұрын
I'd say ChatGPT is essentially the next stage in high-level intermediaries when it comes to programming ethics. Universities are just going to have to adapt.
@hoyhoy852
@hoyhoy852 Жыл бұрын
There's so much junk around AI discussion in general. Tools are obviously incredibly useful and you can incorporate them to optimize a lot of things, but the discussion around it got so toxic that we have delusional "AI truthers" - basically same people that fell for NFT scams and are raving about random useless "brand new insane ChatGPT tools", on other hands we have "AI denialists" - people that seem to want to enforce copyright to ban AI completely but at the same time act like AI can't produce of anything remotely of value when it's obviously untrue. It's really a headache.
@unraveledcape6414
@unraveledcape6414 Жыл бұрын
@@hoyhoy852 very well put that's pretty much exactly how I feel too
@anjoliebarrios8906
@anjoliebarrios8906 Ай бұрын
​@@hoyhoy852couldn't have said it better myself.
@Jdbye
@Jdbye Жыл бұрын
There's a max length to ChatGPT's responses, so that long function it didn't complete was probably just too long. You can ask it to continue where it left off, but it doesn't always work, it can kind of forget part of the context and give you the wrong result. Keeping more context in short term memory is extremely computationally expensive, so that's a limitation of current AI.
@devilette
@devilette Жыл бұрын
You can type "Continue" if it stops writing code and it will usually finish.
@Mobius14
@Mobius14 Жыл бұрын
RE: the mfix mulmul thing is a real bug on a few retail N64 hardware revisions (early ones). If you do 2 muls in a row, the 2nd mul could have an incorrect result if the former mul uses an 0, inf, or NaN. The nop is added as a fix.
@KazeN64
@KazeN64 Жыл бұрын
i'm aware that it's a real bug - but the mfix flag adds way more NOPs than requires and it doesn't schedule instructions efficiently any more. that's why reordering the instructions can help GCC here. usually GCC is smarter, but mfix kinda makes it dumb with multiplication
@selfaware7617
@selfaware7617 Жыл бұрын
Only channel I watch someone program and code. And it's enjoyable too despite me being very lost
@MattIsTheCat
@MattIsTheCat Жыл бұрын
Are you going to be recreating Mario Kart Double dash for the N64? You could probably optimize it enough to look just as good as on the GameCube.
@wannacry6586
@wannacry6586 Жыл бұрын
It taught me how to make fentanyl and C4 so id say pretty good
@ZebraOnYourNose
@ZebraOnYourNose Жыл бұрын
It completed flew over my head that AI could be involved with making Mario 64 rom hacks. Can't wait to see what more of this will do in the future
@tree_alone
@tree_alone Жыл бұрын
waluigi's dragon dildo revenge
@aesth1cc
@aesth1cc Жыл бұрын
I think your code looks quite optimized but I know about a couple improvements that could be made, although I won’t tell you about them 🤫
@zeronecool
@zeronecool Жыл бұрын
Can you explain this program you're using that shows the assembly lines and hex values for function sizes? Is this part of GCC?
@zeronecool
@zeronecool Жыл бұрын
Ah, I found objdump, which looks like a non-gui version.
@jessendelft-1
@jessendelft-1 Жыл бұрын
The music in this video is perfect. All the tracks from the best Mario Kart: Mario Kart Double Dash 🤩
@circuit10
@circuit10 Жыл бұрын
I think giving it more feedback would have helped
@Pheenoh
@Pheenoh Жыл бұрын
FYI if it doesn’t finish the code just say “continue” and it will finish it
@lordmuaddib
@lordmuaddib Жыл бұрын
i wonder if asking stuff about asm code would pinpoint on different optimizations, did you try?
@JediJess1
@JediJess1 9 ай бұрын
You make a really good point. some people's minds are very "optimization" oriented with their programming, to the point where their code isn't as readable, we're told we need to optimize readability to the point where we might not be able to focus on optimizations. ChatGPT can be the middle tool to explain what a program does, allowing extra freedom with how we program something. You've also done a great job of showing how we'll still need interpreters and software engineers despite the growing AI craze. AI won't replace us, it will supplement us.
@mattmmilli8287
@mattmmilli8287 5 ай бұрын
In five years though, it’s over. We will be supplementing it as it codes. I’m here for it though, going to democratize development
@Julianmario
@Julianmario Жыл бұрын
Nice man. Glad this ai is getting better
@robertwyatt3912
@robertwyatt3912 Жыл бұрын
Pretty impressive for a machine that can only think when you tell it something.
@trapexit
@trapexit Жыл бұрын
It has to be remembered that at the end of the day GPT is a generative LLM and therefore a token predictor. A glorified phone keyboard word prediction app. It doesn't "learn" but prompt engineering provides additional context to the model to predict against. It's useful for sure but context and understanding its limitations are key.
@homer3189
@homer3189 Жыл бұрын
inaccurate
@trapexit
@trapexit Жыл бұрын
@@homer3189 How's that?
@sch1nken
@sch1nken Жыл бұрын
Hey Kaze. You're only looking at the size of the code... but wouldn't it make sense to also see which instruction it uses? e.g. modulus operation is clearly slower. So if you can avoid using this but have more code... that would be a good trade off, right?
@KazeN64
@KazeN64 Жыл бұрын
what really matters here is the RAM. each instruction takes 8 cycles on average to load into RAM and it will hold up the RDP while rendering. running the whole game's code right now takes around 9ms in course 1, so we could easily render it at 100fps from that perspective. but because the memory is shared, every time we load an instruction on the CPU, the RDP is hung up until that's done. this will cause rendering to slow down.
@sch1nken
@sch1nken Жыл бұрын
Thanks for your reply :) that explains it!
@DanteWolfwood
@DanteWolfwood Жыл бұрын
This video actually shows why using chat-gpt, even version 4, would actually be detrimental. Sure it gave less errors and yes it might provide some optimizations but you had to correct/ignore WAYY more suggestions than you decided to use. Only way you knew to do that was because you're not only an expert at coding, you're an expert at this specific niche. If a junior or new programmer used this, not only would it likely stunt their growth, it will often slow down production or the code would be way worse.
@Droidsky17
@Droidsky17 Жыл бұрын
Growth is completely dependent on the user. I think that a level of understanding can be reached by viewing the possibilities, but anyone that chooses to use this tool and take it as perfect fact isn't the problem of the tool itself.
@DanteWolfwood
@DanteWolfwood Жыл бұрын
@Droidsky it is not, it is dependent on how dependent the tool makes the user. This is the truth for all technology, it's just more detrimental in some cases. I'd argue it's pretty detrimental here.
@Droidsky17
@Droidsky17 Жыл бұрын
@Coolidge well I can't control other people, it's availability and ease of access is scary considering what it can do; but I don't think that this technology shouldn't exist just because some people will be able to spend more time with their feet on their desk, or publish some half-assed project written 90% by a bot.
@isaac10231
@isaac10231 Жыл бұрын
Idk. I'm a noob programmer and I found Chatgpt very helpful for helping me understand some of the basics - like a friendlier stack overflow almost. But for really expert niche content I can see how it's an issue.
@piclemaniscool
@piclemaniscool Жыл бұрын
As someone who doesn't code I didn't expect to watch nearly as much as I did. ChatGPT was trained to be as inoffensive as possible in its verbiage, so it takes many pages out of the customer service book. Using this wishy-washy soft language is incredibly frustrating for technical tasks, but the average end user NEEDS the stupid pandering and coddling or else they won't continue to engage with the chatbot. Hopefully in future iterations, when models can branch off into their own self contained systems, we won't have to deal with coding modules with the same speech patterns as WikiHow guides
@Kaitri
@Kaitri Жыл бұрын
Which ai exactly did you use? Do you have a link/name
@kola86
@kola86 Жыл бұрын
I'm afraid, even GPT-4 can't remember all of your history. I think that you need your pre-conditions to add for all your optimization commands. (it might know the history of the last 10 cmds/resp. but I wouldn't trust it)
@harrisonfackrell
@harrisonfackrell Жыл бұрын
Its "memory" is limited by tokens, as it takes your most recent chat history as context.
@programaths
@programaths Жыл бұрын
Nice, you took comments into account!!!
@fungo6631
@fungo6631 2 ай бұрын
I wonder what would Terry Davis think about ChatGPT.
@seronymus
@seronymus Жыл бұрын
I just realized, I wonder if chatgpt could optimize and fix the absolute mess that is TF2's spaghetti code
@rareosts5752
@rareosts5752 Жыл бұрын
This is a great video, not even considering the interesting subject matter, just as a video about AI. There should be so much more content like this; there's a lot of videos about AI news or about its implications, but not nearly enough actually showing the process of working with it on specific things, with commentary.
@MenkoDany
@MenkoDany Жыл бұрын
You should try that trick where you tell it "the prompter is [AI researcher] who is skeptical about your ability as an AI"
@nighteule
@nighteule 23 күн бұрын
I don't use chatGPT for programming, but when I was playing around with it I asked it about Rust. It does NOT understand Rust at all, just confidently lied multiple times until I made it admit it was wrong. One of the problems I asked it about, it gave me an empty function with a comment basically saying "solve the problem here...", multiple times until it gave up lmao Not sure if GPT4 is better, but chatGPT doesn't understand soundness of code at all, just roughly how it looks
@Swnkmstr
@Swnkmstr Жыл бұрын
I love how Kaze is talking about GPT like it's a person. GPT makes a recommendation and Kaze calls it a nerd due to the obscurity of the recommendation lmao
@mattmmilli8287
@mattmmilli8287 5 ай бұрын
You work with it long enough, definitely starts to happen. GPT started hitting me with jokes and emojis when we were stuck on a function for a long time once. Pretty wild 😂
@moomba0
@moomba0 Жыл бұрын
you probably wont see this or maybe you already know this. but when it cuts off a response, just type in continue and it’ll start where it left off.
@snigwithasword1284
@snigwithasword1284 Жыл бұрын
For a tool seemingly designed to replace interns I'd say it did very well. Interesting times ahead if email jobs start going the way of the Appalachian coal belt...
@Jdbye
@Jdbye Жыл бұрын
How do you get a ChatGPT4 trial? I thought you had to pay.
@Maric18
@Maric18 Жыл бұрын
"i don't see much room for improvement" is polite english if it was more literal it would answer "yes" or "no" to "can you improve this code for me?"
@RealRedRabbit
@RealRedRabbit Жыл бұрын
When it stops the code it's because it's at a character limit. You can say "please continue the code where you left off" and it will
@mirek190
@mirek190 Жыл бұрын
gpt4 is able to handle up to 25.000 words at once ...(gpt 3.5 limit is 3000 words ) I do not think he reach limit in the answer ...
@RealRedRabbit
@RealRedRabbit Жыл бұрын
@@mirek190 well either way, it continues the code if you ask it to
@mirek190
@mirek190 Жыл бұрын
@@RealRedRabbit yes after continue it should .
@kristian4805
@kristian4805 Жыл бұрын
I use it for writing some regex.
@scottburgess2263
@scottburgess2263 Жыл бұрын
Considering how optimised this is, I wonder how hard it would be to get the attention of John Carmack - the famous code optimiser haha. Also, is it worth pointing out to it every time that it is wrong and why? That might improve future answers.
@javierflores09
@javierflores09 Жыл бұрын
that'll waste a prompt, which you can't really afford with a prompt limit because even if you tell it, it may not understand why and spit out the same thing so it's better to just move on with whatever else you need. Of course, it depends on a case by case basis
@Powertampa
@Powertampa Жыл бұрын
I think the way you use it reflects more using it as a search engine rather than it understanding code. For that it works quite well, but you have to, like you, know when it talks bs.
@user-bc8hj2co8v
@user-bc8hj2co8v Жыл бұрын
How many of you were shocked that Kaze didn't just do Mario 64 full time
@kungfujesus06
@kungfujesus06 Жыл бұрын
I swear mips had predication. Strange that gcc won't use it with ternaries.
@Alpine_flo92002
@Alpine_flo92002 Жыл бұрын
Chat GPT. Turning Spaghetticode into cryptic as hell shit
@lFunGuyl
@lFunGuyl 11 ай бұрын
Pretty soon we will have an AI that will read your entire source code and always have ALL the relevant info. Then none of the problems Kaze was having will exist.
@SullySadface
@SullySadface 6 ай бұрын
You should ask ChatGPT4 to explain the half A press
@thomas-ux8co
@thomas-ux8co Жыл бұрын
this guy is cool
@Coolingcake
@Coolingcake Жыл бұрын
you can tell it to keep writing the code if it stops mid way through
@HutchesApprentice
@HutchesApprentice Жыл бұрын
"readability is secondary"
@t0biascze644
@t0biascze644 Жыл бұрын
You could make it try optimizing larger loops of code, not just small functions which are fraction of the total processing 31:25 have you tried bing ai search? it uses gpt4, but it can search information on the internet so it doesnt rely on just data in the model itself which could sometimes be incomplete
@GraniteValleyDave
@GraniteValleyDave Жыл бұрын
Really enjoying these AI videos Kaze. Not sure I understand all of it but it's fascinating to see.
@Margen67
@Margen67 Жыл бұрын
Penguins need HUGS
@TheSlyMouse
@TheSlyMouse Жыл бұрын
When it doesn't finish the code you can just say "go on" and it will keep going.
@lucbloom
@lucbloom Жыл бұрын
“There isn’t much room for” is English for “zero chance” not “there is some room, if you ask me about it” This is due to the indirectness baked into their language. “Politeness” they call it. “Inefficiency” I call it.
@ChristopherGray00
@ChristopherGray00 Жыл бұрын
Is it just me or is the video quality low?
@hmmm7744
@hmmm7744 Жыл бұрын
Link?
The Folded Polynomial - N64 Optimization
14:26
Kaze Emanuar
Рет қаралды 227 М.
Reverse Engineering Game Code from the Neutral Zone
40:59
Retro Game Mechanics Explained
Рет қаралды 527 М.
Эффект Карбонаро и бесконечное пиво
01:00
История одного вокалиста
Рет қаралды 6 МЛН
ELE QUEBROU A TAÇA DE FUTEBOL
00:45
Matheus Kriwat
Рет қаралды 36 МЛН
The Problem with the Grass in Mario 64
35:04
Kaze Emanuar
Рет қаралды 323 М.
I ported THOUSANDS of apps to Windows 95
51:54
MattKC
Рет қаралды 939 М.
What’s content creation in Resonite look like?
14:59
a bird named Decoy on the internet
Рет қаралды 6 М.
I DECOMPILED a Sonic game... here's how
21:05
MattKC
Рет қаралды 746 М.
4:53 is Possible
25:14
Kosmic
Рет қаралды 966 М.
I tried to Speedrun the DS Version of Super Mario 64
33:30
Linkus7
Рет қаралды 388 М.
How Bad Apple was played inside Super Mario Bros.
31:35
100th Coin
Рет қаралды 81 М.
I made my N64 render over 8000 Polys (Koopa Karnival)
6:38
Kaze Emanuar
Рет қаралды 167 М.
How Speedrunners ALREADY Completely Broke Mario Wonder
22:31
Cryptic Stars in Mario 64 EXPLAINED
9:10
Kaze Emanuar
Рет қаралды 84 М.
😱ЭТОГО ТЫ ТОЧНО НЕ ЗНАЛ О KinitoPET 2
11:26
Қорқынышты Майнкрафт - 5 бөлім ✅
32:10