Two languages, one opengl context

  Рет қаралды 3,153

sphaerophoria

sphaerophoria

Күн бұрын

Stream from May 15, 2024 at / sphaerophoria
00:00 Intro
09:10 Call any opengl call from zig
25:20 Shader compilation
56:20 Some visible progress
01:03:05 OpenGL callbacks for every function we use
01:32:45 Render frame from zig
01:51:45 Video playback!

Пікірлер: 17
@sphaerophoria
@sphaerophoria 28 күн бұрын
See updated code at github.com/sphaerophoria/video-editor/commit/641284a023b714494d07334ed27a610e42bb5953 Reminder that you ware watching me discover what I think is a good way to structure things :) In this case I think using "callbacks" here for opengl was a mistake. I was originally thinking about having multiple GUI implementations, and thought that since there are multiple impls, we need runtime adjusted function pointers. This is NOT true. If we swap the GUI, we swap it at link time. In fact in the current implementation there is a version of that with the mock ui and the real ui. See new gui.h for more context
@Ubervisor_
@Ubervisor_ 27 күн бұрын
the title gave me shivers
@Dje4321
@Dje4321 27 күн бұрын
This sounds like hell on earth but cool none the less
@aidennwitz
@aidennwitz 25 күн бұрын
holy shit, so much boilerplate, such patience, wow. i would just decide to not use a gui library at all if it involved this much preparation, so mad props
@_bradleystrider
@_bradleystrider 27 күн бұрын
39:15 the lsp wasn't slow, you were recording a macro for like 5 minutes lol
@sphaerophoria
@sphaerophoria 27 күн бұрын
wow... whoops
@syllogismo
@syllogismo 24 күн бұрын
nice catch lol
@_bradleystrider
@_bradleystrider 24 күн бұрын
@@syllogismo it's happened to me way too many times lol
@nikkbronx
@nikkbronx 23 күн бұрын
Came here from Twitter
@cherkim
@cherkim 28 күн бұрын
When did you decide to become smart enough to create something like this?
@sphaerophoria
@sphaerophoria 28 күн бұрын
I think it's more about exposure than intelligence :). If you try to make stuff, and keep saying "what's that do?", eventually you end up with lots of context that helps you make connections. And once you have context, things that used to seem hard become simple
@dev-mantas
@dev-mantas 27 күн бұрын
@@sphaerophoria sounds like something an ai would say
@pietraderdetective8953
@pietraderdetective8953 27 күн бұрын
I just want to know who won?
@sphaerophoria
@sphaerophoria 27 күн бұрын
They learned to work together and now they're friends
@Dje4321
@Dje4321 27 күн бұрын
​@@sphaerophoriabut who's topping?
@creator-link
@creator-link 26 күн бұрын
@@Dje4321I think it’s obvious that rust is a bottom
@sphaerophoria
@sphaerophoria 26 күн бұрын
When I drew them I thought they were children :\
I made a language for the Nintendo DS
26:19
VoxelRifts
Рет қаралды 9 М.
Splitting up long chunks of automatically transcribed text
1:48:44
sphaerophoria
Рет қаралды 1,3 М.
Super gymnastics 😍🫣
00:15
Lexa_Merin
Рет қаралды 81 МЛН
Китайка и Пчелка 10 серия😂😆
00:19
KITAYKA
Рет қаралды 1,9 МЛН
Rendering audio waveforms in my zig video editor
2:25:57
sphaerophoria
Рет қаралды 2,3 М.
Making GUI system for my game from scratch | devlog
6:30
Undermountain Dev
Рет қаралды 3 М.
Hollow Knight Has Been Recreated in Minecraft
17:27
fireb0rn
Рет қаралды 103 М.
Introduction to shaders: Learn the basics!
34:50
Barney Codes
Рет қаралды 282 М.
Master Pointers in C:  10X Your C Coding!
14:12
Dave's Garage
Рет қаралды 279 М.
How Rust rose to dominance (by accident)
11:01
Let's Get Rusty
Рет қаралды 33 М.
Biggest AI announcements from Apple's WWDC 2024
11:21
The Verge
Рет қаралды 348 М.
Calling rust from zig from rust from zig
2:30:47
sphaerophoria
Рет қаралды 1,8 М.
Patching dependencies to work around compiler bugs
2:29:54
sphaerophoria
Рет қаралды 1,3 М.
Super gymnastics 😍🫣
00:15
Lexa_Merin
Рет қаралды 81 МЛН