Re:I have written a JVM in Rust
by robertlagrant on Friday July 21, 2023 @08:53AM
(#36813193)
Yes - that is a performance optimisation. I don't think comparing everything by value makes or breaks the implementation.
[ Parent
| on HN ]
>I don't think comparing everything by value makes or breaks the implementation.
Nothing much to think -- distinct objects must have distinct references [e.g. new String("a")!=new String("a')], literals must have the same references for the same values [e.g. "a"=="a"].
Re:I have written a JVM in Rust
by robertlagrant on Monday July 24, 2023 @06:33AM
(#36845616)
Why does it break the implementation, other than performance?