News for hackers. Stuff that matters.
Re:I have written a JVM in Rust by maverwa on Friday July 21, 2023 @08:46AM (#36813140)
yeah, I'd assume as much. If it indeed falls back to a by-value comparison it would be slower, but should work.
Re:I have written a JVM in Rust by xxs on Friday July 21, 2023 @11:24AM (#36814896)
nope - it'd be plain wrong. Literals must be equal by reference, comparing them by value would just break JLS, as they would be equal to any other composed string by reference as well.