Is SDL3 Ready For Production?

  Рет қаралды 35,957

Tsoding Daily

Tsoding Daily

Күн бұрын

Пікірлер: 114
@agocs6921
@agocs6921 Ай бұрын
SDL3 is already used for Source 2 games like CS2, Dota 2, and Deadlock
@MCSteve_
@MCSteve_ Ай бұрын
I dont know for how long but the creator works for valve.
@heyclore5728
@heyclore5728 Ай бұрын
you mean Dota 3?
@yrds96
@yrds96 Ай бұрын
Also half life 3
@cattokomo
@cattokomo Ай бұрын
​@@yrds96You mean Half-Life Episode 2 Part 2?
@ryonagana
@ryonagana 28 күн бұрын
and steam itself
@puneetdhiman5194
@puneetdhiman5194 Ай бұрын
We got SDL 3 before GTA 6
@re_detach
@re_detach Ай бұрын
wym we're all playing GTA 6 right now
@mrzoProductions
@mrzoProductions Ай бұрын
Of course. They need it to make GTA6.
@craftrumzen2393
@craftrumzen2393 Ай бұрын
@@re_detach Teach me your ways
@dhkatz_
@dhkatz_ Ай бұрын
@craftrumzen2393 You mean you aren't playing the leaked build?
@damnhatesyou
@damnhatesyou Ай бұрын
People care about GTA?
@WormHeamer-y6x
@WormHeamer-y6x Ай бұрын
the addition of storage api, main callbacks, pen api, file open/save dialogs, etc. are all really exciting for just general cross-platform applications programming
@aajas
@aajas 15 күн бұрын
For anyone frustrated with the beginning of this video, skip to 44:41 when he finally reads the release notes and starts to cook
@XenusYard
@XenusYard Ай бұрын
_"Can we strace this motherflipper?"_ *Top 10 Phrases Uttered Moments Before Disaster*
@satchelfrost6531
@satchelfrost6531 Ай бұрын
cue curb your enthusiasm music
@AdemBudak-x8v
@AdemBudak-x8v Ай бұрын
1:12:55 people who never program will never understand this feeling...
@catmium7974
@catmium7974 Ай бұрын
Sa
@pxolqopt3597
@pxolqopt3597 Ай бұрын
My friends wondering why I'm freaking out over a red square not knowing the 2000 lines of code and 3 hours it took of reading vulkanguide just to get there
@JG-nm9zk
@JG-nm9zk 25 күн бұрын
@@pxolqopt3597 I feel that in my soul
@aeliusdawn
@aeliusdawn 4 күн бұрын
@@pxolqopt3597 The last time people were losing their mind over a red square was during the Cold War
@Xero_Wolf
@Xero_Wolf Күн бұрын
Bro this reminds me of trying out dark basic back in the day. I was already feeling like a boss after learning to draw primitive meshes. Then I added physics to a sphere and and a plane and the moment that sphere bounced off that plane I lost my shit. lol
@paulooliveiracastro
@paulooliveiracastro Ай бұрын
I would 100% watch a SDL_gpu stream! Hope you are excited enough to do that
@c4llv07e
@c4llv07e Ай бұрын
I think SDL_QUIT was renamed because on some case insensitive languages (like basic) bindings was a little harder to make due to the name conflict with SDL_Quit function. And also because of the naming standards.
@furti
@furti Ай бұрын
with awhoo amista azozin
@jonasls
@jonasls Ай бұрын
the man the legend
@exvimmer
@exvimmer Ай бұрын
AFAIK, SDL is funded by Valve.
@meanmole3212
@meanmole3212 Ай бұрын
funded
@exvimmer
@exvimmer Ай бұрын
@@meanmole3212 LOL, yep. My stupid brain.
@rj7250a
@rj7250a Ай бұрын
Maintained by Valve for many years, the original.creator didnt work for Valve in 1998.
@arkeynserhayn8370
@arkeynserhayn8370 Ай бұрын
I'm already 7 minutes in and i am crying from laughter, thank you Amistah Azozin
@_lod
@_lod Ай бұрын
SDL_shadercross is separate because you can compile shaders from other places and use them instead
@revenevan11
@revenevan11 Ай бұрын
SDL is such an underappreciated workhorse. The recent influx of videos excited about current (pre)releases of SDL3 have convinced me to (unpreparedly) attempt to bodge together a crappy game engine with Zig, SDL3, and OpenGL over the next month when I'll have a week off for the holidays 😁
@revenevan11
@revenevan11 Ай бұрын
Ayo hold up it has 3D and *compute shaders* built in!!
@hipno3477
@hipno3477 Ай бұрын
Maybe you are already aware of this but there is a cli-tool called glslc/shaderc that can be used to precompile glsl to spir-v. I'm guessing it could be a decent option if you'd want to use glsl, until the sdlsl is workin and twerkin. Great video btw! SDL3 hype
@b-rosa
@b-rosa Ай бұрын
If I recall correctly there is a gdb option to load pending symbols indeed, but I don't remember the name. If I remember, I will post it here
@revenevan11
@revenevan11 Ай бұрын
Pls rember Lol
@volbla
@volbla Ай бұрын
Does gdb not have documentation or something? Can't we just look this up?
@b-rosa
@b-rosa Ай бұрын
It should be something like `set breakpoint pending on`
@b-rosa
@b-rosa Ай бұрын
Search for "How to set breakpoints on future shared libraries with a command flag" on stackoverflow
@Xudxcia
@Xudxcia Ай бұрын
17:20 When you don't export the environment variable and still want to use it you should make both commands inline, because without export it does nothing So instead of "PKG_CONFIG_PATH=... pkg-config --cflags sdl3" Use "PKG_CONFIG_PATH=... pkg-config --cflags sdl3"
@anon_y_mousse
@anon_y_mousse Ай бұрын
This is especially useful for something that you only need temporarily. That way you don't pollute your working namespace and don't need to close and reopen the terminal.
@emneo-dev
@emneo-dev Ай бұрын
I am really surprised by the sudden crash when using strace on an SDL3 program because I did that not even a week ago. Maybe a problem with your install? (This should not even matter in the first place but it might explain it.)
@mike50378
@mike50378 Ай бұрын
From finding the circle api to playing with the GPU api is the best.
@satchelfrost6531
@satchelfrost6531 Ай бұрын
I did a little experiment where I tried to create a raylib-style API, but with a Vulkan backend. What I ultimately found is that it works for simple pipelines, but the moment you need flexibility, you really just need access to the Vulkan primitives. Compute was one of those things that just ended up being easier to have access to the lower level stuff (i.e. less abstraction was better). The problem with trying to abstract away things in Vulkan is you end up eventually wanting access to everything, at least that has been my experience.
@pamus6242
@pamus6242 Ай бұрын
You are the Anti Hero we all need. I hope someday Gabe Newell makes you the captain of Valve.
@multicoloredwiz
@multicoloredwiz Ай бұрын
9:30 can your rust DO THAT
@jorge28624
@jorge28624 26 күн бұрын
I believe SDL author works at Valve, so yeah, is developed by them one could say
@multicoloredwiz
@multicoloredwiz Ай бұрын
What the heck. I looked at a prerelease version of a library and it was incomplete! DEVS FIX IT NOW
@notdeus3834
@notdeus3834 Ай бұрын
Yay, new upload
@adr420
@adr420 Ай бұрын
11:04 btw we do get header files😊 you should have the checked mingw downloads they include header files, prebuilt shared lib, and static lib...
@tulpenkiste
@tulpenkiste Ай бұрын
23:40 it got changed to return bool not int
@yooyo3d
@yooyo3d Ай бұрын
SDL_InitWindowWithRendere has a flag where you can specify a renderer. You used 0.
@cyrilanisimov
@cyrilanisimov Ай бұрын
Maybe SDL on Linux is not compiled because you could use different std libs (glibc, musl) which are not compatible with API
@risingofgames
@risingofgames Ай бұрын
holy moly acyual compute shaders and 3d? dayum sdl
@omegawii
@omegawii 12 күн бұрын
You're correct UE4 uses SDL. They also use it for console controller inputs.
@puncherinokripperino2500
@puncherinokripperino2500 Ай бұрын
single dll is because it is just for users, i think
@ovi1326
@ovi1326 Ай бұрын
It's the first stable ABI release in the 3.x series so it's not like users have some software lying around that could actually link with it. Maybe they don't ship the headers bc with visual studio you download the headers anyways and then just drop the dll in the project configuration? Haven't used Windows in 6 years but that's how I remember how it worked. However you got vcpkg and/or proper build system integration there nowdays - you really shouldn't do it that way, so not exactly sure.
@andreymlv
@andreymlv Ай бұрын
i’m really waiting for your GPUish streams!! thank you 😊
@alst4817
@alst4817 Ай бұрын
Ameeeesta azzzooozjin is back!
@soulspirit8687
@soulspirit8687 26 күн бұрын
51:46 "[last7310] It's actually Indians" had me dying
@user-sb5vt8iy5q
@user-sb5vt8iy5q Ай бұрын
amdvlk is developed by AMD, vulkan-radeon is developed by Valve, commonly called the "RADV driver", RADV is generally better and supports older GPUs too.
@warko4
@warko4 Ай бұрын
Crazy background 😅
@RandPrint
@RandPrint Ай бұрын
just turn build shared off it looks like to build static
@glados_creator
@glados_creator Ай бұрын
what's going on with the subtitles here ?
@heavymetalmixer91
@heavymetalmixer91 Ай бұрын
IIRC this SDL 3.1.6 is the same version you used in the video you tried Raylib 5.5.
@Valyrie97
@Valyrie97 28 күн бұрын
are the subtitles.... live stream chat??
@TsodingDaily
@TsodingDaily 28 күн бұрын
yes
@leifmessinger
@leifmessinger Ай бұрын
It probably crashed when doing strace because of the infinite loop
@captainswing4040
@captainswing4040 Ай бұрын
i have made a 2D game in SDL it was very simple and made in like a day from my experience fully featured 2D games can be made in SDL i really want to make this 2D No Man's Land and right now my choice is SDL
@deepikagupta1060
@deepikagupta1060 Ай бұрын
mista zozin cookin
@Aziqfajar
@Aziqfajar Ай бұрын
40:14 We really could have that naming for the heck of it lmao
@adr420
@adr420 Ай бұрын
Finally you talked about it, you were only about raylib 😑 till now.
@theevilcottonball
@theevilcottonball Ай бұрын
not true, he used SDL2 in the past, used Xlib in the past, and he very seldomly used other APIs to create a windows, like in the essence OS, freebasic etc. streams.
@Do_It_Stupidly
@Do_It_Stupidly Ай бұрын
I think I should give it a try😅
@stefanosanasi2268
@stefanosanasi2268 Ай бұрын
1:23:05 lol I thought that it would have been 150 lines and it was exactly 150 lines of code. EDIT: oh, I was jebaited
@theevilcottonball
@theevilcottonball Ай бұрын
Next: check out sokol.
@theevilcottonball
@theevilcottonball Ай бұрын
It is also a C library which abstracts over OpenGL DirectX WebGL WebGPU Metal and unlike SDL it is already fully released.
@skeleton_craftGaming
@skeleton_craftGaming Ай бұрын
11:10 sure, we don't get header files but we get a vcpkg distro... So we don't need them, same is true for apt. I'm nearly positive 14:18 or because it's being developed by valve, they reimplemented or statically linked a lot of these things? I know valve is pretty obsessed with making things just work on Linux... 15:08 Is there ever a time that you're in the mood for cmake? 21:26 yeah SDL3 Is basically sdl 2 but with more opengl and Vulkan support 23:30 I'm pretty sure that's because they automatically generate their headers and they automatically generated them from scratch for the major version... 1:31:11 sdl having a crossed platform. HLSL support really smells like it would valve trying to get developers to develop for Linux. Natively.... I know my game engine I'm about to be making is going to be cross-platform...
@zizzyballuba4373
@zizzyballuba4373 Ай бұрын
raylib?
@IsaacCode95
@IsaacCode95 20 күн бұрын
Exactly how i react sometimes reading a library API lol 56:44
@John-yg1cq
@John-yg1cq Ай бұрын
1:22:52 I guess 150 Holy shit.
@mattanimation
@mattanimation Ай бұрын
was a fun stream
@helloworlditsworld
@helloworlditsworld Ай бұрын
🐐🐐🐐🐐
@hubstrangers3450
@hubstrangers3450 Ай бұрын
Thank you....
@meanmole3212
@meanmole3212 Ай бұрын
We have identical SDL3 GPU API abstraction in Rust called WGPU that offers bindings for other languages as well. Just another one to the top of the list 👍
@halano
@halano Ай бұрын
void , i3, sdl3 💀
@desertfish74
@desertfish74 Ай бұрын
Linux users not fucked though, just use package manager to install it
@OSrBurns
@OSrBurns Ай бұрын
Kali Penger
@azharalibhutto1209
@azharalibhutto1209 Ай бұрын
Great ❤❤❤
@onyedikachiikuru2924
@onyedikachiikuru2924 Ай бұрын
🎉
@antropod
@antropod Ай бұрын
iRect
@Bestmann3n
@Bestmann3n Ай бұрын
it's a platform layer.
@wolfengange
@wolfengange Ай бұрын
I fucking hate programming ❤
@lachee3055
@lachee3055 Ай бұрын
let be honest, those using windows probably dont now how to compile C
@luvzware
@luvzware 7 күн бұрын
average linux user trying to assert superiority
@MagpieMcGraw
@MagpieMcGraw 5 күн бұрын
vcvarsall.bat is my nightmare.
@StanisawRak
@StanisawRak 5 күн бұрын
open windows terminal gcc dick.c -o .\in\ass
@patrick.miharisoa
@patrick.miharisoa Ай бұрын
First 🥇
@SunakSunak-b9t
@SunakSunak-b9t 28 күн бұрын
Давай по русски
@RatanBasak-f8h
@RatanBasak-f8h Ай бұрын
Start writing your own kernel... 😎
@QckSGaming
@QckSGaming 14 күн бұрын
kzbin.infoUgkxXFsoG1Rlj4B-ZMAsUvCcmkUE_3FiBO5w
@cycomkid
@cycomkid Ай бұрын
Now try Vulkan or wgpu with Odin, You will learn about forced callbacks 😂
Forget C - Assembly is All You Need
2:26:25
Tsoding Daily
Рет қаралды 34 М.
I tried Swift and came out a different person
1:56:59
Tsoding Daily
Рет қаралды 130 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
The BEST Mechanical Display You've EVER Seen!!!
13:51
Tin Foil Hat
Рет қаралды 493 М.
Doom’s Worst Port Was Made in Ten Weeks | 3DO Console Doom | Past Mortem | SSFF
32:37
Stop Skeletons From Fighting
Рет қаралды 260 М.
If Jerma was Programmer
6:44
Tsoding Out Of Context
Рет қаралды 6 М.
SDL 3 -- A Decade of Improvements
9:06
Gamefromscratch
Рет қаралды 53 М.
What is the Smallest Possible .EXE?
17:04
Inkbox
Рет қаралды 572 М.
Andrew Kelley   Practical Data Oriented Design (DoD)
46:40
ChimiChanga
Рет қаралды 155 М.
Nix explained from the ground up
23:39
Surma
Рет қаралды 77 М.
Can You Beat Minecraft From One Grass Block?
35:27
Beppo
Рет қаралды 6 МЛН
Why do Studios Ignore Blender?
8:52
Film Stop
Рет қаралды 461 М.
I tried React and it Ruined My Life
1:19:10
Tsoding Daily
Рет қаралды 159 М.