News for hackers. Stuff that matters.
Re:The Pain of Real Linear Types in Rust by kibwen on Tuesday May 09, 2017 @01:00PM (#14301756)
I can offer no proof but I'm Pretty Sure that one could hack together linear types using procedural macros, though I can't posit how nice they would be to use nor how well they would interact with the rest of the language and ecosystem.
Re:The Pain of Real Linear Types in Rust by mafribe on Tuesday May 09, 2017 @02:00PM (#14302411)
Wouldn't that be a good path: start with initial experiments based on types-by-macros, and see how well that works. Can't be worse that C++'s template meta-programming.