News for hackers. Stuff that matters.
Re:Cursed Linear Types in Rust by PittleyDunkin on Sunday December 01, 2024 @07:16PM (#42291817)
> I don't know of any programming environment that facilitates properly specifying calculating something even that basic in the init phase of running the system,

The JVM has well-defined class loading semantics, including class initialization, that allow limited initialization capabilities before main is even run. Of course it has other problems too (defining the order in which these fire can be frustrating) but it always struck me as straightforward to work with.

Re:Cursed Linear Types in Rust by MrMcCall on Monday December 02, 2024 @04:33AM (#42294575)
Order is the soul of dataflow integration systems, which is programming. And this is because order is the sole purpose of the universe, itself, as it spreads change across time and space. And there are most definitely rules to what changes and how.

As above : so below :: the universe : our datablow integration systems. The challenge is to make ours perfectly clockwork, too.

Re:Cursed Linear Types in Rust by porridgeraisin on Monday December 02, 2024 @02:59PM (#42299767)
What are you talking about man
Re:Cursed Linear Types in Rust by MrMcCall on Monday December 02, 2024 @04:51PM (#42300809)
If you can't know the order of your static class init routines' execution, you can't create some kinds of software systems, where such information must be known beforehand. Failing that we have to contrive our own init workflow launched from a single point of entry, instead of using something intrinsic for the guarantees we need. What that means is that this advanced feature of the programming environment should be avoided in certain cases, making it useless and (IMO) to be avoided.

I was asking about programming environments that facilitate certain kinds of clean init semantics.

Like a clock. Or something that is operationally clocklike, deterministic, like we should design and implement our software to be in terms of reliability.