Programming in C3 to Annoy Zig fans

  Рет қаралды 57,611

Tsoding Daily

Tsoding Daily

Күн бұрын

Пікірлер: 274
@shadow_vertex
@shadow_vertex 6 ай бұрын
Imagine programming only in C3 when C99 exists
@doodocina
@doodocina 6 ай бұрын
33 times better
@darukutsu
@darukutsu 6 ай бұрын
so sad that first release wasn't called C69
@yyny0
@yyny0 6 ай бұрын
33x betterer
@theevilcottonball
@theevilcottonball 6 ай бұрын
Me still stuck on C17 :-(
@baranjan6969
@baranjan6969 6 ай бұрын
I love the fact that 3/6 programmers have anime pfp youtube accounts and rest are closet weebs.
@tmpecho
@tmpecho 6 ай бұрын
C4 is gonna be a banger
@yashu-oo
@yashu-oo 6 ай бұрын
it's gonna be explosive!
@powerranger3889
@powerranger3889 5 ай бұрын
Literally
@TheSulross
@TheSulross 5 ай бұрын
@@tmpecho a use once language
@speedg
@speedg 5 ай бұрын
18
@peterkilian9100
@peterkilian9100 3 ай бұрын
@@ruslansmirnov9006 it’s fucks
@user-lz2oh9zz4y
@user-lz2oh9zz4y 6 ай бұрын
Can't wait for the successor to the C3 language, the CCCP
@MrFunny01
@MrFunny01 5 ай бұрын
💀💀💀
@madbanana22
@madbanana22 4 ай бұрын
☭☭☭
@ОрдинцевМихайло
@ОрдинцевМихайло 4 ай бұрын
Oh no 🙈
@nathanfranck5822
@nathanfranck5822 6 ай бұрын
I refuse to investigate this language due to sunken cost into zig
@aleclowry7654
@aleclowry7654 6 ай бұрын
Plus zig is a cooler name
@samuraijosh1595
@samuraijosh1595 6 ай бұрын
​@@aleclowry7654they should've named c3, "Shark" to beat zig.
@spht9ng
@spht9ng 6 ай бұрын
I would investigate this and every other C successor if I was a 10x fast learning engineer. Or if I didn't have a gf
@twenty-fifth420
@twenty-fifth420 6 ай бұрын
@@aleclowry7654Look Flash, I know you just got out of a fight with Thawne and your head is all wonky, but you can’t match the EXPLOSIVE namepower of C3. Get boomed, loser. 💥 🧨.
@pik910
@pik910 6 ай бұрын
I would investigate if they would call it c69
@Br4dButt0wski
@Br4dButt0wski 6 ай бұрын
I did read an interview with the creator of C3 saying that from a philosophical perspective his language is mostly similar to Odin and disimilar to others like Zig, Jai, etc.
@androth1502
@androth1502 5 ай бұрын
if odin didn't exist, i would be using c3
@grafgrantula6100
@grafgrantula6100 5 ай бұрын
where do I find the interview?
@maximenadeau9453
@maximenadeau9453 6 ай бұрын
I went away from front end development because new shit started popping out all the time, then I moved to backend. Then backend started having a bagillion frameworks, so I moved to systems programming thinking I will be able to ride C and Rust for the end of times. Now the same shit is happening. I think I'm moving to hardware design next. Hopefully I don't get to the point of mining ore to build chips before I retire.
@gs-e2d
@gs-e2d 6 ай бұрын
haha
@万宇阳
@万宇阳 6 ай бұрын
The next step after HDL/FPGA/IC-Design is finally chip manufacturing, you'll need to create a process to defeat TSMC.
@MatthisDayer
@MatthisDayer 6 ай бұрын
But there are new architectures and ISAs coming out all the time!
@Ikxi
@Ikxi 6 ай бұрын
we have a chip designer here in 10 years, bois
@GreggHarris-gm7ef
@GreggHarris-gm7ef 5 ай бұрын
what if u dont pay attention to dumb shit and just build stuff
@Betacak3
@Betacak3 6 ай бұрын
27:20 In case anyone needs to know: You can install NPM packages globally without root access by telling NPM to put things in your home directory. npm config set prefix "$HOME/.npm" Don't forget to put "$HOME/.npm/bin" in your path. You can use any directory you want instead of "$HOME/.npm".
@paulkanja
@paulkanja 6 ай бұрын
i'ma be honest, if c3 continues being this minimal with useful features, i'ma be adding it to my tool belt
@KettLovahr
@KettLovahr 6 ай бұрын
Hadn't ever touched WebAssembly till watching this, had no idea it was so simple to import a module and start using the functions it exposes. Really neat.
@chri-k
@chri-k 6 ай бұрын
Why is WebAssembly a link?! I saw some other comment has "glibc" as a link for some reason
@KettLovahr
@KettLovahr 5 ай бұрын
​@@chri-kI think that's just on your end!
@chri-k
@chri-k 5 ай бұрын
@@KettLovahr Yeah, i've since figured out that KZbin is A/B testing a new "feature" where keywords in comments become links that take you to the youtube search page for that word. Apparently i'm in the early test group, since i've not seen anyone else mention this. Completely useless.
@soroushyaghoubi7709
@soroushyaghoubi7709 6 ай бұрын
literally in love with your channel. keep it up :))
@tianned
@tianned 6 ай бұрын
Literally in hate with your channel. Keep it down }:((
@GreggHarris-gm7ef
@GreggHarris-gm7ef 5 ай бұрын
im tsodingsexual
@000dr0g
@000dr0g 6 ай бұрын
I just completed this video after liking your earlier trolling click bait. Very enjoyable; I hugely appreciate how you evangelise an objective and professional take on technologies, with humour and exaggerated emotion. But we can also enjoy your obvious and real delight when something turns out well. So cool that you got C3 to give you both a WASM and native exe, with minimal malarkey.
@AeroSW
@AeroSW 6 ай бұрын
This is such an insane time. Tsoding is truly an engineer. Figuring out how to integrate external libraries to build interfaces for webpages. Edit since someone is trying to ask if this is an AI post xD I made my statements here because I was truly impressed with what he achieved in this video. It made me feel slightly jealous, since, my brain doesn't work in quite the same way xD It could just be from my lack of experience and not knowing how to actually use Web Assembly, since, I've never played with it before, but Tsoding converted a native C-library that handles UX and a game event loop into Web Assembly and is able to use it in the webpage itself is impressive to me. I have atleast made one canvas game, Atari's Breakout, but that wasn't a difficult game to make. I think what Tsoding has shown in this video can revolutionize how developers can make web games. You can take any engine built in C3 and convert it to Web Assembly to integrate into a site's canvas element.
@satyajeetjena6758
@satyajeetjena6758 6 ай бұрын
AI post?
@AeroSW
@AeroSW 6 ай бұрын
@@satyajeetjena6758 I guess it almost reads like an AI post. lol
@pagenotfound_code_404
@pagenotfound_code_404 6 ай бұрын
i wondered why c3 wasn't getting more attention. extended c seems like a most practical approach to make a useful generalist programming language c++ took that route a long time ago and it turned out pretty useful!
@severgun
@severgun 6 ай бұрын
because it does not have any selling points. Having fn is not enough
@saniancreations
@saniancreations 6 ай бұрын
@@severgun for me, C's functionality without the crappiness of C/C++ (header files, templates, preprocessor) is a pretty good selling point. Any other language tries to pour their own little sauce over the language that in some way prevents you from doing stuff you could do in C, so a language that doesn't try to do that sounds pretty cool. (I must say though, the "anything starting with a capital letter is a type", I would consider annoying get-in-your-way sauce, so :/...)
@markblacket8900
@markblacket8900 6 ай бұрын
@@severgun sane macros, compile-time execution, vector types, namespaces, defer. I don't know what else a good alternative to C needs
@diegorocha2186
@diegorocha2186 6 ай бұрын
@@markblacket8900 it needs a tribe and hype lol "rewrite it in C3 when??" so it can raise some money and keep going...
@0x5D
@0x5D 6 ай бұрын
​@@markblacket8900Here are some more features from my systems-language wishlist in no particular order. Some way to express the idea of an "inline-counted" array in the type system. As in, in memory you have a value N of some int type followed by exactly N many objects of type T. Not like a slice type with fat pointers, but basically sugar for c99 flex array structs with a stored length field. Allow detailed manual control over memory layout of structs and their fields, including things like offsets, padding, alignment, and endianness. Explicit field offsets would make unions redundant - a union is just a struct with all fields at offset 0. The big usecase here would be cross platform binary file or network IO, where the format/protocol specifies a layout independent of the machine's "native" one - the language should be able to use such layout attributes to portably interpret a struct e.g. inside a mem mapped file, without me having to either (1) depend on an external library, (2) write all my types in an IDL with its own special build tool, or (3) explicitly read/fgetc and shift every individual byte. And finally, get rid of the crazy "ex falso quodlibet, anything-goes, time-traveling nasal demons" interpretation of undefined behavior that lets compilers do crazy shit like "this pointer was deref'd earlier, therefore it can't be null cuz UB, so i can 'optimize' this definitely-totally-redundant null check." (This caused an actual vulnerability in the linux kernel btw)
@On.Jonathan
@On.Jonathan 6 ай бұрын
"Why do you even wanna code in this language? Because they said us not to." - Daily, Tsoding Don't code in C, it's "unsafe", someone says: "So, it means we need to code in C again." - Daily, Tsoding "All the useful codebases in the world is in C" - Daily, Tsoding
@anakpinguin3942
@anakpinguin3942 5 ай бұрын
Bro's acting like daily is his last name 💀
@On.Jonathan
@On.Jonathan 5 ай бұрын
​@@anakpinguin3942I'm sorry but... Bro's sounding like he clearly didn't get the comment lol... of course this is not his name
@TapetBart
@TapetBart 5 ай бұрын
And fortran
@Akronsus
@Akronsus 6 ай бұрын
that title is pure gold
@TheSulross
@TheSulross 5 ай бұрын
Annoying fanboys is one of the great past times of the Internet - probably why it was invented
@neociber24
@neociber24 6 ай бұрын
Twitch Chat subtitles are top tier
@nickelpence
@nickelpence 6 ай бұрын
So, I spent the afternoon trying to make the compiler work on my Ubuntu 20 machine, right after finishing the last video, but no luck with that yet (glibc version too old), so will have to settle with docker for the time being. It seems a really cool language, and pleasant to use.
@chri-k
@chri-k 6 ай бұрын
why is "glibc" getting highlighted as a link?
@nickelpence
@nickelpence 6 ай бұрын
@@chri-k wait, what? It isn't for me, both on mobile and browser.
@chri-k
@chri-k 6 ай бұрын
@@nickelpence A/B testing some AI garbage?
@chri-k
@chri-k 6 ай бұрын
@@nickelpence The link just takes you to the YT search page, so it's clearly broken. Although _now_ the links also have a search icon next to them, so it's definitely A/B testing some AI garbage. I'm seeing the same thing happen all over the place.
@nickelpence
@nickelpence 6 ай бұрын
@@chri-k good-old KZbin shenanigans
@krellin
@krellin 6 ай бұрын
i hope one day people will stop simping for programming languages and just treat them as what they are
@stretch8390
@stretch8390 6 ай бұрын
I think it's easy to conflate simps and genuine hype because of reduced pain. Enough time fking around building C projects and zig build system really does feel like a dream by comparison.
@FDominicus
@FDominicus 5 ай бұрын
It does not work for religions, so why do you expect it to work anywhere else?
@krellin
@krellin 5 ай бұрын
@@stretch8390 we all know zig is more mature and has more capabilities but not everything is a fucking competition, all of these coding projects are pretty much for fun... and we really lack that in the industry. Partially that is because some people treat programming languages like its their girlfriend and they are the white knight that needs to defend it at any opportunity. Its not a competition, sometimes one wants to code in some strange... no need to spoil it. Yes zig is this and that, but this is not a zig video, its not about it, even though he titled it very honestly people still comment about zig capabilities and why its a better choice...
@stretch8390
@stretch8390 5 ай бұрын
@@krellin I think I get what you're saying and I dont disagree especially about projects for fun. My initial point is just that often there is some element of truth behind hype even though the hype itself is annoying. Have you got any fun projects you're trying at the moment? I'm just exiting the land of lisps after a while with Clojure.
@krellin
@krellin 5 ай бұрын
@@stretch8390 yeah i've got a kotlin project where i experiment with zero serialization types... basically sending messages but there is no actual serialization/deserialization happening... with a special network card data lands in memory directly, gets pointed at and its ready to use and send back again... performance magic is my jam
@WillyJL
@WillyJL 5 ай бұрын
With how small it became excluding libc and stdlib makes me think C3 could be great for embedded software. I develop custom firmware and apps for Flipper Zero, and I wanna try to use C3 for flipper apps, could improve dx drastically
@eldyj
@eldyj 6 ай бұрын
1:51:00 will you also create pull request with build.c3 to all their repos??
@On.Jonathan
@On.Jonathan 6 ай бұрын
"I hate magic in Software Development" - Daily, Tsoding Me too for sure
@hcblue
@hcblue 6 ай бұрын
We love some big PIC energy
@idkncc
@idkncc 6 ай бұрын
Stream conclusion: Zig L, C3 huge W
@rmnilin
@rmnilin 6 ай бұрын
At first, the streams stopped officially starting, now it is not specified that they are with Mr. Zozin. What's next? Programing sessions will no longer be recreational!?
@gustawitresh
@gustawitresh 4 ай бұрын
I saw c3 and wondered why they would stick with the C things, but after reading the docs I am more convinced that I like it.
@paoloose
@paoloose 5 ай бұрын
one of my favorite streams, love your approach to learn by intuition and reading source code
@expodemita
@expodemita 2 ай бұрын
Is very funny how you discover the new functionalities investigating using the compiler 👏
@SystemsDevel
@SystemsDevel 5 ай бұрын
best part is the fact that they actually kept the inside out boustrophedonic C declaration syntax mess
@franksinatra2530
@franksinatra2530 6 ай бұрын
I loved this video, instant like. Zig really feels like a regression in many ways. I like what C3 are doing. Keep the C3 content going :D Cheers!
@iilugs
@iilugs 6 ай бұрын
Can you specify what ways?
@franksinatra2530
@franksinatra2530 5 ай бұрын
@@iilugs Adds complexity in the name of safety, but still leaves gaping footguns. Just bizarre takes on interfaces/vtables, error handling, lambda functions and many other features modern languages take for granted. Comptime is a fad. It's untractable and very hard for editor tooling to keep up with. It's basically a crutch for the lack of a proper type system. Ditching llvm for a bespoke backend. Yikes. People have spent decades finely crafting GCC and LLVM, but Zig has to be different of course.
@negaopiroca2766
@negaopiroca2766 7 күн бұрын
At the end, did you use github actions to build it? But i didn't see them being created... and how was it deployed somewhere?..
@Argoon1981
@Argoon1981 6 ай бұрын
can someone please explain to me why def Color = char[]; works for tsoding but it doesn't work for me? Meaning raylib doesn't set the correct colors. Only making Color into a struct worked. I'm coding with raylib in windows not linux could this be the reason?
@Argoon1981
@Argoon1981 5 ай бұрын
lol I should have seen this video to the end, before making this question, but I was basing it on the previous video, he add the same problem as me in this one with the color!
@k00lagin
@k00lagin 4 ай бұрын
1:08:20 Maybe it were already mentioned: it's possible to pass a Color to wasm using temporal address and casting it to Color, like this &&Color{0xFF, 0, 0, 0xFF}
@000dr0g
@000dr0g 6 ай бұрын
You got my immediate like without watching the video, because I admire your trolling! Watching it now though..... BTW Can Zig fans say why they did not reject Zig when they saw Odin?
@jc-aguilar
@jc-aguilar 6 ай бұрын
For me, it’s the build system. Zig’s build system is awesome, IMHO. Take a look at the video: “Zig as a Multi-OS Build System (with Loris Cro)” on the Developer Voices channel. Their goals are quite ambitious, but if they pull it off, it would be a big deal.
@Caesim9
@Caesim9 6 ай бұрын
One big reason is Zig's comptime and a lack of any macro or compile time feature for Odin. Zig's comptime is awesome even compared to advanced compile time evaluations like Rust's macro system, C++'s templates, Javas generics etc. So it's a big plus either way, but with Odin lacking such a thing, eh, it's a big drawback. Even Go was without generics for a long time and its creators accepted it needed it after a while. It's just not feasible duplicating your data structures and related algorithms all the time.
@Lorenzo1938
@Lorenzo1938 6 ай бұрын
Because you can learn only 1 language for the programming language, meta languange and build system. The syntax is not the best in the world, but WHO CARES. And plus, you can use it as build system for other languages and achieve easy cross-compilation and other shit.
@000dr0g
@000dr0g 6 ай бұрын
@@Lorenzo1938 @Caesim9 @jc-aguilar your reasons chime with what little I know about how Zig compares to the other current "evolutions" from C. As someone who had to use C in the 80s and 90s, I appreciate learning more about the alternatives. As Ginger Bill himself says, you need to try stuff out to get a reasonable impression (I paraphrase badly); there is no shortcut.
@Lorenzo1938
@Lorenzo1938 6 ай бұрын
@@000dr0g yeah, the best thing is to stick with a language and take a deep understanding. For me Zig is the C alternative, no strange behaviour, not overcomplicated things like in Rust, manual memory, full metaprogramming without macros. I like Odin too, but i need some metaprogramming features. And one "feature" of having a simple language that you can read the standard library without any issue like learn 100 traits. One drawback: it lacks interfaces, so you need to stick with vtables. But on github there is a thread opened to implement this in 1.0 language
@rakaboy1619
@rakaboy1619 6 ай бұрын
I know you are not fond of zig, can you please explain why? Genuinely interesting to hear someone whos actually a skilled developer. Is it due to zig being pre 1.0?
@johanavril1691
@johanavril1691 6 ай бұрын
I think its because he has a perverse love for macros and honestly for the kind of programming that he does I kind of get it lol, also zig attempts to reduce the amount of undefined behavior as much as possible so there is some stuff that is a little more annoying to do "by default" but you can make utils to mostly solve that if thats an issue for you. so yeah thats my theory lol
@theevilcottonball
@theevilcottonball 6 ай бұрын
He did a Zig stream where he implemented a breakout clone in Zig. To be fair, I also don't like Zig's noisy syntax, and also I don't like that it does not allow unused variables and multiline comments and so on. (Zig tries to reduce UB, haha - they made unsigned integer overflow UB whereas it is defined behaviour in C) And no if your language requires tools to be usable, your language sucks... Zig is a good cross-compiler and I do like some of its ideas around compile time execution, and some better defaults and some fixes of C (no null, no null terminated strings, no errno, pointers that know their length (slices), etc. etc.) Zig wants me to program how it wants, C gets out of my way and I configure sanitizers and warnings to suit my needs. Also Zig is useless to me, everything has a C API, and Zig is not substantially different in its scope for me to learn it, everything Zig is good for, C is good for...
@johanavril1691
@johanavril1691 6 ай бұрын
​@@theevilcottonball yeah the unused variable thing is annoying and kinda worrying for the future of the language BUT cross-compilation, compile time execution, optional types, slices, errors as values, tagged union, the @Vector() type, better type notation, package manager, optional runtime safety checks, methods, no header files... you know, it adds up what do you mean by zig having a noisy syntax ? is it just the casting stuff ? btw if you want defined behavior overflow you need %+
@mgord9518
@mgord9518 6 ай бұрын
​@@theevilcottonballZig does have a couple opinionated choices, such as requiring tab indentation and not allowing unused variables, but saying "Zig wants me to program how it wants" is a stretch. You can program Zig in a C-style and tell it to forego most of its safety checks if you really want. It has every bit the same openness as C, just requires more verbosity because a lot of C issues are caused by implicitly handling things. Rust is a language that forces people into a specific way of programming, Zig is not
@theevilcottonball
@theevilcottonball 5 ай бұрын
@@johanavril1691 No, I think Zig did the right thing when it comes to unsigned integer overflow, usually you don't want wrap-around behaviour either, with undefined behaviour you get the choice to crash, saturate, wrap-around, optimize as if it does not occur, etc. You can state intent and hopefully your zig implementation let's you choose (the current variant has options for all three) The thing is, I like Zig, but I also like making fun of Zig.
@DAV30371
@DAV30371 6 ай бұрын
C3 maybe the future
@TimWar
@TimWar 6 ай бұрын
C99
@AeroSW
@AeroSW 6 ай бұрын
@Tsoding Daily, I'm curious to hear your highlights on C3 and how it differs from other languages currently in development/use?
@diegorocha2186
@diegorocha2186 6 ай бұрын
His highlight will be basically something like: "Well my highlight is that C3 is a programming language that you can use to write software!!"
@louis1001
@louis1001 5 ай бұрын
Have you tried using a different javascript runtime? Bun and Deno support typescript by default.
@Redbladewarrior
@Redbladewarrior 6 ай бұрын
What is that editor and what is that theme, pls tell me I've been trying to find it for many days
@plumcakey
@plumcakey 6 ай бұрын
That's Emacs, no idea about the theme tho
@0xshahid-13
@0xshahid-13 6 ай бұрын
Gruber-Darker theme
@0xshahid-13
@0xshahid-13 6 ай бұрын
​@@plumcakeyGruber-Darker
@GaryChike
@GaryChike 5 ай бұрын
If we're speaking of self-touted C replacements, I much prefer C3 and Odin to Zig.
@Spartan322
@Spartan322 5 ай бұрын
Same, its very C-like in syntax without all the annoyances of C and its preprocessor, it feels familiar while accomplishing the same things as those other languages. Also I love prefixed type declarations, I despise the modern language solution of forcibly declaring typed objects either implicitly or by forcing the type on the right side, (which I say is less important and trashes code review, I don't want to use an IDE just for code review jerks) usually with a left hand declaration syntax. The fn keyword solves the most vexing parse problem and keeps type info context independent.
@FDominicus
@FDominicus 6 ай бұрын
Would you mind to use Pharo Smalltalk on day?
@diehenne
@diehenne 5 ай бұрын
Happy that vibes got restored 🎉
@sxda-vadas4903
@sxda-vadas4903 2 ай бұрын
are they gonna add couple of "s"'s to the lang's name?
@mateusvmv
@mateusvmv 5 ай бұрын
@23:20 Want to split your compilation in your makefile? Just create a new target and split your files Want to split your compilation in Rust's Cargo? Create a new folder and Cargo.toml for each different target, configure them all over again, beware of cross dependencies. Also, can't make dependencies dynamic or Cargo refuses to compile some crates due to duplicate dependencies
@basic-1337
@basic-1337 6 ай бұрын
Is it code, compile and crash?
@klevisimeri607
@klevisimeri607 6 ай бұрын
I learned a lot by watching your streams!
@paladynee
@paladynee 5 ай бұрын
imagine programming only in assembly when C exists
@cheebadigga4092
@cheebadigga4092 6 ай бұрын
aaaaaaaaaaaaaawesome! btw target in the project json file was called web because you called your project web xD
@eduardabramovich1216
@eduardabramovich1216 26 күн бұрын
They don't get that annoyed by this. You will get much better results "Programming in Odin to annoy Zig fans".
@janikarkkainen3904
@janikarkkainen3904 5 ай бұрын
1:06:00 Actually, it seems you can still use the internal vector structs as it seems to silently and magically convert a vector object to a struct object? Or am I misreading what's happening.... EDIT: Ah, I see, it was tested immediately, and didn't work. :( EDIT2: Man what a ride, saved at 1:15:00 !
@joseoncrack
@joseoncrack Ай бұрын
So in the end, did you prefer C3 or Zig?
@teletubby-g1v
@teletubby-g1v 21 күн бұрын
We all probably end up with Mojo. Why? Because Mojo can directly access MLIR primitives. And MLIR (on top of LLVM) is better than LLVM alone. Zig can still be used as cross compiler and build system (replacing CMake and friends) then, if there's still dependency left on C/C++ libraries.
@blackfrog1534
@blackfrog1534 5 ай бұрын
I can't believe they missed the chance to call it C4
@jaenek
@jaenek 6 ай бұрын
brb adding build.zig to your demo in c3
@GreggHarris-gm7ef
@GreggHarris-gm7ef 5 ай бұрын
When are you gonna try Zig again?
@GreggHarris-gm7ef
@GreggHarris-gm7ef 5 ай бұрын
@@RustIsWinning CDEEZENUTS
@kevinkkirimii
@kevinkkirimii 6 ай бұрын
Tycoon Rollercoaster v5
@SlinkyD
@SlinkyD 6 ай бұрын
Racoon Trollercoaster: Around the Bend Again You're a racoon that trying to get to grass but you're on the Social Media Rollercoaster. Can you troll and bomb your way to Logic Land and keep your spots? Sustain yourself with knowledge & avoid the low hanging fruit. Support the train until you can bail out, into your Field of Dreams. Its one big rollercoaster where the levels are the different social medias we had. Each platform is its own level. New starts when you come back to where the first one started, then the track changes.
@JazzBrown-ym8ku
@JazzBrown-ym8ku 6 ай бұрын
I really didn’t get the issue of vectors and structs being passed - so I guess I’m part of the problem 😢
@0marble8
@0marble8 6 ай бұрын
I think when passing a vector, the compiler for some reason treated it as four arguments (in the case of color) to the function instead of just one argument, and js couldnt find the right function? Basically set_color(r,g,b,a) vs set_color(color)
@JazzBrown-ym8ku
@JazzBrown-ym8ku 6 ай бұрын
@@0marble8 Thanks man, I understand now.
@chri-k
@chri-k 6 ай бұрын
Except instead of being unable to find the right function, JS silently chopped off the excess arguments because JS allows you to call any function with any number of arguments for some reason, even from wasm, so the function read the colour from address 0xFF (supposed to be a pointer, but instead is the red value), which happens to be all zeroes.
@JazzBrown-ym8ku
@JazzBrown-ym8ku 5 ай бұрын
@@chri-k Thank you brother, sorry for being belated.
@EliteTester
@EliteTester 5 ай бұрын
I started reading up on the language then saw that they removed the const qualifier and replaced it with "contracts" which are given in a special comment above functions. Who thought that was a good idea? If you're gonna remake C why take such shortcuts?
@l00k210
@l00k210 6 ай бұрын
27:39 that is why it is better to use NVM ;) not node packages distributed via system repos
@samtv19981
@samtv19981 6 ай бұрын
Just rewrite Zig and C3 in Rust. That is the ultimate goal.
@christianbouwense4702
@christianbouwense4702 6 ай бұрын
It always makes me sad when the audience doesn't understand something, and instead of explaining you just call people "pathetic".
@diegorocha2186
@diegorocha2186 6 ай бұрын
npm init 10 enters and Y in the end > npm init -y lol Mr Zozin is on fire!!!!
@gwentarinokripperinolkjdsf683
@gwentarinokripperinolkjdsf683 6 ай бұрын
Dude, this is mostly what zig should be, give me proper compile time functions with the same feature set as zig and I am sold
@TheOmfg02
@TheOmfg02 6 ай бұрын
Latest version of Node can compile ts for you. -allow-ts i think the flag is but don’t quote me on the flag. Theo made a video about it recently
@verywide
@verywide 6 ай бұрын
--experimental-strip-types iirc. it doesn't actually compile ts but it strips type annotations from the compiled code entirely so at least typescript will "run"
@taba1950
@taba1950 6 ай бұрын
your npm version must be old or something, npm defaults to user home directory in modern versions. Also you might want to give npx (tsx for typescript) a try. npx ships with npm for for running global commands
@aftalavera
@aftalavera 22 күн бұрын
I like C666! Have you all tried it?
@blackt0wer
@blackt0wer 6 ай бұрын
C3 looks like Rust and C got into bed together and made something different.
@matrixnorm6672
@matrixnorm6672 6 ай бұрын
can't happen because Rust is transgender
@afterschool2594
@afterschool2594 6 ай бұрын
Bro C basically married all of his successor. C++ is C and and SmallTalk. Rust is C++ successor. C3 is Rust with C++.
@Kerojey
@Kerojey 6 ай бұрын
And java was watching from the side
@afterschool2594
@afterschool2594 6 ай бұрын
@@blackt0werGo is C with Java.
@afterschool2594
@afterschool2594 6 ай бұрын
@@blackt0wer zig is C with Go
@kevinnguyen163
@kevinnguyen163 6 ай бұрын
Great opening as always!
@alst4817
@alst4817 3 ай бұрын
I asked ChatGPT to analyse the top 30 programming language names, and make a suggestion for a new language: Fynx.
@ukrmapper
@ukrmapper 3 ай бұрын
23:35 👹
@lhpaoletti
@lhpaoletti 5 ай бұрын
It's not "to un-blue-ball" but "to have an orgWASM" 😏
@TheMathues123
@TheMathues123 5 ай бұрын
Citroen C3 creative technology
@John-yg1cq
@John-yg1cq 6 ай бұрын
Upgrade from C++03 to C3.
@glossedghost
@glossedghost 5 ай бұрын
Based. I wouldn't give root to JavaScript either.
@antropod
@antropod 6 ай бұрын
Can your X do that? I dont think so!
@andreffrosa
@andreffrosa 6 ай бұрын
Zig feels like another religion language like rust.
@ekshalibur
@ekshalibur 6 ай бұрын
cuz it spreads using the same methods as rust - mostly influencer hype, which i guess also leads to very similar results
@FlanPoirot
@FlanPoirot 6 ай бұрын
name me one language that's not a religion? I can't think of any I can think of zealots/absolutists for every language I've thought of lol
@oiseauidiot
@oiseauidiot 6 ай бұрын
​@@FlanPoirot are there any scratch fanatic ?
@SlinkyD
@SlinkyD 6 ай бұрын
Some college professors and ​the few "off" people that do "Making a `THIS` in Scratch" videos @@oiseauidiot
@FlanPoirot
@FlanPoirot 6 ай бұрын
@@oiseauidiot well that's not a "serious" language lol but I bet there's some scratch crazies out there
@mil_klover375
@mil_klover375 6 ай бұрын
I fw zig, im a zigger tbh
@GreggHarris-gm7ef
@GreggHarris-gm7ef 5 ай бұрын
ma zigga
@AloisMahdal
@AloisMahdal 5 ай бұрын
This video is sooo annoying, especially the part where you program in C3 and not Zig.
@Frasse-g4f
@Frasse-g4f 5 ай бұрын
Instant like /Zig sponsor
@rodelias9378
@rodelias9378 5 ай бұрын
I am going to submit a PR with a build.zig asap
@im-anomalies
@im-anomalies 6 ай бұрын
c69 when ?
@mbarrio
@mbarrio 6 ай бұрын
nice build system
@rinav5684
@rinav5684 6 ай бұрын
Lmao, none understands that it is actually c3 standard vectors
@anon-fz2bo
@anon-fz2bo 6 ай бұрын
ahh man programming is great ...
@dmitrykhamkalov1510
@dmitrykhamkalov1510 6 ай бұрын
It was just great!!!
@Zzennobi
@Zzennobi 6 ай бұрын
Thank God we dont have to code in cyrilic.
@BartoszGorol
@BartoszGorol 6 ай бұрын
i love your videos but i also love zig, i dont know what to do, ahhhhh
@TavishMcEwen
@TavishMcEwen 5 ай бұрын
Enjoy both and have your own opinions like I am :)
@techviking2
@techviking2 6 ай бұрын
C3PO
@ErikBongers
@ErikBongers 6 ай бұрын
You hate magic in programming? Try android compose. Or, I guess, any macro or annotation system.
@kanji_nakamoto
@kanji_nakamoto 6 ай бұрын
This video will not age well.
@health_doc
@health_doc 3 күн бұрын
C# > c3
@EdwardBeech
@EdwardBeech 6 ай бұрын
"I don't like build systems" reslly gels with me- why would I learn some opaque esoteric magic when I can slap together what I need with a bit of bash!
@jc-aguilar
@jc-aguilar 5 ай бұрын
Cough - windows - cough
@АлексейАлексеевич-ш7ю
@АлексейАлексеевич-ш7ю 6 ай бұрын
Hi there, bro!
@oglothenerd
@oglothenerd 5 ай бұрын
C69 hehehehe...
@JakeSilva-67
@JakeSilva-67 5 ай бұрын
1:16:53
@gratefulbear
@gratefulbear 5 ай бұрын
heheh C3 its missing a fox tail C3
@mauro--1521
@mauro--1521 5 ай бұрын
How old are you?
@ThomazMartinez
@ThomazMartinez 6 ай бұрын
my only gripe with c3 is {} adding extra line so meh
@poiu5302
@poiu5302 6 ай бұрын
what?
@twenty-fifth420
@twenty-fifth420 6 ай бұрын
What? That makes no sense. It is like other C-likes…
@theevilcottonball
@theevilcottonball 6 ай бұрын
Python programmer deteected.....
@Halfbit_0
@Halfbit_0 6 ай бұрын
@@twenty-fifth420 well, there's Nim
@ThomazMartinez
@ThomazMartinez 6 ай бұрын
@@theevilcottonball js, odin, zig
@TavishMcEwen
@TavishMcEwen 6 ай бұрын
i am annoyed :p
@TavishMcEwen
@TavishMcEwen 5 ай бұрын
@@RustIsWinning I was just feeding into the joke. Fanatisism isn't productive, get over yourself.
@zcizzorhandz5567
@zcizzorhandz5567 5 ай бұрын
I don't think Zig fans care. C3 is not going to take off, it makes no difference how many people try to use it. I think more people should use it to find out the hard way.
@zcizzorhandz5567
@zcizzorhandz5567 5 ай бұрын
@@RustIsWinning No I genuinely think everyone should try it. If it's better than Zig I'll switch. The dude is just trolling.
@Kapendev
@Kapendev 6 ай бұрын
Zig is for Zoomers.
@fedang
@fedang 5 ай бұрын
W language
@TakinProfit
@TakinProfit 3 ай бұрын
Wtf, fn int add(), that’s some ugly syntax!
I contributed to C3 Compiler and So Can You
4:15:02
Tsoding Daily
Рет қаралды 79 М.
Programming w/o Language
1:47:00
Tsoding Daily
Рет қаралды 64 М.
КОНЦЕРТЫ:  2 сезон | 1 выпуск | Камызяки
46:36
ТНТ Смотри еще!
Рет қаралды 3,7 МЛН
24 Часа в БОУЛИНГЕ !
27:03
A4
Рет қаралды 7 МЛН
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
Trying Jai Language for the First Time
2:09:22
Tsoding Daily
Рет қаралды 104 М.
Andrew Kelley   Practical Data Oriented Design (DoD)
46:40
ChimiChanga
Рет қаралды 164 М.
A simple socket example in Ziglang. No Talking Asmr Coding.
5:42
xfxpositions
Рет қаралды 4,6 М.
Async vs Multithreading
2:23:41
Tsoding Daily
Рет қаралды 39 М.
I switched from ASSEMBLY to C and it made my code better...
2:05:51
Tsoding Daily
Рет қаралды 15 М.
It's Really Just That Bad
57:49
ThePrimeTime
Рет қаралды 276 М.
When Optimisations Work, But for the Wrong Reasons
22:19
SimonDev
Рет қаралды 1,2 МЛН
Creating a window - Software from Scratch
1:04:12
Muukid
Рет қаралды 186 М.
One second to compute the largest Fibonacci number I can
25:55
Sheafification of G
Рет қаралды 465 М.
Get Good at Zig with these resources for learning the language
14:24
Code With Cypert
Рет қаралды 3,7 М.
КОНЦЕРТЫ:  2 сезон | 1 выпуск | Камызяки
46:36
ТНТ Смотри еще!
Рет қаралды 3,7 МЛН