News for hackers. Stuff that matters.
Re:Spectre Programming Language by slowcache on Friday May 15, 2026 @09:11PM (#48155858)
I'm not really sure what niche this fills.

To me, the main draw looks to be the invariants that you can supply within functions, but this isn't a new concept outside of it being a dedicated keyword. Otherwise this looks like rust without all of the functionality

Re:Spectre Programming Language by nm980 on Friday May 15, 2026 @11:14PM (#48156519)
It looks like a mix between zig and rust I would say
Re:Spectre Programming Language by asdkop on Saturday May 16, 2026 @03:51AM (#48157850)
I'm not really sure what your point is. "Rust without all of the functionality" is sort of a ridiculous thing to say given the goals of the two projects are completely different. You can't really apply DbC in Rust, and Rust makes it difficult to iterate upon ideas due to its rigid borrow checker.
Re:Spectre Programming Language by imtringued on Sunday May 17, 2026 @03:53AM (#48166892)
Doesn't Rust have anodized?

The usability is poor and I dislike stacking an endless quantity of function attribute markers, but if a library can replace your language, your priorities are wrong.

https://crates.io/crates/anodized

Re:Spectre Programming Language by asdkop on Sunday May 17, 2026 @05:19PM (#48173296)
...I really don't think stacking an insane amount of attribute markers will replace any dedicated programming language aiming to solve the issue. I would rather use Eiffel than use Rust like that.