News for hackers. Stuff that matters.
Re:Why Rust Is the Future of Game Development by coddle-hark on Monday November 09, 2020 @02:02PM (#25038342)
No, it’s saying that you can do clever memory optimizations that the Rust compiler won’t let you do.
Re:Why Rust Is the Future of Game Development by kbenson on Monday November 09, 2020 @02:16PM (#25038571)
Actually "won't let you do" or "makes you clearly mark where you did those things"? That is, are you referring to things it doesn't actually support doing that you want/need to do, or just that it's unsafe?
Re:Why Rust Is the Future of Game Development by steveklabnik on Monday November 09, 2020 @02:03PM (#25038365)
What kinds of things, specifically?
Re:Why Rust Is the Future of Game Development by mlindner on Monday November 09, 2020 @02:58PM (#25039159)
You have full access to the memory in Rust. There's nothing in Rust that prevents you from doing those things. You can even do in-line assembly.
Re:Why Rust Is the Future of Game Development by efficax on Monday November 09, 2020 @02:23PM (#25038663)
you can do all of that in `unsafe` blocks
Re:Why Rust Is the Future of Game Development by pwinnski on Monday November 09, 2020 @03:14PM (#25039328)
What then would be the advantage in using Rust?
Re:Why Rust Is the Future of Game Development by p1necone on Monday November 09, 2020 @03:27PM (#25039473)
All the code you haven't written in unsafe blocks that you can still reason about more easily.