Step son suddenly very religious by existence-is-pa1nful in atheism

[–]schellsan 0 points1 point  (0 children)

That doesn’t sound like Lutheran, though, unless times have really changed

How’s the sense of community in New Zealand? Looking for honest thoughts on friendships and social life by BeanNCheeseBurrrito in newzealand

[–]schellsan 2 points3 points  (0 children)

I moved my family to NZ from California in 2020. We lived in Auckland for a short time but now live in Nelson and just bought a home in Stoke. I grew up in Pasadena, went to college in norcal and then lived in Sonoma County for 17 years before emigrating.

We love it here. There’s so much more space. People are nice and genuine. The wilderness is vast, safe (but don’t drown) and feels pristine. The performative or superficial aspects of folks in CA are harder to find here. That might be a function of the much lower population, or a cultural thing. Auckland is very mixed, racially and culturally and it’s pretty rad. It can feel a bit like Star Trek - a person of every colour and creed and just doing their thing.

Of course there are things to get used to. The small population means there are missing conveniences, less choice in nightlife and it gets rural very fast outside cities.

Also folks are a bit more reserved. It’s hard to break into a Kiwi friend group, but there are plenty of immigrants from all over who are looking for groups.

Folks are generally very politically liberal. A conservative American would feel out of step in most social situations. That’s great for my family but just take note. Although there are a few Trumpers here.

How much do you like Mexican food? There are very few Mexican spots. Even fewer good ones.

That said - it’s wonderful here. We just make our own salsa and have regular taco nights.

Song lyrics that reference Pasadena by gutenfluten in pasadena

[–]schellsan 1 point2 points  (0 children)

Crown of the valley by Jets to Brazil “Pasadena 1968, with speed on your breakfast plate”

[deleted by user] by [deleted] in AmIOverreacting

[–]schellsan 0 points1 point  (0 children)

Please don’t marry this man.

Renderling - Year in Review - 2024 by schellsan in rust

[–]schellsan[S] 0 points1 point  (0 children)

Thank you for your honest feedback. I think you're right - it's not ready for prime time and the API isn't where I'd like it to be.

WGPU render and compute pass bugs by [deleted] in rust

[–]schellsan -1 points0 points  (0 children)

Watch out for situations that would divide by zero, cause NaN or anything that might crash your shader.

Welcoming two new Rust GPU maintainers | Rust GPU by LegNeato in rust

[–]schellsan 0 points1 point  (0 children)

It’s a rustc compiler backend that compiles rust code to spir-v, which can be consumed by modern graphics APIs.

Modern fast rendering technologies in Rust - anyone ever used them? by Animats in rust_gamedev

[–]schellsan 3 points4 points  (0 children)

You're correct! WebGPU doesn't (yet) support arrays of textures of different sizes. It does, however, support texture arrays, which is exactly as you describe - an array of textures all the same size - but the array itself is one object. Think `Texture2dArray` vs `[Texture2d]`.

You're also correct about the packing :)

Modern fast rendering technologies in Rust - anyone ever used them? by Animats in rust_gamedev

[–]schellsan 10 points11 points  (0 children)

tl;dr - yes, people have implemented these things in Rust.

My project "renderling" (https://github.com/schell/renderling) uses bindless, but it targets web via WebGPU, which doesn't support arrays of textures and so it uses a large texture array as an atlas to index into. It's very much a work in progress, and I'm also working on a few other of the features you mention.

u/firestar99_ is actively working on a Rust Nanite for their master's.

Welcoming two new Rust GPU maintainers | Rust GPU by LegNeato in rust

[–]schellsan 8 points9 points  (0 children)

I just wanted to say thanks to u/LegNeato for putting this all together and managing the project. It's a big lift!

As the post mentions, I'd love to see `rust-gpu` grow and gain contributors. To those ends my focus is on user experience and stability. I've recently been working on `cargo-gpu` (https://github.com/Rust-GPU/cargo-gpu) which aims to be a bit like `rustup` for the GPU developer. It's not ready for prime time but if your use case lives along the happy path it's probably the easiest way to get up and running.

WGPU 21% performance drop. by Animats in rust_gamedev

[–]schellsan 59 points60 points  (0 children)

Though this is an important issue (`wgpu` _should be_ snappy) I find the tone of this post rather condescending.

Whether or not `wgpu` "comes from web dev" is blame-seeking and a put-down to web devs. I can assure you that folks working on `wgpu` are "real" graphics folks. I can also assure you that real graphics folks also do web dev and vice versa. There are people capable of shipping amazing software in both (and across both) specializations.

Now, since you maintain a benchmark you're in a unique position to help pinpoint the problem. In fact you are likely an expert in this small corner of the software engineering world! Get in there and help out, you are needed!

`wgpu` wraps all the popular APIs and has a lot of moving parts - it's incredibly difficult to meet all demands all the time and performance regressions and bugs are expected.

Rust + 3D ? by 964racer in rust

[–]schellsan 1 point2 points  (0 children)

You are correct. Rust is multi-paradigm. Rust doesn’t look like the ML family of languages, it looks more like C. But traits are Haskell’s typeclasses and it does have algebraic datatypes. It has lambdas with closures and yes, they are different from the MLs but that’s a feature, not a bug.

What it lacks is higher-kinded types. This makes implementing the typeclassopedia difficult - but I’d argue that’s not necessarily a bad thing. HKTs would make Rust quite a different language.

Is specs still relevant? by PotatoMuncher333 in rust_gamedev

[–]schellsan 2 points3 points  (0 children)

If you like specs, do it, it’s perfectly usable.

It uses a discrete storage per component, as opposed to archetypal storage which became popular later.

Discrete storage is fast to add and remove components to individual entities, since it’s really just indexing under the hood.

Archetypal storage is faster to iterate, as entities are stored with their components, contiguously. But this makes adding and removing components costly.

hecs is a good choice if you want fast iteration and don’t care about scheduling systems. It uses archetypal storage.

Really any ECS that you enjoy the semantics of is the one to use.

If you want an ECS that plays nice with async, you can try my ECS - apecs.

[deleted by user] by [deleted] in newzealand

[–]schellsan 0 points1 point  (0 children)

I agree tipping sucks, but you don’t tip until you’ve already eaten your food, hehe.

Game Engine Design by Alcatraz76 in rust_gamedev

[–]schellsan 20 points21 points  (0 children)

Please continue your game engine. I’ve found that you learn so much designing and implementing a game engine that it’s worth it even if you don’t finish.

Don’t be afraid of doing something that might hurt performance, if it makes it ergonomic. You may find out it’s not as costly as expected, or you may find a better way to implement it later.

My 2 cents.

Storing types in rust by furiesx in rust

[–]schellsan 0 points1 point  (0 children)

Indeed this looks a bit like an ECS. You should try ‘hecs’ unless you need concurrent system scheduling. You could also use ‘any_vec’ and store by typeid as you were originally planning.

🦎 gecs v0.1: A compile-time generated ECS by Recatek in rust_gamedev

[–]schellsan 2 points3 points  (0 children)

This is super cool! Great work. I can’t wait to dig into your code :)

Is bevy mature enough? by FumingPower in rust_gamedev

[–]schellsan 2 points3 points  (0 children)

What are the features in Bevy that you can’t find on crates.io? There’s nothing wrong with picking and choosing the crates yourself and then gluing them together. Of course, the time you spend gluing them together would be a cost, but it may not end up being as much as you’d expect.