• 0 Posts
  • 7 Comments
Joined 3 years ago
cake
Cake day: June 4th, 2023

help-circle
  • Memory leaks are often difficult to deal with, and many contemporary languages basically encourage them. I know many applications that suffer significant performance issues due to memory leaks, and way too many that simply don’t care about memory footprint.

    A language that treats memory management differently from the start makes all these problems much easier to deal with, if they appear at all. The real question is if the other costs of using the language are worth the somewhat niche performance gains.


  • If the language makes common but dofficult to deal with error impossible, that’s nice. Not critical, but nice.

    If the language introduces easy to make and hard to deal with errors, that’s an issue. Not a deal breaker, but an issue.

    The idea does exist, but it’s stated with way more confidence and finality than it deserves. That’s social media I guess.




  • LEDs are so efficient that even microamps can power them. If your LED driver is cheap, it’ll run on basically nothing, or charge up enough to start for a fraction of a second.

    The microamps come from a hot wire running next to a switched wire behaving as a capacitor when carrying AC voltage, letting microamps leak through. (It’s not required that the light is on the hot side of the switch as I said previously, my bad).

    This can happen if the switch box is a terminal box with hot and switched wires in the same cable, which is rather common. Probably some other configurations too.