Justwerk compiler flag
monkyyy
crazymonkyyy at gmail.com
Thu Jul 17 20:12:46 UTC 2025
On Thursday, 17 July 2025 at 18:05:08 UTC, Dukc wrote:
> Are there often problems that the particular hack of mutating
> immutable data would resolve?
Modifying strings live with range hacks instead of generally
handholding it during several layers
Immutablity of strings mainly prevents segfualts of attempting to
modify litterals in my code, thats the os being annoying but
sometimes it does get a line number that needs a .dup
Im generally using my own data structures, but if phoboes shipped
more useful ones(im imagining python-like datastructure aware
filters on opIndex being something that could be a use, and would
guaranteed embrace these harmful ideas) I imagine there would be
more cases of unnecessary immutably
> In the case of @safe and private, can't you simply not use them
> when they get in the way
Other people make mistakes, its very sad; I dont actually want to
be as independent as adr sitting on my 100000 lines of code after
10 years.
More information about the dip.ideas
mailing list