• 2 Posts
  • 1.22K Comments
Joined 2 years ago
cake
Cake day: November 14th, 2023

help-circle











  • Because I converted some backend processing services from nodejs to rust,

    You converted only the functions you needed and only included the functions you needed. You did not convert the entire node.js codebase and then include the entire library. That’s the problem I’m describing. A few years ago I toyed with javascript to make a LCARS style wall home automation panel. The overhead of what other people had published was absurd. I did what you did. I took out only the functions I needed, rewrote them, and reduced my program from gigabytes to megabytes even though it was still all Javascript.


  • This isn’t Reddit. You don’t need to talk in absolutes.

    I haven’t posted anything on reddit in years. There is no need to start off a post with insults.

    re: garbage collection

    I wrote java back in 1997 and the programs used a few megabytes. Garbage collection doesn’t in itself require significantly more ram because it only delays the freeing of ram that would have been allocated using a non garbage collection language. Syntatic sugar like iterators does not in general save gigabytes of ram.

    The OP isn’t talking about 500k apps now requiring 1MB. The article talks about former 85K apps now taking GB’s of ram.