Comment

Comment by jeezfrk

It would be quite useful to protect other code from that.

It could easily be a compiler-based protection: any opcode that can generate it from two/one normal input must be checked for normal results.

This is similar to how C++ gives few guarantees but "new" and "this" never give null or unallocated values.

parent jeezfrk 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton