News for hackers. Stuff that matters.
Re:RISC-V OS using Rust: Graphics by jcelerier on Tuesday August 04, 2020 @02:35AM (#24047286)
This doesn't make a lot of sense to me. If a language has a feature, people will use it, encouraged or not. So I really don't see the argument there.
Re:RISC-V OS using Rust: Graphics by estebank on Tuesday August 04, 2020 @10:53AM (#24050569)
Of the examples given, Rust can only do the first one, overrides + because it is treated as just another method call. Assignments struct constructors and dereferencing always do what they look like they are doing as they cannot be overriden.
Re:RISC-V OS using Rust: Graphics by a1369209993 on Wednesday August 05, 2020 @06:47PM (#24066446)
> If a language has a feature, people will use it

You can also use asm blocks (or string literals casted to function pointers) to wreak all kinds of havok. Oddly, noone seems particularly concerned about that.