logoalt Hacker News

dlahodatoday at 2:59 PM2 repliesview on HN

- https://github.com/contextgeneric/cgp

- a lot of code now uses mix of witness types and const generics

- with new borrow checker release they will do new iterators 2.0

Seems like coding on 5 year old Rust is like C++ 98.


Replies

kibwentoday at 5:14 PM

I have never even heard of the linked repo, and it does not appear to be overly popular. Nor have I ever heard of "witness types" or seen code that attempts to make use of them. And no, any new borrow checker would not require some new approach to iterators. This entire comment reads like a non sequitur. Where on Earth did you get any of this from?

adrianNtoday at 4:46 PM

C++98 (and older) is still widely used in embedded systems.