I didn't understand much ,but the run an ad thing was funny af
@srijanraghavula23 сағат бұрын
Phew, finally feels nice to understand what he's writing, learnt go, enough to understand the code prime's writing. I wouldn't have given any shits if this wasn't for kinesis and neovim
@Jan-gl7mnКүн бұрын
Well, that was short lived, he stopped with the Ocaml videos after few months, so I guess, it is not that great.
@ConverseMidasКүн бұрын
I have a dark secret, in that I am two-finger Tony. I type reasonably quickly but my technique is dogwater. The left hand, I use most of my fingers but righty just throws an index in every now and again.... are there any good resources for learning to type _properly_? I did google a while back and closed the browser when Mavis Beacon Teaches Typing popped up
@AloisMahdalКүн бұрын
59th!
@TankorSmashКүн бұрын
Wasn't there another video on the channel a minute ago? Something about 2000 people playing Doom at the same time
@TankorSmashКүн бұрын
Oh it's a main channel video
@Chiramisudo2 күн бұрын
54:54 Nah bro, you be Zigglin.
@user-fu4ps9eb2v2 күн бұрын
macroburtion
@TG-ll6kf2 күн бұрын
Single handedly exhausting all available api tokens
@alexpyattaev2 күн бұрын
When &dyn Trait in is a 2 hour session, and people still say rust is hard...
@Alguem38713 сағат бұрын
Its not hard its just verbose
@bipinmaharjan40903 күн бұрын
Bro how many channels you have?
@0xc0ffee_3 күн бұрын
Aren't there videos on youtube of previous work on this project in zig?
@nikgordon12883 күн бұрын
Ur a cutie
@AndrewErwin733 күн бұрын
"somehow you got that joke wrong!"
@user-mw3fp7qf1w3 күн бұрын
I hate how verbose it is
@lmnts5562 күн бұрын
Same, I would rather just stay with C. Lots of YTers try it and just ditch it for c or other languages.
@micahburnside22813 күн бұрын
Way too many abbreviations and shortened words. Too hard to read.
@micahburnside22813 күн бұрын
This is so syntax heavy i won’t Go near it
@zyriab579714 сағат бұрын
Only 25 keywords my man
@diegolikescode4 күн бұрын
Please continue doing these deeper and more technical videos, I'm learning so much!!
@JackDespero4 күн бұрын
What is worse than a while loop? Looping for a while.
@luizpbraga4 күн бұрын
"inline switch" is a time-saver
@kenneth_romero5 күн бұрын
i'm doing the same thing in my project, though with Odin. been messing around with the reflect core library and specialized structs to achieve an interface to allow easier addition of mods to my game.
@blarghblargh5 күн бұрын
Interfaces can be nice, when the language supports them, but I think they're just not something I'd really want to use unless the language directly supported them. I'd probably usually just use a struct of function pointers, and then only at library boundaries.
@ForeverZer05 күн бұрын
I tend to agree. I have been writing a lot of Zig the past few months, and have encountered a few scenarios where an interface might be convenient, but overall I get by just fine without them using other features that are more idiomatic That said, It would be nice to see some Zig features that alleviated some of the pain in implementing interface-like types. I have gotten by using comptime features to enforce the contract of the "interface" (i..e. wrapper type), but it always feels kind icky.
@lmnts5565 күн бұрын
Zig syntax feels like java, I hate it.
@gronki14 күн бұрын
have you seen Java
@lmnts5564 күн бұрын
@@gronki1 Yes, and writing it and Zig feel similar.
@user-sn9dy5sq1qСағат бұрын
@@lmnts556not gonna protect zig syntax but how can it look like java 's
@lmnts55611 минут бұрын
@@user-sn9dy5sq1q It just feels similar to write, verbose and clunky.
@MrKlarthums5 күн бұрын
There's going to be a certain type of developer who thinks the approach from the blog is really cool yet hates design patterns. This is literally a design pattern for Zig, but probably something you'd codegen instead of writing by hand because this is cursed, poorly maintainable code.
@blarghblargh5 күн бұрын
not every pattern, but a lot of them are just a workaround for not having a feature directly supported in the language
@stgatilov2 күн бұрын
This is how interfaces were/are done in pure C, with some Zig specifics on top of it. All the boilerplate written by hand...
@AloisMahdalКүн бұрын
i sort of assume that at some point (some size of Zig community), we're just going to have some library for creating interfaces... right? (not sure if it's possible with language like Zig)
@rosehogenson13985 күн бұрын
It's kind of based how interfaces in Zig are just structs and you have to raw-dog the vtable
@zlice05 күн бұрын
this looks worse than c++ templates...
@theoriginyt48694 күн бұрын
Interfaces are more comparable to virtual classes, instead of templates. But yeah, Zig is VERY verbose, like now I know how a VTable works under the hood 😅
@salim4445 күн бұрын
learned Zig before C#. L take. But in all seriousness, Zig is great and you are cool prime. TOKIOOOOOO in Zig when with liburing
@christopher86415 күн бұрын
For some reason the .Foo syntax of zig just wrecks my brain. Im all for low level control but I really don't care to implement my own vtable. Definitely seems like the language has a lot of other neat tricks though
@i-am-linja5 күн бұрын
I really don't see what's so hard about it. It's just a struct.
@christopher86415 күн бұрын
@@i-am-linja I did not say anything is difficult. I said my brain doesnt read something well, and said the other thing is tedious
@AloisMahdalКүн бұрын
I think the .Foo thing is just about enum (or tagged union, in the .Pointer case where Prime was confused). since it's a typed language, it already knows the type of LHS so if it's enum, on RHS you can just type the second part of enum name, which i think is actually pretty cool.
@dmitrysim5 күн бұрын
It would be nice to have token leak section
@ImmaterialDigression5 күн бұрын
What I'm learning is that I'm too dumb to learn Zig.
@TankorSmash5 күн бұрын
Zig is great if you know C. There's very little affordance given to the developer otherwise. The compiler is not very delightful and the docs are barren, and hard to look up. But man does it run fast
@i-am-linja5 күн бұрын
@@TankorSmash It was the position a few years ago (not certain if it still is) that while decentifying the docs is obviously a precondition to 1.0, it's unwise to do it _too_ quickly as a) while things are as unstable as they are all you do is double the churn, and b) a more accessible language means a large influx of new devs, which the existing small community might not be equipped to effectively help.
@lmnts5565 күн бұрын
Nah man, I code in C and when I look at the syntax of zig I would honestly rather keep coding in C, it is just so bad. Zig could have been great, but they messed up the syntax completely.
@TankorSmash5 күн бұрын
@@lmnts556 Syntax is the most shallowest possible thing to complain about at least, what else do you not like about Zig? Errors-as-values is a a big step up IMO
@lmnts5565 күн бұрын
@@TankorSmash That is the exact reason why so many people ditched java, so no you are mistaken. If the way you write the code is bad it will turn away a lot of potential coders because they really can't be arsed to write it lol.
@noskillpureandy5 күн бұрын
last
@Blaisem5 күн бұрын
1:25:30 It's funny that prime was watching a youtube video at 1.5x speed, and I am watching Prime at 2x speed, so the KZfaq video runs at 3x speed, and at this exact moment that youtube video has 3x speed highlighted on its screen.
@AloisMahdalКүн бұрын
i could not understand the guy so i slowed down that part to 0.5 speed, making Prime kinda drunk
@MrTechHaus5 күн бұрын
last++
@sloth199385 күн бұрын
last
@allanpaiz33485 күн бұрын
SECOND!
@marcomongalo33285 күн бұрын
How refreshing. A community with no one saying "First!"
@darukutsu5 күн бұрын
glad that only people who watch prime are well behaved gentlemen 🗿🎩☕
@tomislavtumbas83605 күн бұрын
Yeah, we yell CHROOT CHROOT CHROOT
@thesilverbot94395 күн бұрын
Sneaky one there ;)
@nathanfranck58225 күн бұрын
Zeroth it is
@AronOrri13 сағат бұрын
First!
@centrology6 күн бұрын
LMAO the compressed air with no regard to audio of it.
@davidhaas47436 күн бұрын
It's beyond me how HTMX even got a following. Seriously, why would anyone in their right mind want to revert to this convoluted mess of HTML-centric code? It feels like taking a huge step back from the progress we’ve made with modern JavaScript frameworks. HTMX claims to make web development easier, but in reality, it’s just a thinly veiled attempt to cram server-side logic into the front-end, making everything more complicated and harder to maintain. The whole concept is a recipe for spaghetti code. And don’t get me started on the so-called "simplicity" of HTMX. Sure, sprinkling some attributes on your HTML might seem straightforward at first, but once your application grows, you'll quickly find yourself buried in an unmanageable tangle of attributes and custom behaviors. This might have been fine in the 90s, but we've moved on for a reason! To anyone considering HTMX: save yourself the headache and stick with frameworks that actually embrace modern development practices. Your future self will thank you.
@sebastianalfaro18876 күн бұрын
3:31 deleting marks from harpoon : )
@kcin42066 күн бұрын
databases are the frontend framework of the backend world
@evergreen-6 күн бұрын
I thought after “The future of this channel” video this channel would feature more educational and edited content rather than random stream excerpts. Guess, I misunderstood…
@konstantinrebrov6756 күн бұрын
I really like this channel, and I have learned much from your lectures/streams. Only please don't put exaggerated facial expressions in the thumbnails. It just looks cringy, like mediocre KZfaqrs who make such facial expressions for attracting their dopamine-overloaded viewers, whose attention span is lesser than that of a fish. Please, a calm smile would be better.
@isodoubIet7 күн бұрын
Forcing things that don't change to be const is awful because constness is a contract. Nothing should be incidentally const because it encourages people to rely on constness that may be incidental.
@zawadhyaa7 күн бұрын
which font is he using? it's so good on eyes
@heitorvrb7 күн бұрын
Floo
@moveonvillain10808 күн бұрын
I feel stupid. I can never get this good.
@gageracer8 күн бұрын
without music it looks insane.
@heitorvrb8 күн бұрын
Try writing annotations in any language that support them. Reflection becomes a must