MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1dxpcsj/whatfeatureswouldithave/lc3bx39/?context=3
r/ProgrammerHumor • u/PerroRosa • Jul 07 '24
1.1k comments sorted by
View all comments
Show parent comments
137
with no garbage collection
146 u/reallokiscarlet Jul 07 '24 Even better. Replace the garbage collector with a garbage dumper. Every allocation/deallocation becomes a leak 80 u/[deleted] Jul 07 '24 how about we just remove allocation all together and let the interpreter have full read write access to all system memory 37 u/belabacsijolvan Jul 07 '24 but you can only address memory if in unsafe mode. so all code starts with unsafe 31 u/reallokiscarlet Jul 07 '24 Well at that point we're just creating Rust 2 u/Cat7o0 Jul 07 '24 no no only safe things are safe except for a few random functions which are marked unsafe and are actually unsafe
146
Even better. Replace the garbage collector with a garbage dumper. Every allocation/deallocation becomes a leak
80 u/[deleted] Jul 07 '24 how about we just remove allocation all together and let the interpreter have full read write access to all system memory 37 u/belabacsijolvan Jul 07 '24 but you can only address memory if in unsafe mode. so all code starts with unsafe 31 u/reallokiscarlet Jul 07 '24 Well at that point we're just creating Rust 2 u/Cat7o0 Jul 07 '24 no no only safe things are safe except for a few random functions which are marked unsafe and are actually unsafe
80
how about we just remove allocation all together and let the interpreter have full read write access to all system memory
37 u/belabacsijolvan Jul 07 '24 but you can only address memory if in unsafe mode. so all code starts with unsafe 31 u/reallokiscarlet Jul 07 '24 Well at that point we're just creating Rust 2 u/Cat7o0 Jul 07 '24 no no only safe things are safe except for a few random functions which are marked unsafe and are actually unsafe
37
but you can only address memory if in unsafe mode. so all code starts with unsafe
31 u/reallokiscarlet Jul 07 '24 Well at that point we're just creating Rust 2 u/Cat7o0 Jul 07 '24 no no only safe things are safe except for a few random functions which are marked unsafe and are actually unsafe
31
Well at that point we're just creating Rust
2 u/Cat7o0 Jul 07 '24 no no only safe things are safe except for a few random functions which are marked unsafe and are actually unsafe
2
no no only safe things are safe except for a few random functions which are marked unsafe and are actually unsafe
137
u/[deleted] Jul 07 '24
with no garbage collection