They Made a Sequel to C

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 421

  • @pgpg6
    @pgpg6 3 місяці тому +649

    "This is what happens when C programmers start making websites" 😂

    • @saeedhaidar1375
      @saeedhaidar1375 3 місяці тому +12

      Man I laughed so loud🤣🤣🤣

    • @kausdeka
      @kausdeka 3 місяці тому +1

      Pokémon evolution!!

    • @V0ngard3n
      @V0ngard3n 3 місяці тому

      @@saeedhaidar1375I have got literally kicked out of a team call for laughing my soul out for this 😂

    • @ashley_noveyplush
      @ashley_noveyplush 2 місяці тому +3

      reading this comment at the same time tsoding says it hits different

  • @mateusvmv
    @mateusvmv 3 місяці тому +249

    Everyone talking about C killers, meanwhile I'm looking for the C healer

    • @CHURCHISAWESUM
      @CHURCHISAWESUM 3 місяці тому +31

      Everyone ask what is C nobody ever ask how is C :L

    • @Jupiter__001_
      @Jupiter__001_ 3 місяці тому +22

      HolyC

    • @mateusvmv
      @mateusvmv 3 місяці тому +1

      @TempCrap-nn4cm tell me about it!

    • @gwentarinokripperinolkjdsf683
      @gwentarinokripperinolkjdsf683 3 місяці тому +3

      I am starting to learn how to use clang tooling and I have some ideas about extending the C language. In particular I want comp time functions

    • @Shonicheck
      @Shonicheck 2 місяці тому

      ​@@gwentarinokripperinolkjdsf683 Do you want compile time functions like in zig? If yes then zig is your answer!) You can also perfome computations using good'ol macro-magick(though heavy use is ill-advised), also most of the simple computations that can be done in compile time are already done in compile time by using optimisations of modern compilers(though yes, this behaviour is NOT a guarantee). If you are talking about meta-programming then *light* macros are all you need. Anything more than that - you might as well use just c++ at this point(you can treat c++ as a feature dump of c extensions), since it has compile-time functions and a metric ton of other features like that.

  • @j-wenning
    @j-wenning 3 місяці тому +254

    The FAQ now has a "How do I use WASM?" section now.

  • @wassimulator
    @wassimulator 3 місяці тому +31

    I actually talked with the creator of C3 a little some time back. It was throughly a good experience both from a programming language and a personal standpoint.

  • @GesteromTV
    @GesteromTV 3 місяці тому +127

    14:11 face asking : " do i developed it in my dreams or something?"

  • @XeZrunner
    @XeZrunner 3 місяці тому +160

    14:07 that slow look at the camera is hilarious LOL

  • @marcsfeh
    @marcsfeh 3 місяці тому +156

    the "unecessary" fn keyword actually allows to disambiguate a bunch of problems that the C declaration syntax suffers from, especially when declaring function pointers

    • @iverbrnstad791
      @iverbrnstad791 3 місяці тому +49

      Helps make the code greppable too

    • @twenty-fifth420
      @twenty-fifth420 3 місяці тому +16

      @@iverbrnstad791 Yeah, that was the big pet peeve and we haven't started the video!
      I feel like zozin has forgotten what it is like writing idiomatic C. It is not like your higher level languages where you just get a 'print'. Like java (shots fired), you do this 'void main' bullshit. Like, what does 'VOID' mean? (I know what it means now dont correct me below), what does MAIN mean (oh we need a main function, I dont know why but whatever.)
      I prefer an explicit function keyword. That is C/C++ problem. I hate it has no function, fn, fun or func keyword.
      Also, i am optimistic about C3. I think it is a less feature promisey V, but I look forward to seeing both develop as a 'just a thin layer' above C.

    • @artemiasalina1860
      @artemiasalina1860 3 місяці тому +1

      @@iverbrnstad791 So do comments, no? /* fn */

    • @tilmanrotationalinvariant2257
      @tilmanrotationalinvariant2257 3 місяці тому +24

      @@artemiasalina1860 no

    • @lolilollolilol7773
      @lolilollolilol7773 2 місяці тому +2

      C3 looks a bit like zig, just with less features.

  • @notdeus3834
    @notdeus3834 3 місяці тому +83

    One day, I'll be able to fully comprehend the things you say

    • @zxcv88111747
      @zxcv88111747 3 місяці тому

      This is how charming he is.

  • @idkncc
    @idkncc 3 місяці тому +202

    My brain is too soyed to understand after previous web development streams

  • @psteven5
    @psteven5 3 місяці тому +74

    Why are you still using C3 ?
    C23 is already out smh

    • @solidnywonsz
      @solidnywonsz 2 місяці тому +13

      Who cares about C23? We already have C99

    • @psteven5
      @psteven5 2 місяці тому +2

      @@solidnywonsz i saw someone say that on the C3 video after this one and i realized i could have made the joke way funnier

  • @donthireme
    @donthireme Місяць тому +13

    c# but someone forgot to press shift

  • @kittenlord3572
    @kittenlord3572 3 місяці тому +22

    44:10 I think it's actually a good idea, cuz defer also accounts for breaks/continues in the while loop, in case you want to use them

  • @harleyspeedthrust4013
    @harleyspeedthrust4013 3 місяці тому +44

    a.f(b) is different from f(a, b) in which namespace f is a member of. I don't care much for method chaining, but it is useful to have built-in syntax that groups all methods for a type into their own namespace.

    • @davidbriggs8109
      @davidbriggs8109 3 місяці тому +3

      They are actually the same thing, in my own POV sha

    • @ElPikacupacabra
      @ElPikacupacabra 3 місяці тому

      You can do f_a(a, b) if you insist. Manual namespacing. But the fact that a function takes a is sufficient to classify and search for such functions.

  • @Simon-xi8tb
    @Simon-xi8tb 3 місяці тому +170

    Why didnt they name it C+++

    • @killpidone
      @killpidone 3 місяці тому

      Why not C^2

    • @edvink8766
      @edvink8766 3 місяці тому +60

      too close to C# (C++++)

    • @Tom-bt8eg
      @Tom-bt8eg 3 місяці тому +34

      because it would cause segfaults

    • @aciddev_
      @aciddev_ 3 місяці тому +32

      ++c

    • @Naniirowadesuka
      @Naniirowadesuka 3 місяці тому +1

      they are not intel

  • @kebien6020
    @kebien6020 3 місяці тому +18

    Making the comments into UA-cam subtitles is interesting. Never thought about that option

  • @misikovich
    @misikovich Місяць тому +3

    Yo using SUBTITLES as CHAT LOG?? THAT'S GENIUS. Wow, im really impressed I've never seen so clever use of subtitles.

  • @vovakolodiy2270
    @vovakolodiy2270 3 місяці тому +65

    We already have c with four +
    It names C#

    • @hpntic
      @hpntic 3 місяці тому

      C sharp sucks

    • @lobotomy-victim
      @lobotomy-victim 3 місяці тому +2

      C hashtag is awful

    • @satibel
      @satibel 2 місяці тому +3

      @@hpntic c# is c++ flavored java, but with pointers and near-c speed, it's good for rapid iteration where you don't wanna care about lifetimes nor memory size and just want to do something, but p5.js and python are too slow.
      currently I mostly do tool dev, so c# is my go-to

  • @SimGunther
    @SimGunther 3 місяці тому +50

    There is actually a C4 PL, but that language is a little too explosive for my taste

    • @bossgd100
      @bossgd100 3 місяці тому +5

      There is actually a C16/17/18 PL, but that language is only for android

    • @theevilcottonball
      @theevilcottonball 3 місяці тому +1

      I have a C17 compliant compiler, but not on android.

    • @GreggHarris-gm7ef
      @GreggHarris-gm7ef 3 місяці тому +6

      Arab programmers: "I'm in love"

  • @v8metal
    @v8metal 3 місяці тому +4

    I swear I couldn't stop laughing throughout the entire video. Thank you, you made my year.

  • @Kitulous
    @Kitulous 3 місяці тому +6

    i didn't expect the emacs mode of this language to be inspired from tsoding's thing hahaha

  • @gamefun2525
    @gamefun2525 3 місяці тому +8

    We got a sequel to C before GTA 6

  • @smnm
    @smnm 3 місяці тому +18

    Press 6 for beatbox mantra

  • @dragonkid5204
    @dragonkid5204 3 місяці тому +21

    have you looked at Odin-lang? I've gotten really into it as of late, it has defer and builtin vector type arithmetic as well. I'd be curious to see what you would think of it.

    • @RukopisyNarnie
      @RukopisyNarnie 3 місяці тому

      He played with it on stream. You will probably find recording of that stream on chanel.

    • @dragonkid5204
      @dragonkid5204 3 місяці тому +1

      @@RukopisyNarnie I couldn't find it, do you know what it is called? or around when it was?

    • @RukopisyNarnie
      @RukopisyNarnie 3 місяці тому

      @@dragonkid5204 I have no idea, but I remeber him trying it.

    • @RukopisyNarnie
      @RukopisyNarnie 3 місяці тому +1

      @@dragonkid5204 Maybe I mixed it upnwith something. Sorry.

    • @mishaerementchouk
      @mishaerementchouk 3 місяці тому +3

      @@RukopisyNarnieis it possible that you were thinking about zig? There was indeed a zig stream but I don’t recall an Odin stream.

  • @Lorenzo1938
    @Lorenzo1938 3 місяці тому +9

    I think zozin could love Odin language (and i'm not payed to say that). After years of C/C++, Rust and some other Scheisse, it is very refreshing to use it

  • @GegoXaren
    @GegoXaren 3 місяці тому +3

    The only language that is syntaticlly consise that I've every seen is the dead language OOC.
    That was the most beautiful thing I've ever seen.

    • @christofferlerno2633
      @christofferlerno2633 3 місяці тому

      OOC. That brings back memories, last time I read about that one was ages ago.

  • @TheAlexgoodlife
    @TheAlexgoodlife 3 місяці тому +12

    People like methods mostly because it makes the code read almost like english. " a = b.copy(c)" is in the same order as subject, verb, object. It also keeps the current translation unit's namespace a bit cleaner I guess.

    • @RukopisyNarnie
      @RukopisyNarnie 3 місяці тому +2

      raw c is more like English. a = fsin(b). A is float sinus of b.

    • @TheAlexgoodlife
      @TheAlexgoodlife 3 місяці тому +1

      @@RukopisyNarnie consider a void function call to a function that modifies or requires self. It would read as "Operation(self, arg)", this could be "compare(a,b)", with a method it would be "a.compare(b)". Its really just to make it easier to read and parse, I argue that not having to explicitly pass self into the function makes it a worthwhile addition in its own right

    • @RukopisyNarnie
      @RukopisyNarnie 3 місяці тому

      @@TheAlexgoodlife It doesn't seem more readable to me. I guess it makes it easier to chain it for functions that return its "hosting type".

    • @samuraijosh1595
      @samuraijosh1595 3 місяці тому

      this is also kinda the same grammar convention in declarative functional programming right?

    • @RukopisyNarnie
      @RukopisyNarnie 3 місяці тому

      @@samuraijosh1595 I am not sure if I understand what you say

  • @avasam06
    @avasam06 2 місяці тому +1

    Adding chat in CC is novel. Probably breaks UA-cam's Machine Learning too. double awesome.

  • @vovagusse
    @vovagusse 3 місяці тому +1

    Can't wait for part 4. That one's gonna blow everyone's minds.

  • @Mekelaina
    @Mekelaina 3 місяці тому +9

    I checked C3s change logs and apparently "printn" was once "println" and they willingly changed it for some ungodly reason.
    Revision 2023-03-18 apparently

    • @ardnys35
      @ardnys35 3 місяці тому +4

      it would be too good perhaps that's why. they had to get us

    • @0LoneTech
      @0LoneTech 3 місяці тому +3

      I guess they thought it was more C-ish to use n as in
      than ln as in natural logarithm. You know, just like in puts. Wait...

    • @christofferlerno2633
      @christofferlerno2633 3 місяці тому +2

      I hated how long and garbled printfln looked, and then I learned a bit of F# (F# uses printfn) and `printfn` quickly grew on me. A huge advantage is that it's much easier to read (fln is not good for readability).

    • @0LoneTech
      @0LoneTech 3 місяці тому

      @@christofferlerno2633 But as discussed all over these comments, fn now stands for function, even if the subprograms aren't functions at all. To please the parser, apparently.

    • @0LoneTech
      @0LoneTech 3 місяці тому

      @@christofferlerno2633 Thanks for the writeup. To me it still seems like overcomplication and NIH, though. I read about to see what the macro capability did, and it doesn't seem capable of the sort of thing I see C's preprocessor used for often, like generating multiple distinct definitions and arrays from reparsing one included file with different macros depending on pass. I also didn't see how to preserve accesses like we often do with volatile.

  • @nimaaskarian
    @nimaaskarian 3 місяці тому +4

    I've wrote a todo app and I've called it c3 because of it expanding calcurses todos to have a tree-like structure.
    I think I have to start a lawsuit against them.

  • @vicenteeduardo5598
    @vicenteeduardo5598 3 місяці тому +2

    I loved this language, i bought me after the vector stuff

  • @SteveRowe
    @SteveRowe 3 місяці тому +19

    I like that you wrote your own C3 mode before you knew C3 existed. 420 IQ move!

  • @memetech-
    @memetech- 2 місяці тому +3

    I feel like the subtitles are not doing their job here... They're nice, if not for the fact that now I don't get the *real* subtitles

    • @angelcaru
      @angelcaru 2 місяці тому +2

      You can still enable the auto-generated subtitles

  • @jose6183
    @jose6183 3 місяці тому +3

    "What is this JAVA!?"...Yeah I totally agree 😂

  • @raykirushiroyshi2752
    @raykirushiroyshi2752 3 місяці тому +4

    Das crazy,can't wait for c4

  • @leshommesdupilly
    @leshommesdupilly 3 місяці тому +1

    Man, I'm still waiting for the day they will add classes to C :D

  • @androth1502
    @androth1502 3 місяці тому +2

    windows stuff might be there for cross-compilation.

  • @ilyasssaadi9594
    @ilyasssaadi9594 2 місяці тому

    1:11:29 the language redeemed itself and he is expressing how much he loves it

  • @icesentry
    @icesentry 3 місяці тому +1

    The nice thing about methods is that auto complete is much nicer with them compared to having the entire list of all functions.

  • @NeohSpace
    @NeohSpace 3 місяці тому +1

    "Javascript damaged my brain" I think he speaks for all of us

  • @nuhuhuhuhuhuhuhuh-f6q
    @nuhuhuhuhuhuhuhuh-f6q 3 місяці тому +2

    for changing the color you could use the vector swizzling to move to 0xFF along the color! color = color.brga;

  • @xravenx24fe
    @xravenx24fe 2 місяці тому +1

    800x600 is of the orthodox aspect ratio but the holiest resolution is 640x480.

  • @ErikBongers
    @ErikBongers 3 місяці тому +1

    I'm gonna wait for C4. It's gonna be explosive.

  • @Highwind_
    @Highwind_ 3 місяці тому +8

    First thing I will do is to alias c3c to "cccc", the way it should be.

  • @stephenkamenar
    @stephenkamenar 3 місяці тому

    21:16 it's not "just a syntax" (well it is, but) it's actually important for organizing your code.
    i think it's a huge problem to not let you namespace functions like this.
    without it you just have a million global functions maybe namespaced with Foo_next() but Foo.next semantically lets you know the function is only relevant to the Foo struct/class

  • @nephew_tom
    @nephew_tom 3 місяці тому +2

    14:11 That is c-2-emacs-2-human recursion...

  • @tomaszstanislawski457
    @tomaszstanislawski457 3 місяці тому +7

    There is a plan to add "defer" to C, there are even actively discussed proposals on WG14. However, "defer" introduces quite many complication due to odd corner cases. Moreover, "defer" is virtually unusable without lambdas that have their own problems.

    • @OREYG
      @OREYG 3 місяці тому +2

      More like, whoever proposed a defer was the same person who proposed lambdas, and used the defer as a vehicle to push his lambda proposal. You don't need lambdas for defer to work, and edge cases are mostly related to go-to.

    • @GegoXaren
      @GegoXaren 3 місяці тому

      Auto exists in C, but you have to register a function for each type.
      Look up the GLib macros for g_auto, g_autoptr etc etc.
      It uses __attribute__((cleanup(...))) to do it.

    • @tomaszstanislawski457
      @tomaszstanislawski457 3 місяці тому

      @@GegoXaren This GCC extension, not a standard portable C. Btw. it is possible to use nested functions with statement expression to get a lambda-like function that can be used with `cleanup` attribute. Something like `({ void foo(void*){...} foo; })`

  • @technite5360
    @technite5360 2 місяці тому +1

    Can't wait for C4, it will be the bomb

    • @technite5360
      @technite5360 2 місяці тому

      Why the need to add fn for a function tho...

    • @catsby9051
      @catsby9051 Місяць тому

      @@technite5360truthfully a disgusting design choice that seems to provide 0 benefit

  • @HeyItsDoodler
    @HeyItsDoodler 3 місяці тому +4

    14:41 broke me

  • @SlinkyD
    @SlinkyD 3 місяці тому

    First you find code based from your old code then René shows up. You not only famous, you a legend. 🎓🎩 👑

  • @alifkhan4128
    @alifkhan4128 3 місяці тому +4

    I actually liked the syntax of c3. Linking native libraries is very easy. It has modules, generics, macros and what not. I think I like it more than zig already.

  • @valshaped
    @valshaped 3 місяці тому +11

    "What's the point of `fn` keyword?"
    The fn keyword takes parsing a function definition from O(n^3) to O(n) (if i remember right) by making the grammar fully predictable
    EDIT: I did not remember right, lmao, I remembered very, very wrong

    • @mrglick5050
      @mrglick5050 3 місяці тому

      What does n represent in a function declaration? I thought it's constant time.

    • @valshaped
      @valshaped 3 місяці тому

      ​@@mrglick5050The number of tokens in the function definition [`void`, `main`, `(`, `)`, `{`, `}`]

    • @sigurdhermann781
      @sigurdhermann781 3 місяці тому

      @@mrglick5050tokens?

    • @JustMaiyak
      @JustMaiyak 3 місяці тому +1

      It’s probably the length of the file in # of lines

    • @valshaped
      @valshaped 3 місяці тому +2

      @@mrglick5050 Number of tokens in a function definition; though, I'm probably wrong about that. It's only when you get to nesting functions in other functions that you'd have ambiguity with expression statements. \shrug

  • @yoavmor9002
    @yoavmor9002 3 місяці тому +3

    Hot take: C will die when Intel comes up with a new instruction set architecture. But as long as they keep making them backwards compatible, we're stuck with C.

    • @ChristopherGray00
      @ChristopherGray00 2 місяці тому

      no? GCC/clang are made to have maximum compatibility, they'll just port to a new instruction set... that's one of the fundemental jobs of a compiler.
      also, intel won't change to a new ISA, i'm not sure why you think that would even remotely be a good idea for them

    • @satibel
      @satibel 2 місяці тому

      @@ChristopherGray00 itanium lurking around in the corner like oscar the grouch.

    • @ChristopherGray00
      @ChristopherGray00 2 місяці тому

      @@satibel itanium? you mean that ISA in 2001 that immediately flopped when it came out and that intel had zero reason to proceed with?
      yeah, no one is going to use a proprietary one-company ISA and move their entire infastructure over for it. companies will just move over to AMD for better top-level performance with no changes needed.

  • @androth1502
    @androth1502 3 місяці тому +2

    if you like the built in vectors and swizzling, you might also like odin. it doesn't have methods. heh.

  • @ruroruro
    @ruroruro 3 місяці тому

    1) The ".o" files that were created with --target wasm32 are actually WebAssembly binaries, not ELF object files. So it seems that wasm "just works (tm)".
    2) If you don't like prefixing everything with "raylib::", you can just have the main file and the raylib.c3 use the same module. You don't have to create a new module for each file. Although it is indeed a bit weird that there is no import blah::* or using blah or even import blah as foo.

  • @jc-aguilar
    @jc-aguilar 3 місяці тому +1

    Okay, this language looks very cool. The only things that I don’t like are the contracts stuff and defer. I think the using keyword in C# is better approach than defer, you can really see the scope of the thing that you are “using”

    • @egorsozonov7425
      @egorsozonov7425 3 місяці тому

      No it’s not better, it introduces extra indentation and helps turn your code into The Tower of Doom

    • @donovan6320
      @donovan6320 3 місяці тому

      Or you could define using() declaration as open ended and it effectively has the same scope as the function. That being said, if you are using enough calls to make a tower of Doom of using statements, you're probably doing something wrong.@@egorsozonov7425

  • @darioabbece3948
    @darioabbece3948 3 місяці тому +1

    14:40 the video is now turing complete

  • @rafagd
    @rafagd 3 місяці тому

    14:00 that moment when you just want some pretty colors on your screen and you get doxxed by a random repo maintainer

  • @paulzupan3732
    @paulzupan3732 Місяць тому

    I think the a.f(b) syntax reads more naturally, similarly to the "subject verb object" sentence structure in English, and if there's no runtime overhead compared to f(a, b), I say why not.

  • @RadioactiveBluePlatypus
    @RadioactiveBluePlatypus 3 місяці тому

    Can't wait for C4 programming language that just explodes your computer at compilation

  • @oglothenerd
    @oglothenerd 3 місяці тому +1

    The random beet boxing made this all the better.

  • @axthd
    @axthd 3 місяці тому +1

    The language looks very promising.

  • @stzi7691
    @stzi7691 3 місяці тому

    Regarding the $foreach: When it is executed at compile time the compiler loops and generates all the io::printfn() - lines.. and then there is no loop any more in the resulting code. In order to not confuse with scope, because it isn't, they did chosse the $endforeach, maybe. To annotate that you do not have a scope you could also used special curlys like ${ and $} to annotate that this are only lingual curlys but they will not exist anymore, when the compiler slided over it.

  • @musicdev
    @musicdev 3 місяці тому

    I’m not sure if this version will take off, but when they fix all the problems and release it as C4, I’m sure it’ll blow up

  • @rithvik_
    @rithvik_ 3 місяці тому +51

    the semantics look more like rust than C

    • @bossgd100
      @bossgd100 3 місяці тому +79

      crust

    • @Anubis10110
      @Anubis10110 3 місяці тому

      lol 😅

    • @Mohamed_Ahmed-222
      @Mohamed_Ahmed-222 3 місяці тому

      crust

    • @paulkanja
      @paulkanja 3 місяці тому +1

      ​@@bossgd100 okay no cap this is a good name for a language that melds the two

    • @a.lollipop
      @a.lollipop 3 місяці тому

      ​@@paulkanjaI NEED THAT

  • @RPG_Guy-fx8ns
    @RPG_Guy-fx8ns 3 місяці тому +1

    I want a prequel to C. something closer to ASM, but with more verbose operations.

  • @porky1118
    @porky1118 3 місяці тому

    26:50 If you want compiletime access of the complete language, rather use Lisp or Scopes.

  • @jwill5954
    @jwill5954 3 місяці тому +2

    c3 before gta 6 is crazy

  • @pedrokalil4410
    @pedrokalil4410 3 місяці тому

    the end for each may be because otherwise it could be confused with generate a block. needed because for loops accept statements, most commonly the block statement

  • @RealPeoplePerson
    @RealPeoplePerson 3 місяці тому

    If you don't want to write a module's prefix when calling something from it, you can probably make a macro that iterates over every member of the module and creates an alias.

  • @ZoomRmc
    @ZoomRmc 3 місяці тому +1

    С3 is nice enough, but C4 is gonna be the bomb!

  • @naranyala_dev
    @naranyala_dev 3 місяці тому +1

    [PARENTAL ADVISORY] 18++

  • @ratherbyexploring4898
    @ratherbyexploring4898 3 місяці тому +5

    Feeling when that guy Alexy gives you a github star 😻

  • @cmon2564
    @cmon2564 3 місяці тому +1

    This C3 thing looks a lot like hare (or hare looks like C3, idk which was there first). Still nice to have different alternatives :)

  • @deadmarshal
    @deadmarshal 3 місяці тому +3

    Checkout Modula-3, it's an awesome language.

    • @stefanalecu9532
      @stefanalecu9532 Місяць тому +2

      @@deadmarshal and Oberon, for that matter :)

  • @remondrk
    @remondrk 3 місяці тому

    Man I should catch up to all the recent videos

  • @axle.student
    @axle.student 3 місяці тому

    Sorry, I am a 'C' nutter lol Couldn't watch it all but give you a thumbs up for initial reactions :)
    So, this is like C+++ or C#b (minor). So now when I search for 'C' libraries I will get I will get another layer to the dozens of Cxyz variants to sort though until I find something in 'C'.

  • @rodelias9378
    @rodelias9378 3 місяці тому

    I watched the entire video. Now I can say that I have 10 years experience in C3.

  • @nikkehtine
    @nikkehtine 3 місяці тому

    1:07:55 real world example of an undefined behavior happening on an innocent C programmer

  • @BingoDan936
    @BingoDan936 3 місяці тому

    Have you reviewed Forth?
    Do you think it can replace C?
    The only high level language older is Fortran.
    First language to use a database and 2D CAD.
    It is low level, like C, though not as fast.
    Incremental compilation.
    Rapid development, 50x faster than C.
    Extend and design the language as you need.
    Is used in the real world, mostly microcontrollers.
    Is used by NASA, by Riad Airport Saudi Arabia security management system, large construction management software.
    Large active user community, FIG.

  • @jawad9757
    @jawad9757 3 місяці тому

    a """C replacement""" without sum types and some level of pattern matching on them in this day and age is just a meme

  • @RostislavArts
    @RostislavArts 3 місяці тому +6

    But wait... Sequel to C is actually D

    • @27onionnebell40
      @27onionnebell40 3 місяці тому +1

      but there's already a programming language called D. and it requires a runtime (including GC! 🤔), or you are limited to a subset of functionality (called BetterC).

  • @pvc988
    @pvc988 3 місяці тому

    I've just convinced it to build bare metal programs :)

  • @megamaster7667
    @megamaster7667 3 місяці тому

    They should name it „C 3 Pluses ok!?“ maybe make a nice slang acronym like C# is called C sharp. Idk… maybe C3PO or something like that

  • @cheebadigga4092
    @cheebadigga4092 3 місяці тому

    looooooooool that simpc-mode coincidence was awesome!!

  • @DriftJunkie
    @DriftJunkie 3 місяці тому

    Now we know what language was C3PO programmed with

  • @BeenYT
    @BeenYT 3 місяці тому

    libc doesnt have a fraction type its just a struct containing quotient and remainder from an integral division

  • @user-pd8ko4yl6v
    @user-pd8ko4yl6v 3 місяці тому +2

    C3 is the best!

  • @KikkerFish
    @KikkerFish 3 місяці тому

    C3 looks really cool! Thx for trying it out!

  • @GilbertLaurel
    @GilbertLaurel 3 місяці тому

    Nice! starting to like C3

  • @byharix2542
    @byharix2542 3 місяці тому

    Oh man, can't wait for C4

  • @ABaumstumpf
    @ABaumstumpf 2 місяці тому

    a keyword in general is a good idea... but it should be a keyword: it is in the name - a WORD, not 2 arbitrary letters. We are not in 1973 where storage is rare and typing is limited by the computer.
    This is one of the worst atrocities that is still plaguing programming languages: They either use cryptic symbols, terrible abbreviations, or you are in library.section.namespace.class.subclass.function.variand-land . Just make it "function" or "func" or something readable.
    And brightmode - it is superior in most aspects. Only for programming i tend to switch to DarkMode cause way too often the tools have TERRIBLE font-support and with bad styling and bad fonts dark-mode has better colour clarity. But bright is just better for readability and better for the eyes.

  • @tomaszstanislawski457
    @tomaszstanislawski457 3 місяці тому

    GCC/CLANG provides vector extension.

  • @nefrace
    @nefrace 3 місяці тому

    We need a full version of Kawaii Frikkin Desu

  • @anon3118
    @anon3118 3 місяці тому +1

    Bro probably fixed three bugs in their code by the end of the video. 😅

  • @markblacket8900
    @markblacket8900 3 місяці тому +1

    looks like zig with less crappy syntax

  • @gagagero
    @gagagero 3 місяці тому +12

    I actually talked with the creator of C3 a little some time back. It was not a good experience, both from a programming language and a personal standpoint.

    • @JazzBrown-ym8ku
      @JazzBrown-ym8ku 3 місяці тому +1

      Hey, man is the guy weird or something ie McAfee. If it’s not a bother for you, would be interesting to know brief details for all around since creating a language good or bad seems a remarkable feat (but not necessarily wise) so very unique all in all.

    • @kcvinu
      @kcvinu 3 місяці тому +4

      I am a member of his discord channel and it's been more than one year. In my experience, I felt he is such a nice guy.

    • @gagagero
      @gagagero 3 місяці тому

      @@JazzBrown-ym8ku It's nothing serious, he's just an asshole if you question his design.

    • @gagagero
      @gagagero 3 місяці тому +1

      @@JazzBrown-ym8ku No, he just has a large ego (apparently you can't say the a word).

    • @JazzBrown-ym8ku
      @JazzBrown-ym8ku 3 місяці тому

      @@gagagero Oh okay thanks for replying seems somewhat par the course for large tasks like this.

  • @Tawre007
    @Tawre007 3 місяці тому +1

    Let's be honest... PHP is what you get when C developer doing webdev job. In case programming lore didn't lie 🤣

  • @Fiercesoulking
    @Fiercesoulking 3 місяці тому

    I think the basic idea is cool there is a lot of complains that C and C++ are too old we have way much nicer features in languages today like namespace, we don't use h and c/cpp files together, the c++ constructors can be very ugly when you need to copy a object for initialization while modern languages expose them to the object with just trunk of a constructor also no package management, a lot of the newer c++ features are very verbose like std names a very long or exposing templates to the user this also applies to c to some extend.
    The inheritance in c++ is also outdated we use interfaces instead of multi inheritance and C# made it so you need to allow the overwrite down streams in general its going in the direction to have much finer control what you allow to be inherit maybe down to the attribute level. . I also like how c# make getter and setter go away.

  • @secretgogeta
    @secretgogeta 3 місяці тому

    Programming in C4 is like exploding a bomb