Gustav Sterbrant Profile Banner
Gustav Sterbrant Profile
Gustav Sterbrant

@GustavSterbrant

Followers
409
Following
251
Media
102
Statuses
3,653

Nebula Game Engine. Father of two. Painting is my wife’s.

Stockholm, Sweden
Joined June 2022
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
@GustavSterbrant
Gustav Sterbrant
5 months
Not saying it doesn’t look good. But what is this obsession with high polygon rocks?
@tradeit_gg
Tradeit
5 months
Rate this CS2 workshop map by: CZXA1
Tweet media one
Tweet media two
101
160
5K
100
11
532
@GustavSterbrant
Gustav Sterbrant
5 months
This poll is why software today is on a steep downhill. You can’t write code and refactor for speed later, you have to design the code for the hardware from the start. Failure to do so will only result in replacing bubble sort with merge sort and calling it a day.
@housecor
Cory House
5 months
Two ways to write software: 1. Performance first. Consider performance from the start. 2. Performance last. Make it work, make it right, then make it fast (if necessary). Poll: What's your typical approach?
324
16
216
51
28
432
@GustavSterbrant
Gustav Sterbrant
7 months
No this is not mind blowing, this is environment mapping and is almost as old as the internet.
@BasicAppleGuy
Basic Apple Guy
7 months
You can see the reflection of Apple Vision Pro’s Immersive Environments on Apple’s AR models! 🤯
35
42
1K
4
4
145
@GustavSterbrant
Gustav Sterbrant
1 year
Computers are orders of magnitude faster and yet a lot of software remains at break even in terms of performance. A perfect example of this which is within recent memory is Android, which hasn’t changed much in terms of functionality but still performs the same 8 years later.
@cmuratori
Casey Muratori
1 year
@basit_ayantunde Why shouldn't I?
0
1
241
10
7
106
@GustavSterbrant
Gustav Sterbrant
8 months
This is environment mapping and it’s 3 years younger than the internet.
@LinusEkenstam
Linus ●ᴗ● Ekenstam
8 months
This is DiffusionLight A simple but super effective technique to estimate lighting from any input image How? By inpainting a chrome ball using a diffusion model
26
105
797
5
5
105
@GustavSterbrant
Gustav Sterbrant
1 year
@historyinmemes Fun fact, halvdan in Swedish means mediocre.
3
0
105
@GustavSterbrant
Gustav Sterbrant
10 months
The next game I work on will only use linked lists, bubble sort and be single threaded. When it needs to run more than 1 frame per minute I’ll do some profiling and start rewriting the entire code base then.
@Masterkrombi
Mister Krumble
10 months
@GustavSterbrant @b3agz @andytouch I mean, yes, unironically. The real answer is to profile and find where the biggest performance increases can be made and put resources in to that. A video game is much different than other software. If a banking system couldn't do its primary function why would you spend time
4
0
2
1
4
71
@GustavSterbrant
Gustav Sterbrant
10 months
@LiveOverflow Next thing they will say is that the DB passwords are in cleatext in JS so it’s faster to access data
1
0
66
@GustavSterbrant
Gustav Sterbrant
5 months
This is why sky occlusion is important. The image on the right is wrong on so many levels, but the most egregious one is that everything is blue and reflects the sky. Even the ceiling?
@NikTekOfficial
NikTek
5 months
Path Tracing (Left) VS Rasterization (Right)
Tweet media one
Tweet media two
63
51
1K
2
5
58
@GustavSterbrant
Gustav Sterbrant
1 year
@Rainmaker1973 My grandfather participated in the rescue operation of this ship in 1960. These coins were awarded to those who worked on the project.
Tweet media one
Tweet media two
2
0
51
@GustavSterbrant
Gustav Sterbrant
3 months
@miniapeur 1ms is 1/16 of an entire frame in a real time game running @ 60 fps. So yes, if you can win 1ms you did a good job.
2
1
62
@GustavSterbrant
Gustav Sterbrant
5 months
@SheriefFYI The solution to the problem is clear - stop exposing shaders as graphs. Just stop it. You don’t need games with 20k shaders. Nobody does. We shipped Rage2 with a handful. Have bigger shaders and use scalar branching. NVIDIA GPUs can just brute force it.
4
3
45
@GustavSterbrant
Gustav Sterbrant
6 months
@fesshole Just curious, why are there no such fesses with conservatives doing this to Labour? Is pettiness more common with “liberals”?
22
0
44
@GustavSterbrant
Gustav Sterbrant
6 months
@NoContextBrits If by art you mean a local politician using tax money to pay his “artist” neighbour/friend/family member for some nonsense sculpture in exchange for favours.
3
1
38
@GustavSterbrant
Gustav Sterbrant
5 months
@AgileJebrim Games can look good without looking flashy too, but this “WOW LOOK AT THE POLY COUNT ON THE ROCKS” stuff needs to end.
5
1
36
@GustavSterbrant
Gustav Sterbrant
9 months
People were doing tons of work per pixel and then the 4K race happened. It didn’t stop anyone from doing tons of work per pixel but instead comprises were made. I remember back in 2017 when working on Rage2 how we had to implement dynamic upscaling to fit console frame budgets.
@KatDiedAgain
Kat
9 months
@joewintergreen why do games now look muddier, crunchier, smeary and noisier than Source games did back in the day? why does 1080p now look like 480p usually does? everything's blurry and mucky. what happened?
21
7
123
2
6
36
@GustavSterbrant
Gustav Sterbrant
5 months
@otac0n Whenever someone mentions a “technique” as some silver bullet, I’m sorry but that’s a red flag. If you take a code base that is heavily object oriented, you can’t refactor it to efficiently utilize data. Bad design is something you pay for forever.
4
1
34
@GustavSterbrant
Gustav Sterbrant
5 months
Reading an FBX file for animations and skinning is a clusterfuck of epic proportions. The excellent solves most of the BS for you, and removes the dependency on licensing the SDK. One thing though, it doesn’t factor in pre rotation for animations.
1
4
33
@GustavSterbrant
Gustav Sterbrant
3 months
@SheriefFYI Malware. Microsoft teams never fail to impress when it comes to hostile UX.
0
0
31
@GustavSterbrant
Gustav Sterbrant
9 months
Could someone explain how Bluetooth is so poorly implemented on nearly every device? Windows 11 laptop had a figurative meltdown because I tried to disconnect a set of Bluetooth headphones and I had to reboot to get USB working again.
4
1
29
@GustavSterbrant
Gustav Sterbrant
3 months
@Sargon_of_Akkad The left don’t understand hard work, so anyone being successful is in their mind obviously a grifter. It reminds me of a passage in Atlas Shrugged where the state renamed Rearden Metal to Magic Metal because to them, it couldn’t possibly be the product of competence.
2
0
26
@GustavSterbrant
Gustav Sterbrant
2 years
Can you guess what's happening here? Iridescence is coming to @playcanvas very soon!
Tweet media one
Tweet media two
Tweet media three
0
4
27
@GustavSterbrant
Gustav Sterbrant
2 years
Sweet and simple, @playcanvas now supports a per-light adjustable shadow intensity
0
4
25
@GustavSterbrant
Gustav Sterbrant
6 months
@SheriefFYI @_plop_ @rovarma What the F is up with this user interface? You have a cursor on your TV? Is your remote like a wii controller?
3
0
26
@GustavSterbrant
Gustav Sterbrant
5 months
Yes. And amount of cores. Why not take that into consideration?
@VincetOmniaDeo
VincetVeritas
5 months
@GustavSterbrant Premature opmitization is the root of all evil. If you disagree, then tell me whether you consider the length of the CPU cache line when designing your data structures.
12
0
6
4
2
26
@GustavSterbrant
Gustav Sterbrant
7 months
@PR0GRAMMERHUM0R 1. CMake is not a clusterfuck. People have managed to clusterfuck their CMake but it doesn’t make it bad. 2. Header files separated from source is a huge compile time benefit. 3. Stop doing things “the modern way”. Do what works, and don’t be a slave to silly trends.
5
0
21
@GustavSterbrant
Gustav Sterbrant
2 years
New example in @playcanvas , this one shows off our glTF extension support!
Tweet media one
2
3
25
@GustavSterbrant
Gustav Sterbrant
2 years
I've been busy adding support for volumetric refractions, iridescence and some missing parameters for sheen in the editor @playcanvas . This finally makes it possible to experiment with all the new material properties directly in editor!
3
5
25
@GustavSterbrant
Gustav Sterbrant
5 months
Example of an art style that looks absolutely amazing, not despite a lack of overly specular surfaces, but because of it!
@INDUSTRIA_game
INDUSTRIA 2
5 months
some screenshots from our new game👀
Tweet media one
Tweet media two
Tweet media three
112
321
5K
2
0
24
@GustavSterbrant
Gustav Sterbrant
8 months
Why are designated initializers only barely supported in C++? Why not support them all the way like in C?
2
2
23
@GustavSterbrant
Gustav Sterbrant
2 years
Support for KHR_materials_specular has been submitted to @playcanvas . One step closer towards glTF compliance. Next up is index of reflection.
Tweet media one
3
4
24
@GustavSterbrant
Gustav Sterbrant
10 months
@Masterkrombi @b3agz @andytouch So without profiling, we should just ignore obvious performance crimes because they are not the current bottleneck? In the tech world that is called “technical debt”.
1
1
24
@GustavSterbrant
Gustav Sterbrant
3 months
@reduzio Is it less friction to write tons of classes, manage private and public ownership, jump between methods across multiple files? Is it less friction to intertwine all code in high level abstractions when the data is what actually matters? It’s just what you’re taught at uni.
2
1
24
@GustavSterbrant
Gustav Sterbrant
1 year
I remember watching @cmuratori GJK video in university and implementing it to get a 5 in the discrete physics class. I used his video as reference material. Years later I used the same video to remind myself how to use GJK when applying at @AvalancheSweden .
2
0
22
@GustavSterbrant
Gustav Sterbrant
1 year
@ken_wheeler It is if you want to waste tons of energy and have abysmal performance
2
0
23
@GustavSterbrant
Gustav Sterbrant
9 months
@Windows , please let me see which process holds a handle to the file I want to delete. And please drop the handle if I change out of the directory in the terminal. Or just allow me to delete it anyways. On behalf of everyone, thanks.
4
3
22
@GustavSterbrant
Gustav Sterbrant
2 years
More updates incoming @playcanvas . Support for manifold volumes and the KHR_materials_volume in the works!
Tweet media one
1
3
22
@GustavSterbrant
Gustav Sterbrant
5 months
@zet23t HTTP is all clear text. Imagine how much faster the web would be were it all in compact binary. Imagine if data was compressed like games compress data to optimize for speed. What a wonderful world that would be.
15
3
22
@GustavSterbrant
Gustav Sterbrant
10 months
@mrousavy That’s a bit of a cop out. The world is running on JavaScript backends, why exactly? To waste power? To counteract hardware improvement? Making it artificially faster using Bun or this stuff doesn’t really matter, you’re still going to have frontend development in the backend.
4
1
20
@GustavSterbrant
Gustav Sterbrant
5 months
All code is performance sensitive. Electricity is expensive.
@djinnius
sam atman
5 months
@VincetOmniaDeo @GustavSterbrant for performance sensitive code data locality is a critical factor, yes
1
0
12
1
3
20
@GustavSterbrant
Gustav Sterbrant
2 years
Working on adding support for sheen (BRDF model for cloth and fabric) to @playcanvas . PR soon! Will also include support for KHR_materials_sheen.
Tweet media one
2
3
19
@GustavSterbrant
Gustav Sterbrant
10 months
@Masterkrombi I’m just pointing out how silly it is to not care about obvious bad practices because you didn’t profile them. Profiling is good for finding the not so obvious performance bottlenecks.
1
0
19
@GustavSterbrant
Gustav Sterbrant
5 months
How can you debug your own code using Google? Do you Google something like “when I run Foo() it sometimes causes a data race” and Google will be able to point to where in YOUR code the problem is? Or are we saying when using other people’s code? Frameworks and whatnot.
@OngDevLab
Ong
5 months
When debugging, what do you do first? - Google - chatGPT - something else?
330
10
221
3
1
18
@GustavSterbrant
Gustav Sterbrant
9 months
No, people were coerced to upgrade from W10. Some people even had it install automatically without their consent. I got a full screen splash windows when turning on my computer on two occasions, challenging me to find the “decline” button.
@t3dotgg
Theo - t3.gg
9 months
I guess people just don’t give a shit if it runs Steam 🤷
26
7
648
0
3
17
@GustavSterbrant
Gustav Sterbrant
8 months
I really didn’t need to hear that GPU inter queue synchronization has a gigantic latency - on Christmas. Extremely rude!
@SheriefFYI
Sherief, FYI
8 months
I'm going to retract my support for this - I just profiled a scenario where I generate geometry on the CPU every frame, upload it via a copy queue, then have the gfx queue do clears + some work before waiting for same-frame copy. Delay is ~50us from signal to gfx queue resuming.
4
2
19
3
2
16
@GustavSterbrant
Gustav Sterbrant
4 months
@unempyd @CPInThe3rdLane @PicturesFoIder It’s deeply regrettable to lump religion and beliefs which is a choice, together with race which is immutable.
0
0
15
@GustavSterbrant
Gustav Sterbrant
10 months
@AlbertReyn_ @Rainmaker1973 If you like this type of art then man, I got the website for you:
1
0
17
@GustavSterbrant
Gustav Sterbrant
2 years
And KHR_material_variants are also in @playcanvas ! Check it out: PS. The model viewer support illustrated in the video is coming soon too!
0
2
15
@GustavSterbrant
Gustav Sterbrant
3 months
@CoeusQueryall @zeta_globin @valemiento Point is that you can present an interesting finding or brag about publication count. There are journals where people publish just to have an excuse to travel and party. Doesn’t really mean the publications there really mean anything. Peer review is only as good as the peers.
1
0
16
@GustavSterbrant
Gustav Sterbrant
7 months
@real_lord_miles “At least they were not using guns!”
0
0
15
@GustavSterbrant
Gustav Sterbrant
8 months
That font is better for privacy than any screen protector ever made is 😂
Inspecting my old VK engines. On start I would warm all the pages. Code pages get a read, and data pages got an atomic add of a non-compiler known zero. An attempt to improve initial load time. But in the end nothing helps the 2.6 seconds or so required to just open the VK device
Tweet media one
3
4
67
0
0
16
@GustavSterbrant
Gustav Sterbrant
2 years
Support for KHR_materials_volume is now in @playcanvas ! Here is a mosquito in amber to celebrate.
Tweet media one
0
1
15
@GustavSterbrant
Gustav Sterbrant
2 years
Quick off of the previous one, added support for KHR_materials_transmission to @playcanvas , PR: . Note that the refractions doesn't sample the scene yet, as that requires a bit of work on the refraction sampling code. That's in the pipeline though!
Tweet media one
0
4
13
@GustavSterbrant
Gustav Sterbrant
7 months
Despite his overall polite manner, he felt the urge to censor the u in fuck.
@testaccountoki
not a sloth
7 months
linus still going hard
Tweet media one
167
874
10K
1
2
13
@GustavSterbrant
Gustav Sterbrant
4 months
Don’t we live in a time of technological wonder?
@tomshardware
Tom's Hardware
4 months
Microsoft updates Windows 11 24H2 requirements, CPU must support SSE4.2 or the OS will not boot
Tweet media one
35
53
174
3
0
14
@GustavSterbrant
Gustav Sterbrant
8 months
Okay, rays are firing. Been working some hours here and there to get it to work. Tons of small changes. Anyone knows a good debugger for ray tracing on AMD GPUs? The ray tracing analyzer keeps telling me there is no TLAS and no rays are being fired…
2
3
13
@GustavSterbrant
Gustav Sterbrant
7 months
@cliffski It won’t even tell you which application is holding the file hostage.
0
0
11
@GustavSterbrant
Gustav Sterbrant
8 months
@walter4096 It fits well when the reflections line up 😉
0
0
13
@GustavSterbrant
Gustav Sterbrant
2 years
Small update, adding support for KHR_materials_variants at @playcanvas .
Tweet media one
Tweet media two
0
3
13
@GustavSterbrant
Gustav Sterbrant
10 months
Keyboards are a thing of the past, no doubt. Nobody uses them anymore.
@hellokillian
killian
10 months
language models will do to software what the iphone did to keyboards. "they all have these keyboards, fixed in plastic and the same for every application... they can’t change." software has these functions, fixed in code and the same for every user... they can’t change...
26
103
745
2
0
12
@GustavSterbrant
Gustav Sterbrant
1 year
Adding specular occlusion to sheen is really important to make the sheen effect fit correctly in the scene.
Tweet media one
0
2
12
@GustavSterbrant
Gustav Sterbrant
5 months
Ah yes, the good old NaN spread facilitated by bloom.
@MrTLexify
Lex ✝️
5 months
52
1K
11K
0
1
12
@GustavSterbrant
Gustav Sterbrant
5 months
@Hasen_Judi Just follow the graph bro! Line goes up bro!
1
0
10
@GustavSterbrant
Gustav Sterbrant
8 months
Computers are fast and this is proof of it. It IS possible!
@nhstefanov
Nikolay Stefanov
8 months
Let’s talk about console performance in Avatar: Frontiers of Pandora. Hopefully this gives an idea of what it takes to optimize a AAA title (and we still didn’t manage to do it perfectly) Thread:
70
344
3K
0
1
12
@GustavSterbrant
Gustav Sterbrant
7 months
Not at all actually, but there are plenty of people out there trying to convince you otherwise.
@tekbog
terminally onλine εngineer 🇺🇦
7 months
it's just sending one json from one service to another how hard can it be?
Tweet media one
65
298
4K
0
1
11
@GustavSterbrant
Gustav Sterbrant
3 months
I feel like C++ generic programming is useful because it’s annoying to write tons of lines of boilerplate, and the C pre processor is very primitive when compared to for example Rust. Lately I’ve resorted converting some of our resources from json, and doing codegen instead.
3
0
12
@GustavSterbrant
Gustav Sterbrant
4 months
@DJDaley @PicturesFoIder Is this a justification for violence? Someone offends you, therefore you’re allowed to murder them?
0
0
11
@GustavSterbrant
Gustav Sterbrant
1 year
@SheriefFYI Worst case, it goes into virtual memory? 😂
1
0
12
@GustavSterbrant
Gustav Sterbrant
1 year
This is what I’ve come to terms with by playing games where balancing fixes are the sole focus of patches. It’s boring, you play a game to pull off unbalanced stunts. They are the reward for ingenuity, hard work and/or luck.
@Grummz
Grummz
1 year
While making Diablo 2, we used to say “balance is overrated.” Diablo was fun because of all the unbalanced crap you could pull off. Diablo 4 should not try to overbalance everything to spreadsheet accuracy. It’s not that type of game, and just results in clinical sterility.
231
253
3K
0
3
12
@GustavSterbrant
Gustav Sterbrant
4 months
NVIDIA requiring you to register and login to download their software is the hostile UX of today.
6
0
11
@GustavSterbrant
Gustav Sterbrant
10 months
0
0
11
@GustavSterbrant
Gustav Sterbrant
9 months
Implementing ray tracing for Nebula. Got the BLAS generating on GPU, working on having TLAS update as well. The on to the shaders, which by the looks of it seems to be the biggest work. Lots of changes needed in our shader compiler to support it.
1
1
11
@GustavSterbrant
Gustav Sterbrant
5 months
I think everyone hears ECS and thinks std::vector<Component*>. You can easily have a component system without storing the component on a per entity basis, allowing for efficient parallelism and data organizing.
@cart_cart
Carter Anderson
5 months
All of these “ECS isn’t a silver bullet architecture” people sound pretty silly if you replace it with “Unity/Unreal/Godot-style scene tree Component.update() isn’t a silver bullet architecture”. Like yeah we know. It just works really well in this context (arguably better).
15
11
146
4
0
11
@GustavSterbrant
Gustav Sterbrant
5 months
@ejpbruel If you write your code with hardware limitations in mind, the optimization you will need to do will just be minor refactors of already somewhat efficient systems. If you design poorly, you’ll need thousand LOC rewrites to optimize.
3
0
11
@GustavSterbrant
Gustav Sterbrant
10 months
@mrousavy This compiles JavaScript to native code? Why would you want that?
1
1
10
@GustavSterbrant
Gustav Sterbrant
5 months
@DylanMAllman If these hurdles would be required to get a PS5 then nobody would bother making them. The whole point of making something like a PS5 is to sell and make a profit, otherwise there would be no incentive to research let alone produce them…
0
0
9
@GustavSterbrant
Gustav Sterbrant
8 months
Ray tracing is merged in to main. In theory, everything is there but I’m still working on a material system to feed the ray tracing shaders with material info. This change also brings support for mesh shaders, although untested.
0
1
10
@GustavSterbrant
Gustav Sterbrant
7 months
Nooo! The code must be split into several files, each containing a single class, and each class containing functions called in only one place!!!
@TBendixson
Ted Bendixson
7 months
Exhibit A. One 3,000 line function and one 2,000 line function, fully shipped. Exhibit B. Positive reviews from happy players. Note the absence of comments relating to the length of functions. Hypothesis: Players don't care about your code. They care about the game it makes.
Tweet media one
Tweet media two
22
19
278
1
0
10
@GustavSterbrant
Gustav Sterbrant
5 months
@SheriefFYI Welcome back to pre-alta vista times.
1
0
10
@GustavSterbrant
Gustav Sterbrant
1 year
I want to thank @willeastcott @ValigurskyM @slimbuck7 @elliott_thomps @yak32 and @yaustar for my time at @playcanvas . It’s been great, if a bit short, and I wish you all the best of luck!
2
0
10
@GustavSterbrant
Gustav Sterbrant
9 months
AaaaAAAAAAaaaaaAaaaaAAAAAAaaaaa
@DominoTree
Insane Control Message Posse
9 months
This is what Java developers actually believe
Tweet media one
76
282
2K
1
1
10
@GustavSterbrant
Gustav Sterbrant
9 months
A more noble goal would be to end JavaScript on the server.
@bunjavascript
Bun
9 months
We have one goal for 2024 Flip the default backend JavaScript runtime from Node.js to Bun
106
83
2K
0
0
10
@GustavSterbrant
Gustav Sterbrant
9 months
@SheriefFYI Just one more microservices bro, it will be scalable bro, it will recover much more easily bro.
0
1
10
@GustavSterbrant
Gustav Sterbrant
7 months
Even better, have fewer dependencies. Write your own code for stuff like instead of having that mental dependency be reliant on a package manager.
@ForrestTheWoods
Forrest Smith
7 months
@dhh My unpopular opinion is that Docker only exists because modern software is so janky it requires a full system image to reliably run. Deploying a program should never be more complex than unzip and run. Bundle your damn dependencies! It’s not hard.
8
6
65
1
1
9
@GustavSterbrant
Gustav Sterbrant
4 months
In the shader compiler we used for Nebula, I had a gigantic if-else chain to test for built in types. Turns out there is a C++ limit for how many of these you can do!
@lemire
Daniel Lemire
4 months
The following is likely to compile to only a handful of instructions and it is hard to beat in terms of performance.
Tweet media one
33
1
190
0
0
9
@GustavSterbrant
Gustav Sterbrant
9 months
@SheriefFYI I got the W11 toolbar show me one thing about my Bluetooth devices and the third and newest layer of the settings window showed me another. They are not in sync. Disabling Bluetooth in the toolbar breaks something internally and turns the rest into a house of cards.
1
0
9
@GustavSterbrant
Gustav Sterbrant
5 months
@SpacelordTH @echo_pbreyer Vote for whatever party wants to leave the EU.
0
1
9
@GustavSterbrant
Gustav Sterbrant
1 year
@turanszkij I always develop on AMD and notice the opposite. Most recently with NVIDIA cards giving incorrect queue support bits in Vulkan. Or when a GLSL barrier() followed by a groupMemoryBarrier() (AMD single pass downscaler) caused a device lost.
0
1
9
@GustavSterbrant
Gustav Sterbrant
10 months
@mrousavy Yeah, that’s ridiculous. You already have plenty of languages that does that where the language can properly interface with the hardware.
1
0
9
@GustavSterbrant
Gustav Sterbrant
1 year
@SheriefFYI There is no accounting in the tech world for the use of unnecessarily ineffective software consuming significantly more energy than required. Having such accountability would probably reduce the tech sector by orders of magnitude.
1
2
8
@GustavSterbrant
Gustav Sterbrant
6 months
It coming from a government doesn’t make it valid. In fact, the governments lie on such a regular basis that if anything, your default reaction should be “why would a bureaucrat know?”. Which ironically is precisely what this statement is about - incompetence.
@0xglitchbyte
Glitchbyte
6 months
"We dont need memory safety languages like Rust" You're wrong, we do "C/C++ is memory safe enough though. These problems are skill issues" Wrong again Most production code uses malloc() and free() Its the allocator that was given with C/C++, and its the one that most will
Tweet media one
65
66
476
1
0
9
@GustavSterbrant
Gustav Sterbrant
5 months
Implemented a custom pipeline cache for Nebula. We have 4 state deciding the pipeline so no need to hash whatever 11 different parameters the driver needs to find the pipeline. No need to do a driver call either. Much faster than using the pipeline cache, at least back in 2017.
@_plop_
Jeremy Laumon
5 months
@SheriefFYI @ragekit @Sebasti66855537 @SebAaltonen @never_released @matiasgoldberg We tried it at the time of Zero Dawn and it was slower and used lots of memory. I think I'd rather make my own cache at this point.
1
0
3
1
0
8
@GustavSterbrant
Gustav Sterbrant
3 months
@TDogewhisperer @Rainmaker1973 It’s the worst tutorial you can imagine is all
0
0
8
@GustavSterbrant
Gustav Sterbrant
1 year
@RetroTechDreams Saw this in a second hand the other day! Didn’t get it :(
Tweet media one
0
0
8
@GustavSterbrant
Gustav Sterbrant
3 months
You’d need waaaaay more than that to make windows run smoothly 🤣
@Geeky_Vaidy
Vaidyanathan S
3 months
Microsoft claims new Copilot PCs are 58% faster than the MacBook Air M3 #Microsoft
Tweet media one
7
6
20
3
0
8
@GustavSterbrant
Gustav Sterbrant
5 months
The soul drained out of Android, a step by step chronicle.
@punitsingh176
Punit Singh
5 months
Android evolution from Android 1 to Android 14. A thread 🧵 1. Android 1.0: Alpha (API 1) Launch date: 23 September 2008
Tweet media one
489
5K
33K
0
0
8
@GustavSterbrant
Gustav Sterbrant
3 months
@ShitpostRock Writers don’t have friends so they don’t understand friendships. Look at Hollywood acting, everyone drinks constantly or smokes, especially when stressed and in danger. For a normal person, most Hollywood characters act completely unnaturally, as if they are alien.
2
0
7
@GustavSterbrant
Gustav Sterbrant
9 months
Yep, no need to use an overly generic memory allocator when you can be a bit more specialized and implement a simpler one.
@matiasgoldberg
Matías N. Goldberg
9 months
@Alecazam123 My biggest win was not using VMA. We deal with memory mgt directly. (We've had bugs ofc but I can easily fix them when noticed)
2
1
6
1
1
8
@GustavSterbrant
Gustav Sterbrant
8 months
Got material buffers working with ray tracing. The buffer reference extension for GLSL is badass. Allows you to provide GPU addresses in a buffer, which can be offset on the GPU! This is more or less necessary for ray tracing, but it can have many more applications. 1
Tweet media one
1
0
7