4 ms·
> I was simply giving an example of something simple and well-specified that isn't being done. But as has been explained elsewhere in this thread, it is being
by webmaven 10y ago
> I was simply giving an example of something simple and well-specified that isn't being done.
But as has been explained elsewhere in this thread, it is being done, but either by the OS or the VM, rather than as part of the language semantics.
Improvements in the explicit handling of memory allocation are both possible and desired in programming languages (eg. Rust has some interesting memory-related syntax and semantics), but this particular suggestion of yours just isn't well thought out.
- logicallee 10y agoYou picked one of three examples I gave - it doesn't matter if they were well-thought-out, I just gave three examples of things that aren't easy in any of the languages I code in. That's because every language I code in is ALMOST the same (there are translators that translate one to the other robotically, for example) - their biggest difference is syntax. Of course they differ a lot in their functionality - but none of them have much of that to begin with, in my opinion. Today's languages are tiny and hardly do anything. In my opinion. (Check this comment in twenty years and I think you will find I was right.)