13 ms·
Illegal it may be, but as jart (who has probably seen some shit, to put it mildly) points out, that doesn’t stop a very wide variety of programs from depending
by zbentley 2y ago
Illegal it may be, but as jart (who has probably seen some shit, to put it mildly) points out, that doesn’t stop a very wide variety of programs from depending on this behavior, intentionally or inadvertently.
Heck, runtimes like Python (and Node, if jart is correct in GGP) ship with atfork handlers specifically for the purpose of massaging runtime-created mutexes/condvars/etc. I don’t think those are there because the language maintainers like breaking the rules; they’re probably there because users kept depending on this behavior in spite of cautionary statements.
- saagarjha 2y ago> I don’t think those are there because the language maintainers like breaking the rules You think wrong.
- zbentley 2y agoSay more? Is this just get-gud anti scripting language elitism, or a reference to some specific history that the Python/Node/others(?) maintainers have regarding decisions made in this area?
- saagarjha 2y agoPeople who maintain language runtimes are typically very smart people who often do things that are inadvisable when maintaining said runtime.