Gábor Gyebnár
2025-04-22

@kornel HTML, CSS and JS are prime exhibits of browser-specific behavior, we've been through years of pain. Compatibility issues even contributed to the death of IE. Maybe it's just me but historically, binary formats seem to be less error prone. WGSL as a language is pretty neat though.

2025-04-21

@kornel @xoofx Text is not the issue, but vendor-specific parsers are. GLSL is a prime example, it has to be parsed by the driver. In the demoscene, since most people have nVidia hw, hardly any OpenGL demos work on AMD lately. I'm afraid we'll see the same issue with Tint (Chrome) and Naga (Firefox).

2025-03-20

Trying #leptos for frontend dev these days. Having static types on FE is great, elminates most of the guesswork. I finally know which fields & methods these objects have without trial & error.

Gábor Gyebnár boosted:
Laurent Le Brunllb@floss.social
2025-03-16

I just published a new blog post about my experience working on developer tools and large-scale codebase migrations at Google. I hope some will find it interesting.

laurent.le-brun.eu/blog/evolvi

2025-03-16

@llb Great article! Finally had the time to read it. Brings back a few memories, too. :)

2025-02-28

First render after rewriting my toy engine from Vulkan to #WebGPU. And I'm awestruck, again.

It's upside down, GUI is missing, shadow map is buggy. But it's not a black screen. In fact, most things work well on the first render.

When I wrote 3D in C++, black screens and crashes were quite common. C++ tells you how you _can_ use an API, but #rust tells you how you _should_. And the validation checks of both #wgpu and #vulkano are awesome.

2025-02-13

#windsurf made me a "2024 wrapped" page to make me feel good. Super thoughtful, even though I only started using it yesterday. Why not "top 100%" though?

2025-02-11

I clicked on the "update docker" button and it uninstalled itself. I admire the honesty.

2025-02-10

My displacement shader just applies normal mapping on the original surface normals as if no displacement was happening.

I was worried about that when I wrote it. Turns out, it's still visually acceptable.

Adjusting the gradient would be a bit more involved since it needs need some info about mesh topology, but the displacement is implemented in the vertex shader where there's no such info by default. I'll need to find a solution.

2024-12-12

@ekuber So good. :) Combined with #[non_exhaustive], the ".." syntax is a now very convenient way to maintain API compatibility. Typing "..Default::default()" was driving me nuts. :)

2024-11-14

The Microsoft Weather app on Windows. WTH is going on? Why so many renderer processes?

2024-11-12

@chainq To be fair, some of the Rust libraries have nice reports when there's a missing library telling you what you need to install. I don't know how that works in FPC.

Gábor Gyebnár boosted:
Esteban Küber :rust:ekuber@hachyderm.io
2024-10-25

"Default fields in structs" RFC is in "final comment period", meaning the feature has been accepted. Thanks to t-lang for going over their concerns and discussing them so quickly!

Soon, you'll be able to write in nightly

#[derive(Default)]
struct Foo {
bar: i32 = 42, // `Foo::default()` will give you a `Foo { bar: 42 }`
}

and

struct Foo {
mandatory: i32,
optional: i32 = 42,
}

// you don't need to specify optional
let foo = Foo { mandatory: 0, .. };

#RustLang #Rust

2024-10-25

@ekuber That simple `..` syntax, oh my, so cool, so much cleaner than before. Love it.

Gábor Gyebnár boosted:
josefjk
2024-10-23

the biggest problem in computer graphics programming is that the word 'height' is one character longer than the word 'width'

2024-10-23

@lumecolca I just called the police on you

2024-09-27

We made a demo!
Released at qbparty, using #rust + #vulkan, fully open source.

youtube.com/watch?v=QJ0BTwXt8s

2024-08-20

@ekuber I'm so happy this is happening. <3 Feel free to go overboard, these conflicts are rare and not trivial.

2024-08-07

Remember to load normal maps in linear space! Unlike albedo maps or most regular images, they are not sRGB. PBR materials in PNG format often have no clue how to interpret channel data in an image file. Here's a comparison between linear interpretation (correct) and sRGB (incorrect).

2024-08-06

Nice bug: I probably messed up HDRi envmap image loading.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst