lade...
random avatar

zeux - Network

Posts Subscribe

Some file formats like OBJ and PPM are delightfully simple to write, which makes them great as a debugging tool since you can use an...

https://mastodon.gamedev.place/@...

Some file formats like OBJ and PPM are delightfully simple to write, which makes them great as a debugging tool since you can use an existing viewer, but if you decide to parse them the delight evaporates instantly.

(I guess that's generally true of many file formats? Some formats are painful to read *and* write though!)

27.3.2025 20:21Some file formats like OBJ and PPM are delightfully simple to write, which makes them great as a debugging tool since you can use an...
https://mastodon.gamedev.place/@...

ah, nothing like finding a bug that was introduced in 2018 with an optimization commit

https://mastodon.gamedev.place/@...

ah, nothing like finding a bug that was introduced in 2018 with an optimization commit

27.3.2025 17:49ah, nothing like finding a bug that was introduced in 2018 with an optimization commit
https://mastodon.gamedev.place/@...

I've ran my benchmarks on a few more CPUs out of curiosity, and unlike previous posts I've normalized the throughput by CPU...

https://mastodon.gamedev.place/@...

I've ran my benchmarks on a few more CPUs out of curiosity, and unlike previous posts I've normalized the throughput by CPU frequency. (this is not *quite* correct to do! for a variety of reasons. but it's interesting.)

On one hand, it's striking how little normalized performance gain there is in Apple Mn. On the other hand, it's striking just how good M1 was and is by this measure.

Single thread, vtx0/1 are SIMD heavy, idx is scalar. M1/v0.22 = version without Apple specific optimizations.

27.3.2025 16:45I've ran my benchmarks on a few more CPUs out of curiosity, and unlike previous posts I've normalized the throughput by CPU...
https://mastodon.gamedev.place/@...

morning audio track: tales of yore by @arashttps://open.spotify.com/episode/4IVlBhlTMznd7G9YPgYhK3

https://mastodon.gamedev.place/@...

morning audio track: tales of yore by @aras

open.spotify.com/episode/4IVlB

22.3.2025 16:28morning audio track: tales of yore by @arashttps://open.spotify.com/episode/4IVlBhlTMznd7G9YPgYhK3
https://mastodon.gamedev.place/@...

Does anyone want to help make a great .OBJ parser even better? :) .obj files apparently support line directive, and fast_obj doesn't...

https://mastodon.gamedev.place/@...

Does anyone want to help make a great .OBJ parser even better? :) .obj files apparently support line directive, and fast_obj doesn't handle it atm.

github.com/thisistherk/fast_ob

20.3.2025 17:50Does anyone want to help make a great .OBJ parser even better? :) .obj files apparently support line directive, and fast_obj doesn't...
https://mastodon.gamedev.place/@...

In light of AVX10 news I've ran the benchmarks again with recent code (some tweaks to idx) & AVX512 config.I've written this...

https://mastodon.gamedev.place/@...

In light of AVX10 news I've ran the benchmarks again with recent code (some tweaks to idx) & AVX512 config.

I've written this (128bit) AVX512 code in 2019. I haven't gone ahead and enabled it by default because of muted gains and AVX512 deployment story on clients which continues to be Weird, but hey at least there's hope one day client Intel CPUs will get it :) the Intel chip here is a server Sapphire Rapids where AVX512 has been doing quite well for a while now.

19.3.2025 17:37In light of AVX10 news I've ran the benchmarks again with recent code (some tweaks to idx) & AVX512 config.I've written this...
https://mastodon.gamedev.place/@...

MSVC issue was due to some seriously broken codegen; I was able to work around that thankfully, with perf closer to clang on index decoder...

https://mastodon.gamedev.place/@...

MSVC issue was due to some seriously broken codegen; I was able to work around that thankfully, with perf closer to clang on index decoder now.

Clang has reasonable codegen and turns out gcc is an outlier here, using a surprising scalar to vector promotion that surprisingly saves time by increasing IPC. Not sure I want to replicate that for now…

18.3.2025 22:11MSVC issue was due to some seriously broken codegen; I was able to work around that thankfully, with perf closer to clang on index decoder...
https://mastodon.gamedev.place/@...

The index codec on Zen4 runs into some perf issues with clang though - don’t think Zen4 should necessarily be slower here. That said, MSVC...

https://mastodon.gamedev.place/@...

The index codec on Zen4 runs into some perf issues with clang though - don’t think Zen4 should necessarily be slower here. That said, MSVC is unfortunately even worse… we’ll see if these can be fixed by tweaking the code further.

18.3.2025 05:27The index codec on Zen4 runs into some perf issues with clang though - don’t think Zen4 should necessarily be slower here. That said, MSVC...
https://mastodon.gamedev.place/@...

Fun to see just how good Apple CPUs are in single core performance, especially if you tune the code.

https://mastodon.gamedev.place/@...

Fun to see just how good Apple CPUs are in single core performance, especially if you tune the code.

18.3.2025 05:24Fun to see just how good Apple CPUs are in single core performance, especially if you tune the code.
https://mastodon.gamedev.place/@...

At gdc wed-thu and maybe fri, dm if you’d like to grab coffee

https://mastodon.gamedev.place/@...

At gdc wed-thu and maybe fri, dm if you’d like to grab coffee

17.3.2025 23:49At gdc wed-thu and maybe fri, dm if you’d like to grab coffee
https://mastodon.gamedev.place/@...

hot take: vim with arrows is actually great and hjkl is unnecessary cognitive overhead

https://mastodon.gamedev.place/@...

hot take: vim with arrows is actually great and hjkl is unnecessary cognitive overhead

15.3.2025 23:04hot take: vim with arrows is actually great and hjkl is unnecessary cognitive overhead
https://mastodon.gamedev.place/@...

achievement unlocked: used “radii” in the APII wish I had a usecase for “frusta”

https://mastodon.gamedev.place/@...

achievement unlocked: used “radii” in the API

I wish I had a usecase for “frusta”

15.3.2025 00:07achievement unlocked: used “radii” in the APII wish I had a usecase for “frusta”
https://mastodon.gamedev.place/@...

With every release meshoptimizer documentation keeps improving; GitHub has an up to date version, but you can also always go to this website...

https://mastodon.gamedev.place/@...

With every release meshoptimizer documentation keeps improving; GitHub has an up to date version, but you can also always go to this website for the latest release:

meshoptimizer.org/

14.3.2025 16:14With every release meshoptimizer documentation keeps improving; GitHub has an up to date version, but you can also always go to this website...
https://mastodon.gamedev.place/@...

Boosts / GitHub stars appreciated!https://github.com/zeux/meshoptimizer/releases/tag/v0.23

https://mastodon.gamedev.place/@...

Boosts / GitHub stars appreciated!

github.com/zeux/meshoptimizer/

14.3.2025 16:04Boosts / GitHub stars appreciated!https://github.com/zeux/meshoptimizer/releases/tag/v0.23
https://mastodon.gamedev.place/@...

meshoptimizer 0.23 is out! Featuring vertex codec v1 (increased compression ratio, faster decompression), even faster decompression on Apple...

https://mastodon.gamedev.place/@...

meshoptimizer 0.23 is out! Featuring vertex codec v1 (increased compression ratio, faster decompression), even faster decompression on Apple Silicon, improvements to meshlet builder with fewer disconnected clusters and more options for clustered raytracing and hierarchical clusterization, new algorithms for hierarchical clusterization, simplification quality improvements and more.

Thanks to Valve for sponsoring most of the work on the core library in this release!

14.3.2025 16:04meshoptimizer 0.23 is out! Featuring vertex codec v1 (increased compression ratio, faster decompression), even faster decompression on Apple...
https://mastodon.gamedev.place/@...

TypeScript compiler being rewritten in Go (from TypeScript): https://devblogs.microsoft.com/typescript/typescript-native-port/Curious choice...

https://mastodon.gamedev.place/@...

TypeScript compiler being rewritten in Go (from TypeScript): devblogs.microsoft.com/typescr

Curious choice of the target language, and interesting development regardless.

11.3.2025 17:27TypeScript compiler being rewritten in Go (from TypeScript): https://devblogs.microsoft.com/typescript/typescript-native-port/Curious choice...
https://mastodon.gamedev.place/@...

P.S. I checked and this affects luau as well. If you use clang-19 or clang-20 in production, I recommend using `-mllvm...

https://mastodon.gamedev.place/@...

P.S. I checked and this affects luau as well. If you use clang-19 or clang-20 in production, I recommend using `-mllvm -tail-dup-pred-size=256 -mllvm -tail-dup-succ-size=256` as a workaround in the meantime. I've let the Luau folks know, hopefully they keep track of the pending LLVM fix and/or adjust the CMake settings accordingly if this never gets fixed...

10.3.2025 01:13P.S. I checked and this affects luau as well. If you use clang-19 or clang-20 in production, I recommend using `-mllvm...
https://mastodon.gamedev.place/@...

Great article. I read the tail call article when it appeared and was also very confused by the results - no relation to Python but I tuned...

https://mastodon.gamedev.place/@...

Great article. I read the tail call article when it appeared and was also very confused by the results - no relation to Python but I tuned luau interpreter to bits a few years ago and there just wasn’t a 10% opportunity there based on very careful inspection of assembly; I filed this away as “maybe CPython interpreter loop is weird” but the reality is more interesting.
mendeddrum.org/@fanf/114135155

10.3.2025 01:03Great article. I read the tail call article when it appeared and was also very confused by the results - no relation to Python but I tuned...
https://mastodon.gamedev.place/@...

"... the legal officers in companies sometimes create the worst possible setup for companies because the legal officers don't...

https://mastodon.gamedev.place/@...

"... the legal officers in companies sometimes create the worst possible setup for companies because the legal officers don't really try to balance the legal risk with the company potential.
They are mostly going to err on the safe side in order to be right later. If you are super conservative, you never, never do anything wrong from your point of view, However, you're paralyzing the company."

(from changelog.com/podcast/631)

8.3.2025 23:50"... the legal officers in companies sometimes create the worst possible setup for companies because the legal officers don't...
https://mastodon.gamedev.place/@...

Are there special considerations wrt FFI for languages like C#, Rust, Zig, Odin, Nim, Go for C functions that take array of pointers - is...

https://mastodon.gamedev.place/@...

Are there special considerations wrt FFI for languages like C#, Rust, Zig, Odin, Nim, Go for C functions that take array of pointers - is that substantially worse vs an array of values? (eg imagine a function that takes an arbitrary number of float arrays, vs a function that takes a single float array that has all streams combined and interleaved)

1.3.2025 17:43Are there special considerations wrt FFI for languages like C#, Rust, Zig, Odin, Nim, Go for C functions that take array of pointers - is...
https://mastodon.gamedev.place/@...
Subscribe
To add news/posts to your profile here, you must add a link to a RSS-Feed to your webfinger. One example how you can do this is to join Fediverse City.
         
Webfan Website Badge
Nutzungsbedingungen   Datenschutzerklärung  Impressum
Webfan | @Web pages | Fediverse Members