[–] 1 point 3 months ago (6 children)

I dunno, I don't see the benefit to native TS in the browser. For compatibility, all sites will continue to serve JS, so what does TS gain anyone? And there is no performance benefit, maybe a performance hit given none of the type validation can happen until all of the scripts have downloaded, so execution can't begin until that has happened?

I could be way off on this though, I'm not a webdev :/

  • source
  • parent
  • context
  • [–] 5 points 3 months ago

    Much shorter term, the point of the census is to know where people are and what they need, so government spending can be done effectively. No point building hospitals/centrelink/etc in areas that don't need them.

    Australian census records are (opt-in) deanonymised after 100 years, so there is some historical value.

  • source
  • parent
  • context
  • [–] 9 points 3 months ago (3 children)

    I believe, and I could be very wrong, that it kills the largest memory process. The problem is that it may not be the problematic process. You could have a well behaved DB that is using a stable 80%, and a runaway process that rapidly fills the remaining 20%, and OOM will kill the DB, and let the out of control process keep consuming memory until it becomes the largest. Then your DB is down and you don't known why.

    I like the idea of just killing processes at random though. Determinism is overrated.

  • source
  • parent
  • context
  • [–] 1 point 3 months ago (8 children)

    Arguably typescript fits, it is converted to JS for runtime, but the developer writes TS. You theoretically could transpile python or lua to JS, no idea if it exists yet though.

    Otherwise WASM would be the main contender, dunno if lua or python can compile to wasm, but lots of languages can.

  • source
  • view more: ‹ prev next ›