Raylib 3.0 Released -- The Best Way to Learn C or C++ Game Development*

Поділитися
Вставка
  • Опубліковано 29 січ 2025

КОМЕНТАРІ • 216

  • @gamefromscratch
    @gamefromscratch  4 роки тому +18

    Link:
    www.gamefromscratch.com/post/2020/04/01/Raylib-30-Released.aspx

    • @SkyFly19853
      @SkyFly19853 4 роки тому

      So, we can also make PS1 game too because of C language provided by this app?

    • @SkyFly19853
      @SkyFly19853 4 роки тому

      I am sorry to ask you again, but we can also use this app with Cython too?

    • @raylibtech
      @raylibtech 4 роки тому +6

      @@SkyFly19853 Sorry, not possible. Every platform requires specific platform/os libraries and PS1 is not on the list... but, by coincidence, yesterday a homebrew library for PS4 development using raylib was released: github.com/orbisdev/orbisGl2

  • @raylibtech
    @raylibtech 4 роки тому +238

    Hey! Thank you very much for this amazing raylib 3.0 review! You are the best! :D

    • @HE360
      @HE360 4 роки тому +9

      Raylib, I made some video tutorials about the Raylib Framework. I am very grateful for what you've made.

    • @masterneme
      @masterneme 4 роки тому

      Hey Ray, how is the performance on a RasPi 3? I've been following some engines and frameworks because I want to make native games for Raspberry/Orange Pi. Raylib is one of those. Would I be able to make something like Mario 64 or anything comparable to a N64 game but with higher resolution? What are your plans for raynet?

    • @raylibtech
      @raylibtech 4 роки тому +6

      @@masterneme I think performance is pretty good on the RPI3, I believe you can do something similar to N64 games... actually I believe you can even do it for RPI0. About raylib network module, still under development, I'm not an expert on network programming...

    • @masterneme
      @masterneme 4 роки тому +2

      @@raylibtech That's awesome, thanks!
      And for networking, I recommend you check out ENet, is a very cool library. I've played a lot of FPS, back in the day I liked to try any free Quake 3 clone I found. There's one called Cube 2: Sauerbraten using ENet and the performance is very good.
      Godot and Löve2D use ENet too so, that's something.

    • @arturkarlov3000
      @arturkarlov3000 4 роки тому +1

      Hey, I just became your subscriber #300. Post some videos to your channel, let's see some tutorials!

  • @Kim-e4g4w
    @Kim-e4g4w 4 роки тому +87

    If I only had this 20 years ago. Oh how things have changed.

    • @gamefromscratch
      @gamefromscratch  4 роки тому +22

      20 years ago we had BGI ;)

    • @raylibtech
      @raylibtech 4 роки тому +87

      Surprisingly, this library was completely feasible 20 years ago (it also supports OpenGL 1.1 from 1992 if required) but I neither had it back at the day and so, I created it.

    • @JamesCubes-ne2iq
      @JamesCubes-ne2iq 4 роки тому +4

      When you weren’t born twenty years ago

    • @AleksandarPopovic
      @AleksandarPopovic 4 роки тому

      lol, so true.....

    • @UltimatePerfection
      @UltimatePerfection 4 роки тому +1

      @@raylibtech And it's quite cool. Though it would be nice to have a software rendering fallback so it could be ported to devices without opengl support or hw acceleration for that matter. I mean stuff like 16bit gaming consoles or DOS.
      EDIT: Obviously it would be only for 2d aspect of the library since software rendered 3d never performs well.

  • @asosa9502
    @asosa9502 4 роки тому +26

    To clarify, the raymarching example is only 114 lines because all of the models and rendering are defined in a GLSL fragment shader that is 430 lines long. The raylib code shown in the video only sets up a fullscreen quad and renders the shader to it.

    • @Asdayasman
      @Asdayasman 4 роки тому +6

      Which, along with some social features, was plenty enough functionality for ShaderToy to become the force of nature it is today.

    • @CDBelfer4
      @CDBelfer4 4 роки тому +3

      I'm really glad someone pointed this out, its a bit misleading for viewers who don't know about this

  • @gorudonu
    @gorudonu 4 роки тому +30

    I'm so glad that it's not April 1st's joke

    • @ungrave5231
      @ungrave5231 4 роки тому +1

      Had to go straight to the comments when I saw the date on this

    • @SkullCloud11
      @SkullCloud11 4 роки тому

      *i t s j o k e*

  • @duret-robertlouis2973
    @duret-robertlouis2973 4 роки тому +3

    Oh wow ! That looks amazing. I've been using SFML for a while but this looks very powerful and slightly more low level. Thank you !

  • @rixouney
    @rixouney 4 роки тому +7

    Never knew about this library, it looks great and the cheatsheet is awesome! It reminds me somehow of the Processing library. Thank you for the discovery :)

  • @chesterhackenbush
    @chesterhackenbush 4 роки тому +11

    This library is amazing - it is so much easier than SDL to use. Love it.

  • @skaruts
    @skaruts 4 роки тому +3

    Been using it for two days, it's really straightforward to get things done in this thing. I'm enjoying it a lot.
    I really dislike PascalCase though (more so than camelCase), but I'm using Nim bindings so I can just rename everything in the wrapper to my liking. :)

  • @HE360
    @HE360 4 роки тому +62

    I just made some video tutorials about Raylib C/C++ and I'm making more.

    • @raylibtech
      @raylibtech 4 роки тому +10

      Yeah! I saw them! Very nice! :D

    • @ccricers
      @ccricers 4 роки тому +7

      I like that Raylib is all C code. We need more tutorials on some good app design with C.

    • @oscwavcommentaccount
      @oscwavcommentaccount 4 роки тому +3

      C is one of my favorite programming languages.

    • @HE360
      @HE360 4 роки тому +1

      @@ccricers Agreed

  • @dabunnisher29
    @dabunnisher29 4 роки тому +1

    If there is ever a weathervane for really amazing gaming related stuff, then you sir are IT. Seriously. Much respect from Vegas.

    • @alexnoman1498
      @alexnoman1498 4 роки тому +1

      Weathervane is reserved for someone who just turns with the wind without an agenda, often negatively connotated.
      I know that's not what you meant, so let's collect better terms:
      Lighthouse
      Trailblazer
      Detective
      On the bleeding edge
      Guru
      Curator

    • @dabunnisher29
      @dabunnisher29 4 роки тому

      @@alexnoman1498 Oh you're THAT GUY telling people how they should interpret things. Well at least we know you're THAT GUY.

  • @Ark-mm3qj
    @Ark-mm3qj 4 роки тому +2

    Cool! I used to write a gamedev lib based on SDL2, but it was buggy, I had to put a lot of time into which. Now raylib is what I expect, it's time to say goodbye to my poor SDL code base!

  • @matejzajacik8496
    @matejzajacik8496 4 роки тому +1

    raylib is a fucking blast to work with! Excellent lib! Thank you for bringing this up.

  • @DipanjanPatra
    @DipanjanPatra 4 роки тому +21

    This looks simpler than SDL2. I'll give it a try.

    • @grugiv
      @grugiv 4 роки тому +1

      SDL not simple enough?

    • @skaruts
      @skaruts 4 роки тому +5

      Anything is simpler than SDL. :)

  • @lachee3055
    @lachee3055 4 роки тому +2

    Woo! Raylib! Recently fell in love with it myself and wrote the Raylib Go Plus bindings for more options :D

  • @Flackon
    @Flackon 4 роки тому +10

    Rust bindings! Awesome!

  • @cybershellrev7083
    @cybershellrev7083 4 роки тому +2

    This is awesome. I really would like to learn C++ and Python with this, Thank you!

  • @Bjarkediedrage
    @Bjarkediedrage 4 роки тому +5

    In ray marching, no geometric objects are ever created, it's all expressed in math directly in the shader, so that example doesn't showcase anything other than you can write fragment shaders.

  • @zenchess
    @zenchess 4 роки тому

    This library is very easy to port to other languages, I have been using it in Dolphin Smalltalk and I plan to make a video soon to show how cool it is to use from Dolphin, having features like live-editing code and immediately seeing the changes in the running game.

  • @F00dstamp96
    @F00dstamp96 4 роки тому +12

    Dammit. Started learning LOVE2D because I wasn't sold on raylib but now you got me curious again.
    Anyone else have this issue?

    • @vaishnav_mallya
      @vaishnav_mallya 4 роки тому +1

      I would continue with love2D. I find lua to be more easy graspable than C/C++. Also Love is easy to setup than raylib. I struggled to get raylib working and making new projects need Messing around with config files.
      Anyway I like both of them because both of the communities are awesome, kind and helpful. Check both of their discord servers.
      But for starters, I'd recommend love2D because as a beginner myself I still end up in love2D because it's awesome.

    • @karimjerbi7084
      @karimjerbi7084 4 роки тому +1

      i learned LÖVE first and am glad i did! but raylib is a much more capable platform that has very high potential at the cost of being a bit harder to debug and work in.

    • @alexstone691
      @alexstone691 4 роки тому

      I think they are pretty hard to compare cause lua is pretty simple while c/c++ can be quite painful

    • @F00dstamp96
      @F00dstamp96 4 роки тому

      @@alexstone691 Truth. I'll take that into consideration

    • @F00dstamp96
      @F00dstamp96 4 роки тому

      @@karimjerbi7084 I think i'll just stick with LÖVE like the others are saying. I just don't want to be put in a corner down the road. I'm one to invest time and effort into something if I can see some more value and I always saw Raylib as a good way to learn C++. But I could just be seeing too much value in C++.

  • @jaromor8808
    @jaromor8808 4 роки тому

    this looks amazing :)

  • @again8550
    @again8550 4 роки тому +2

    prepared to make a video on unigine , they are going to have an free version

    • @gamefromscratch
      @gamefromscratch  4 роки тому +1

      Wow that is massively over due but interesting

  • @trapOrdoom
    @trapOrdoom 4 роки тому

    Great video! Informative.
    P.S. Can you please do new BabylonJS tutorials?

  • @gundam7463
    @gundam7463 4 роки тому +1

    I know SDL 2, Allegro 5 and SFML.

  • @stonekase
    @stonekase 4 роки тому +5

    I wish this existed during the xna days 😩. Right now i got hooked on Godot 😩😩😩

    • @raylibtech
      @raylibtech 4 роки тому +8

      raylib is mostly the result of trying to create an XNA version in C. I loved XNA.

    • @Mautar55
      @Mautar55 4 роки тому +2

      It exists now. As the old old Picard said "Do now, make now, create now... Now is your time".

  • @CykPykMyk
    @CykPykMyk 4 роки тому

    seems like a cool way to go back to code :)

  • @ayoubbelatrous8080
    @ayoubbelatrous8080 4 роки тому +39

    i think i will builld an editor for raylib

    • @Imreness
      @Imreness 4 роки тому +11

      I think thats the whole point of Raylib. its for people who just want to code and not use any GUI editors.

    • @thoren_1928
      @thoren_1928 4 роки тому

      ThE ShAdoW nice

    • @ThePreyBrigade
      @ThePreyBrigade 4 роки тому +7

      @@Imreness Unless you're making something super trivial you're gonna want an editor of some sort.

    • @ayoubbelatrous8080
      @ayoubbelatrous8080 4 роки тому +2

      @@ThePreyBrigade i gonna make an editor

    • @jorgegomes83
      @jorgegomes83 4 роки тому

      That would be a cool thing to colaborate with.

  • @ajinkyax
    @ajinkyax 3 роки тому

    do you have Raylib C++ tutorials ?

  • @notsure1969
    @notsure1969 4 роки тому

    Awesome. I'm gonna check this out. Thanks.

  • @Theraot
    @Theraot 4 роки тому +1

    I think I might try this one.
    No, the cheatsheet is not all I need. It did not tell me what model formats it supports (OBJ, MTL, IQM and GLTF btw), and it does have raymath.
    Oh, something else, bindings are not up to 3.0 yet. The bindings do not seem to have a clear way to pick what modules to use anyway. C and C++ is the way to go.
    (There are some weird and interesting binding, btw, from Cobol to PHP, not that I'd advice to use them)

  • @AleksandarPopovic
    @AleksandarPopovic 4 роки тому

    Wow, this look amazing!

  • @electricalcoder3025
    @electricalcoder3025 4 роки тому

    great video dude keep going

  • @alexstrom62
    @alexstrom62 3 роки тому +1

    This in a way reminds me of the simplicity pygame. Easy to understand but hard to master

  • @skilz8098
    @skilz8098 4 роки тому

    I find it ironic, here's a nice C library that abstracts away from all of the tedious backend source code which is great in itself, but I was searching for stuff in the other direction such as learning to use Vulkan to write the backend stuff and this shows up in my recommended list...

  • @regeleionescu935
    @regeleionescu935 4 роки тому +2

    I was convinced it was april's fool!

  • @enrac
    @enrac 4 роки тому

    If it's a C-based library, you can (probably) use it in iOS with an Objective-C project (probably Swift too).

    • @rex_melynas
      @rex_melynas 4 роки тому

      I believe it runs on iOS? It runs on Mac and Android already...

  • @syumjoba
    @syumjoba 4 роки тому

    is raylib only for 2D games or is there 3D bossibilities as well?
    looks like a really amazing tool by the way

  • @zenithparsec
    @zenithparsec 4 роки тому +1

    So over half the video is you reading the release notes? I stopped before getting to 5:25 where you actually look like you're doing something outside the web browser, because I can read.
    Perhaps you should look at your UA-cam metrics, and see which parts people actually come here for? I'm going to guess it's not the "reading the website" part.

    • @cybershellrev7083
      @cybershellrev7083 4 роки тому

      Don't be such a prick, He's just highlighting features about the software...

  • @cirusMEDIA
    @cirusMEDIA 4 роки тому +1

    Please do a video on the *GDC Relief Bundle* that is currently on itch .io for the next 2days.

  • @DarwinsChihuahua
    @DarwinsChihuahua 4 роки тому

    Wow, BGI! That takes me back.

  • @jdavid82
    @jdavid82 4 роки тому

    Can't wait to check it out. I noticed that this section for Mac OS is out of date (incorrect file locations) github.com/raysan5/raylib/wiki/Working-on-macOS#build-newest-development-snapshot-from-source (this is probably not the right place to ask) but it would be great if someone updated it

    • @raylibtech
      @raylibtech 4 роки тому

      Feel free to correct it yourself, the Wiki is open. Just make sure it will work for most of the use cases.

  • @bleedingxiko8456
    @bleedingxiko8456 4 роки тому +15

    im already learning gdscript one language at a time😂

  • @UltimatePerfection
    @UltimatePerfection 4 роки тому +2

    Anything inspired by anything Borland made is a good choice.
    Anyway, could you make a video about Castle Game Engine, about the only game engine for Pascal/Delphi developers?

  • @Asimov16
    @Asimov16 4 роки тому +2

    I like raylib, but hate the way it installs straight to your C drive whether you want it there or not. I don't install anything to C if I can help it. That is the only down point.

  • @perfectionbox
    @perfectionbox 4 роки тому

    does it support multiple opengl contexts?

  • @silvermig
    @silvermig 4 роки тому +2

    I just don't like notepad++. I tried setup raylib previous version with sublime-text some time ago, and it wasn't straightforward. I hope new version will be more easy.

    • @kwkfortythree39
      @kwkfortythree39 4 роки тому +1

      You can use an actual IDE like Qt Creator which helps greatly programming

  • @Elrog3
    @Elrog3 4 роки тому

    I am learning c++ and was planning to jump into javidx9's olcPixelGameEngine 2.0 to learn the basics of how to develop in c++. It is also a single header file include. How would these two compare? (olc vs raylib)

  • @gabriel55671
    @gabriel55671 4 роки тому

    Dont know about you, but to me it seems raylib relies way too much on examples. I tried to find core statements of some functions, and found basically nothing. Same thing with structures. Am I missing something?

  • @dipanjanghosal1662
    @dipanjanghosal1662 4 роки тому +1

    Will this help me for Unreal?

  • @ZackMitkin
    @ZackMitkin 4 роки тому

    Doesn't even use OpenGL 4 though, no vulkan or dx12 either. Check out BGFX

  • @giffiyt
    @giffiyt 4 роки тому

    Actually good video was released at 1st of april.

  • @system64_MC
    @system64_MC 4 роки тому +1

    Is it a good option for learning C and / or C++?

    • @typedef_
      @typedef_ 4 роки тому +2

      I don't think starting out with this is a very good idea. Have a go at "The C Programming Language" book, and read all the chapters up to and including Chapter 6. Make sure you solve all the exercises at the end of each lesson. Do not skip any of them, as you will be missing out on critical thinking patterns. After you are done with that, try Raylib.

    • @rex_melynas
      @rex_melynas 4 роки тому

      Yes, play with it and have fun

  • @hrushikeshkale68
    @hrushikeshkale68 4 роки тому

    RayLib not working!
    It says undefined reference to Functions like clearbackground and etc plz help

  • @Link-channel
    @Link-channel 4 роки тому

    This is too good to be true 😭

  • @yamin2000
    @yamin2000 3 роки тому

    I want to practice programming programming just to learn not for job
    Do I practice with raylip c++?
    Or python pygame?

    • @axitc
      @axitc 2 роки тому

      raylib c (not c++)

  • @vigneshs2886
    @vigneshs2886 4 роки тому

    Does it have vulcan support?

    • @gamefromscratch
      @gamefromscratch  4 роки тому

      I do not believe so but it wouldn't shock me for it to arrive

  • @Mautar55
    @Mautar55 4 роки тому

    Is it ready for a full 3D game? Even with simple shaders? I want to make something particular but i want to know how complex is the geommetry it supports and its performance.

    • @igorthelight
      @igorthelight 4 роки тому +2

      The best way is to modify one of the examples by yourself to see the performance :-)

    • @berni8k
      @berni8k 4 роки тому

      Performance is near what you would get with using OpenGL directly.
      As for complex geometry it can draw anything you can express as a mesh of triangles. Tho a lot of work is needed at this low level to do impressive things in 3D.

    • @Mautar55
      @Mautar55 4 роки тому

      @@berni8k I see, it has no complex drawers, only model and animation loaders. Wich version of opengl it uses? Or depends of the shader loaded?

    • @berni8k
      @berni8k 4 роки тому

      @@Mautar55 It depends on the platform it is compiled for, it seams to support OpenGL 1.1 or 2.1 or 3.3 and OpenGLES 2.0(for mobile GPUs)
      If you want to take full advantage of the modern OpenGL features you might have to do a few calls directly to OpenGL (It allows you to do that, but can break things if not careful)

  • @peimanenato
    @peimanenato 4 роки тому

    Can use raylib libraries in unreal engine or cry engine?

    • @igorthelight
      @igorthelight 4 роки тому

      A very odd question, to be honest.
      You may get sources for UE4 and you may get sources for RayLib. That means that you may combine them. I think that will be quite hard.
      But... why?

    • @peimanenato
      @peimanenato 4 роки тому

      I wanted to know does it useful for UE4 development since raylab is supposed to be source of libraries. Or I didn't get what is supposed to be.

    • @gower1973
      @gower1973 4 роки тому +1

      meidarrr it’s a prebuilt library built on OpenGL, for implementing into you own engine, you wouldn’t use it in something like Unity or Unreal, raylib is kinda one level below commercial engines

    • @peimanenato
      @peimanenato 4 роки тому

      gower1973 I see. Tnx for info.

  • @dkracingfan2503
    @dkracingfan2503 4 роки тому

    I see barely any UA-cam tutorials on it which is a shame... Not even udemy has any.

  • @MarsCorporations
    @MarsCorporations 4 роки тому

    I tried the "default empty white window with nothing in it" and it used about 25% of 1 CPU core (so its about 4%-5% if you have 6 of them) and 10% GPU (GTX 1060) while doing absolutely nothing. Am i doing something wrong or is that the way to go nowadays? It cant be real that an empty window uses more power than Games like Warcraft3 (not reforged) (it's old I know. It's just for caomparison). Besides that its a really good project. Easy to setup, easy to use.

    • @raylibtech
      @raylibtech 4 роки тому +2

      raylib has 3 different configurations to manage game loop timming, one of them being a busy while loop, very stable but keeps querying cpu for time so the high-cpu usage. There is another option using system interrupts (sleep()) but unfortunately time resolution is not accurate and consequently there could be time-deviations and result in frame stuttering. Default active solution is a mix of both.

  • @dusty6299
    @dusty6299 4 роки тому

    So how low-level is this compared to SDL?

    • @youtube_video_patrol
      @youtube_video_patrol 4 роки тому +1

      imho they are equivalent, but raylib is not as battle-tested as SDL and has less features and compatibility. I use SDL and i'm pretty happy with it.

    • @dusty6299
      @dusty6299 4 роки тому +1

      @@youtube_video_patrol thanks really helps.

    • @igorthelight
      @igorthelight 4 роки тому +1

      RayLib is easier but SDL is more mature and powerful.
      For small games RayLib probably will be enough.

    • @berni8k
      @berni8k 4 роки тому

      Raylib is mostly a thick simplifed wrapper around OpenGL

  • @frenchmike
    @frenchmike 4 роки тому

    if you could slow down a bit when u talk. I feel I am in a race. anyhows, many people have macs and would love to know of a simple way to make basic games in c++ but it wasn't clear from the video on the process for macs.

  • @AdiCherryson
    @AdiCherryson 4 роки тому

    Why would I invest in a framework which uses OpenGL under the hood in 2020?

    • @thomasbenardo7511
      @thomasbenardo7511 4 роки тому

      Why not, especially when OpenGL is truely cross platform. Neither Metal nor Direct X has so much power and versatility

    • @AdiCherryson
      @AdiCherryson 4 роки тому

      Thomas Benardo because it’s dated, “high-level/overhead” and it has its successor?

  • @michaelsherwin4449
    @michaelsherwin4449 4 роки тому +1

    How do you know that you like it? What have you done with it that you can expertly recommend it?

  • @forgottenmohawks8734
    @forgottenmohawks8734 4 роки тому

    GFS: Maybe you are new to raylib
    UA-cam captions: Maybe you are new to Ray lemon
    Lol UA-cam XD

  • @halvard1723
    @halvard1723 4 роки тому

    1:55 cat going wild?

  • @Xcrypt1991
    @Xcrypt1991 4 роки тому

    cool

  • @rayanfernandes2631
    @rayanfernandes2631 4 роки тому

    will go into example for examples... for example lets look into this physics example... lets not say example for examples 🤣👌

  • @yasseralhablags
    @yasseralhablags 3 роки тому

    Too late for me. I dumped C++ for Python 15 years ago

  • @josefaschwanden1502
    @josefaschwanden1502 4 роки тому

    I see C i click

  • @klontjespap
    @klontjespap 4 роки тому

    ios is C#, so i guess the C# binding is supposed to be the ios support ? :D

  • @yearoflinux
    @yearoflinux 4 роки тому

    Example.

  • @noahhildebrandt1298
    @noahhildebrandt1298 4 роки тому

    Bro, li-BRAR-y. Not li-BERRY.

  • @junehanabi1756
    @junehanabi1756 4 роки тому

    It's not written in C++17 or newer? The code hasn't ever been updated to use newer syntax and compilation? It uses C like opengl? C99 in 2020 is not a very good advertising point, kind of killed it there for me immediately and also tells me I'm going to have to create my own C++ wrappers around it which feels awkward same as opengl.

    • @zvxcvxcz
      @zvxcvxcz 4 роки тому +3

      I don't think you know what you're talking about. C99 is great because is likely to be efficient, straightforward, and reliable. What do people actually do with new C++ features? Immediately shoot their project in the foot by writing unmaintainable garbage. Also, why would you need to write your own bindings when it comes with all the bindings... My background is more in scientific computing than than game development, but there is a reason that Python slingers today still rely all on old school C, C++ and Fortran underneath for things like their linear algebra libraries, BLAS and LAPACK, etc... Using a fancy new language because it is a fancy new language is just plain not a good justification. Python is a nice glue language, but while many Python programmers insist it can be as fast as C, I don't see them writing a native ML library. Even if you want to look at big flagship ML frameworks, e.g. TensorFlow is almost all C with Python bindings. There are also important older C libraries that don't play too nice with the latest C++, for instance GMP actively discourages the use of auto. Probably things will get better with time, but when I hear a project is using a newer C++ version it makes me rather concerned about it's ability to really be 1) cross platform, 2) efficient, 3) reasonably human parsable, 4) existing 10 years from now. Of course a number of these things are not language features, but rather survivorship bias... but that bias biases me towards old C and away from fancy schmancy projects touting the latest (but not necessarily greatest) C++. ... There's even a decent chance it compiles as valid C++ 17 anyway, so I don't get the complaint. Having a library in code that will compile and run correctly in as many places as possible almost certainly trumps utilizing the latest syntax sugar for library code. C++ 17 makes your life easier, but both languages are Turing Complete and the bindings are there... I think your complaint is pretty silly.
      Frankly, a lot of C++ is about adding overhead, ideally they like to keep that overhead at compile time rather than runtime, and ideally to keep it minimal, but there is no getting around the fact conveniences like shared pointers cost you somewhere. The benefit is that it is less likely for the developer to screw up. Library code is a bit different than everyday code though. Many people will use it and it need only be implemented once, so putting in developer time to get those things right and as efficient as possible is more likely to be worthwhile. So you don't need the new C++ features. But if you just use a subset of C++ 17, you could make it equally efficient, right? Well, yes, but less portable to systems with older and/or specialized compilers. If you don't want to support those as a game dev, that's up to you, but it is prudent for a library to support as many as they reasonably can.

    • @zvxcvxcz
      @zvxcvxcz 4 роки тому

      Also, is there some special reason you needed to write your own OpenGL bindings? Plenty exist already, e.g. GLUT

    • @hereb4theend
      @hereb4theend 4 роки тому

      C doesn't need anymore updates. It's perfection.

  • @rudecoffee
    @rudecoffee 4 роки тому +1

    3rd

  • @XeviousGG
    @XeviousGG 4 роки тому +1

    dude these games are trash lol