Toot

Written by LogicalErzor on 2024-07-26 at 07:59

In order to remove the “unsafe” keyword from Rust, I wonder if the key is to let programs know they have a limited amount of memory rather than an unlimited one

If so, crt0.S (?) would essentially become a memory manager of sorts. All it would do is allocate memory when the program asks for it and deallocate when something goes out of scope or the program exits

And speaking of memory management, did a deep dive into how new and delete works in cpp (start from operator new vs placement new)

=> More informations about this toot | View the thread | More toots from Logical_Error@fosstodon.org

Mentions

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/112851731303323354
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
202.274964 milliseconds
Gemini-to-HTML Time
0.499361 milliseconds

This content has been proxied by September (ba2dc).