Co-author of https://wasmgroundup.com — learn Wasm by building a simple compiler in JavaScript.
Prev: CDG/HARC, Google, BumpTop
💯
💯
const newCount = checkNotNull(refCounts.get(node)) - 1;
I generally wouldn't assign the result into a new var, I agree that an assertion or type predicate is preferable then.
const newCount = checkNotNull(refCounts.get(node)) - 1;
I generally wouldn't assign the result into a new var, I agree that an assertion or type predicate is preferable then.
So I buy the argument for C++, but it's less clear to me that it makes sense for languages like Mojo or Odin.
So I buy the argument for C++, but it's less clear to me that it makes sense for languages like Mojo or Odin.