Skip to main content
tsanderdev u/tsanderdev avatar

tsanderdev

u/tsanderdev

Feed options
Hot
New
Top
View
Card
Compact

r/rust icon

A place for all things related to the Rust programming language—an open-source systems language that emphasizes performance, reliability, and productivity.


Members Online
r/rust

A place for all things related to the Rust programming language—an open-source systems language that emphasizes performance, reliability, and productivity.


Members Online

Why / how does unsafe not affect niche optimisations?

tsanderdev
commented

The optimizations still take place, they just result in wrong code if you set it to 0. The usafe constructor variant just puts the responsibility of that on you. It's assumed you have prior checks and reasoning or trusted input only, to ensure it doesn't happen.


r/vulkan icon
A banner for the subreddit

News, information and discussion about Khronos Vulkan, the high performance cross-platform graphics API.


Members Online
r/vulkan
A banner for the subreddit

News, information and discussion about Khronos Vulkan, the high performance cross-platform graphics API.


Members Online

Vulkan 1.4.341 spec update

tsanderdev
commented

Roadmap 2026!


r/rust icon

A place for all things related to the Rust programming language—an open-source systems language that emphasizes performance, reliability, and productivity.


Members Online
r/rust

A place for all things related to the Rust programming language—an open-source systems language that emphasizes performance, reliability, and productivity.


Members Online

rust_analyzer is eating my memory, any counter measure?

tsanderdev
commented

The cargo workspace feature means ra doesn't have to load and analyze each crate in a separate process. For multiple workspaces I think that's unavoidable.


r/gamedesign icon

For topics related to the design of games for interactive entertainment systems - video games, board games, tabletop RPGs, or any other type. /r/GameDesign is not a subreddit about general game development, nor is it a programming subreddit. This is a place to talk about Game Design and what it entails. Use this community to network, discuss crafting rulesets and general game design, and share game design tips with other game designers. Designers of all experience levels are welcome!


Members Online
r/gamedesign

For topics related to the design of games for interactive entertainment systems - video games, board games, tabletop RPGs, or any other type. /r/GameDesign is not a subreddit about general game development, nor is it a programming subreddit. This is a place to talk about Game Design and what it entails. Use this community to network, discuss crafting rulesets and general game design, and share game design tips with other game designers. Designers of all experience levels are welcome!


Members Online

Design challenge: Can you make "degrowth" more fun than "infinite expansion"?

tsanderdev
replied to Askariot124

4X games usually don't have metagame progression, but it's an interesting idea.


r/rust icon

A place for all things related to the Rust programming language—an open-source systems language that emphasizes performance, reliability, and productivity.


Members Online
r/rust

A place for all things related to the Rust programming language—an open-source systems language that emphasizes performance, reliability, and productivity.


Members Online

Rust's standard library on the GPU

tsanderdev
replied to akbakfiets

Is modern Vulkan enough to keep up with CUDA?

Not yet. 2 things are missing: forward progress guarantees and synchronization/memory primitives without api command. You need forward progress for locks without ub, synchronization primitives and memory domain transfers for events and memory updates while a dispatch is running.


r/gamedesign icon

For topics related to the design of games for interactive entertainment systems - video games, board games, tabletop RPGs, or any other type. /r/GameDesign is not a subreddit about general game development, nor is it a programming subreddit. This is a place to talk about Game Design and what it entails. Use this community to network, discuss crafting rulesets and general game design, and share game design tips with other game designers. Designers of all experience levels are welcome!


Members Online
r/gamedesign

For topics related to the design of games for interactive entertainment systems - video games, board games, tabletop RPGs, or any other type. /r/GameDesign is not a subreddit about general game development, nor is it a programming subreddit. This is a place to talk about Game Design and what it entails. Use this community to network, discuss crafting rulesets and general game design, and share game design tips with other game designers. Designers of all experience levels are welcome!


Members Online

Design challenge: Can you make "degrowth" more fun than "infinite expansion"?

tsanderdev
commented

For inspiration, Dwarf Fortress for example likely kills you at some point regardless of how good you are, and it's still fun.

I don't think you can make a slow downward spiral fun though, in DF it's usually pretty sudden events that overpower you. When you can already see your end coming, why continue playing?

An idea to counteract that would effectively be "I'm going to 4X even harder", conquering fresh new exploitable land from preservative empires. Then it's a question of if you can keep that momentum going until you win or will you collapse before that. The uncertainty means it's worth following through.

For question 3, I think it depends on player preference. For example I'm relatively happy playing a small empire with inwards economy focus in stellaris. And building up a federation is also interesting to me.


r/ProgrammingLanguages icon

This subreddit is dedicated to the theory, design and implementation of programming languages.


Members Online
r/ProgrammingLanguages

This subreddit is dedicated to the theory, design and implementation of programming languages.


Members Online

Why not tail recursion?

tsanderdev
replied to jsshapiro

What languages have actual formal specifications with formally verified compilers anyways?

That's also not what you usually mean with "it doesn't mean anything" btw.

The meaning for a language without a spec is defined by the reference implementation. And it may very well be the case that semantics change in unpredictable or non-obvious ways on a compiler version change. But so long as the compiler itself doesn't have memory unsafety or race conditions, the translation is within a range of possibilities. The fact you can't easily enumerate the possibilities or determine them without compiling doesn't change that.


r/ProgrammingLanguages icon

This subreddit is dedicated to the theory, design and implementation of programming languages.


Members Online
r/ProgrammingLanguages

This subreddit is dedicated to the theory, design and implementation of programming languages.


Members Online

Why not tail recursion?

tsanderdev
replied to jsshapiro

Golang programs - quite literally - had no defined meaning prior to Zhao's work that was published just two years ago.

You don't need a formal spec if your compiler is the only one. The compiler source code is a spec in itself, just not very human-readable.