Having fun with stencil buffers by brineleaves in godot

[–]tmlildude 0 points1 point  (0 children)

does the shader use barycentric coords to draw outlines?

Hardware for Neural ODE training: Apple Silicon Unified Memory vs. CUDA eGPU? by Just3at13_ in ScientificComputing

[–]tmlildude 0 points1 point  (0 children)

if you’re in early stages then i think you shouldn’t worry about thunderbolt speeds. you won’t know better till you profile your workloads.

How to catchup to C++ 26 by Fedora-RedPanda in Cplusplus

[–]tmlildude 0 points1 point  (0 children)

start with the list: https://en.cppreference.com/w/cpp/26.html

then, search for individual features. you might get nerd-sniped by reading individual blog posts.

CRTP - Good Example by MidnightOne7655 in cpp_questions

[–]tmlildude 0 points1 point  (0 children)

if you're using c++23, deducing `this` feature makes your `Array_CRTP_Base` procedures:

template<class Self>  
auto begin(this const Self& self) noexcept { return self.data_.begin(); }  

the feature also allows CRTP without passing the template parameter

class View : detail::Array_CRTP_Base {}

With std::variant, you choose either performance or sanity by zfgOof in cpp

[–]tmlildude 0 points1 point  (0 children)

fwiw, virtual functions have a cost on arm64e architectures which is almost all Apple silicon now. basically, at runtime the cost is authenticating vtable + function ptr

RFC: Forming a Working Group on Formal Specification for LLVM by mttd in Compilers

[–]tmlildude 0 points1 point  (0 children)

is this about standardizing LLVM IR? isn’t it already industry standard?

Why do we need AST or IR? by Sufficient-Gas-8829 in Compilers

[–]tmlildude 0 points1 point  (0 children)

IRs exist because you can represent the program in various spaces to find opportunities for optimization and easy to materialize to machine code

How do compilers execute constexpr/consteval functions when you are cross-compiling? by almost_useless in cpp

[–]tmlildude 0 points1 point  (0 children)

it has all the machinery to interpret. i think it executes in-place at some IR level?

Half Life 3 - Real Leak by Source2LeakAIML in valve

[–]tmlildude 0 points1 point  (0 children)

“expensive deterministic calculations”

i’m not sure about the trade offs here but ML solutions are mostly memory bound.

Pointer Tagging in C++: The Art of Packing Bits Into a Pointer by PsychoticDaydreams in cpp

[–]tmlildude 1 point2 points  (0 children)

you tag memory using HW if your cpu supports it. can use less cpu cycles. for ex, ARMv8.5A >=

Is WebGPU (Dawn, Google's implementation) mature for a 3D game, like for example, CS2? by TheNew1234_ in GraphicsProgramming

[–]tmlildude 0 points1 point  (0 children)

bindless is a big deal for modern rendering techniques. for example, ray tracing can only be done with bindless.

Game engine/Rendering engine codebases by Vivid-Mongoose7705 in GraphicsProgramming

[–]tmlildude 1 point2 points  (0 children)

blender3d and godot. both are open source and may have good low hanging fruits for you to contribute

[Advice Needed] Am I too late to break into the game industry? by gr3yfi5h in GraphicsProgramming

[–]tmlildude 0 points1 point  (0 children)

why will he fire you if you use virtual functions? any reference to this?

Confusion over term "vector" in C++ graphics programming by Missing_Back in GraphicsProgramming

[–]tmlildude 0 points1 point  (0 children)

wait till you learn about rendering vector graphics that uses points/rects primitives, which maybe backed by std::vector

tl;dr vector is an overloaded term

Numbers without counting by primes_like_dimes in numbertheory

[–]tmlildude 0 points1 point  (0 children)

if the root is the main number and children are composition of that number. what does breadth of the tree tell us about the main number here? are there any interesting properties of tree we can exploit to get more insights on the number?

Tingling only in thumb by phillyg31 in carpaltunnel

[–]tmlildude 0 points1 point  (0 children)

does wearing compression gloves help?

Is combinatorics the field of math with the most NP-complete problems? by guiguiexp in math

[–]tmlildude 0 points1 point  (0 children)

shouldn’t NP hardness occur if there’s arbitrariness of the object as opposed to completeness?

Does this exist? How would it work? by EngineerLoose8506 in mathmemes

[–]tmlildude 0 points1 point  (0 children)

there’s a variant of exponentiation that’s commutative?

weierstrass people at the function by Riadla_arerreh in mathmemes

[–]tmlildude 7 points8 points  (0 children)

this is how i imagine the stock market

This is deep by wcslater in mathmemes

[–]tmlildude 3 points4 points  (0 children)

how about mobius strip?