Better HN
topnewbestaskshowjobs
Log inSign up

horseloverthin

17 karma · joined Sep 27, 2026 (1mo ago) · 9 submissions

Submissions

comment 2d ago · link · parent

I think some increase in memory-safe outputs is a part of the 'memory safety story' of C++ regardless of whether this comes from type-level changes or improved constructs for memory safety.

Perhaps, a good way to describe the difference here is to clarify that contracts do not innately make C++ as a language more memory safe, but have plenty to do with the memory safety of C++ applications.

comment 2d ago · link · parent

making memory safe patterns easier to implement makes for more memory safety:)

comment 2d ago · link · parent

Contracts have plenty to do with memory safety; the notion of 'hardened implementations' and bound-checked vector access ( 2 enormously popular features) rely on the contracts model.

comment 2d ago · link · parent

There are many common places where this pointer case comes up and using references is simply not an option ( i.e plugin/FFI boundaries, dlsym callbacks, externed C). You will have a very bad time doing any systems programming, for example, if you live by the dogma of shaking your fist at raw pointers and saying use refs instead!

Perhaps for a more familiar case where contracts allow greater memory safety: constexpr T& operator[](size_t i) const pre(i < size()); constexpr T& front() const pre(!empty());

or even more commonly: void register_handler(std::unique_ptr<Handler> h) pre(h != nullptr);

comment 2d ago · link · parent

A good way to think about contracts and related features as they relate to memory safety is from the compilers perspective; pretty much any feature that gives the compiler additional information about a users intent for a scope allows the compiler to have to infer less, and thus have more ability to provide 'safety' guarantees.

The most trivial example of this is a check that a caller has provided non-null inputs ( hence allowing 'safe' unchecked access in most cases)

comment 6d ago · link · parent

I think that its likely the reason for a) the strange naming scheme b) the promptness between releases is that google has outpaced internal expectations for model development ( probably due to RSI ) and now can now utilize its vast compute pool much more effectively for autoresearch and exploratory self-improvement tasks. I wonder if this suggests a steeper trajectory for them than OAI/Anthropic in general.

comment 2w ago · link · parent

Assuming no implicit phacking a 15 point jump on tbench scientific is a big deal.

I suspect we will see people being adamant that this model simply 'feels' better due to long horizon goal alignment improvements ( like this kind that would cause this jump)

comment 3w ago · link · parent

formal algorithms for transformers provides perhaps the most succinct introduction to attention I can imagine https://arxiv.org/pdf/2207.09238