News for hackers. Stuff that matters.

lmh

Re:How safe is Zig? on Thursday June 23, 2022 @08:09PM (#31856577)
Thanks, that's interesting.
Re:How safe is Zig? on Thursday June 23, 2022 @07:52PM (#31856485)
Thanks, that's informative. This was meant to clarify the bounds of Zig's design rather than as a research proposal. Otherwise, one might read it as an open invitation to just the sort of demonic meta-thinking that its users abhor.
Re:How safe is Zig? on Thursday June 23, 2022 @01:24PM (#31852342)
Question for Zig experts:

Is it possible, in principle, to use comptime to obtain Rust-like safety? If this was a library, could it be extended to provide even stronger guarantees at compile time, as in a dependent type system used for formal verification?

Of course, this does not preclude a similar approach in Rust or C++ or other languages; but comptime's simplicity and generality seem like they might be beneficial here.

For the hardware and architecture nerds, CUTLASS now appears to include support for an INT1 (binary) AND-popcount matrix multiplication, in addition to the XOR-popcount present in Turing.
Re:A Peek at GNU Radio’s Buffer Architecture on Sunday January 15, 2017 @08:51PM (#13407761)
You may find this SDR LTE eNodeB interesting: http://bellard.org/lte/

There's also this open-source LTE library: https://github.com/srsLTE/srsLTE