Elizabeth Mattijsen

Mostly working on the Raku Programming Language. Born at 314 ppm.

  • 463 Posts
  • 15 Comments
Joined 3 years ago
cake
Cake day: July 14th, 2023

help-circle





















  • Elizabeth MattijsenOPMtoRakuHello, Goodbye - Elizabeth Mattijsen
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    Well, I would agree with regards to PRE and POST. But ENTER / LEAVE are used a lot, and KEEP / UNDO most certainly as well by database oriented modules such as Red. There are 62 modules that use ENTER in the ecosystem, and 262 that use LEAVE. So definitely not obscure in Raku.

    I guess one of the reasons for LEAVE being used as much, is because Raku doesn’t have timely destruction (whereas Perl does).









  • Cro is a rather large package intended to run full blown interactive services multi-threaded. So that does not seem out of place.

    However, the amount of memory “used”, may actually be a lot less in reality. For instance, if a run:

    $ raku -e 'say Hello World"; sleep'
    

    on MacOS with an M1, Activity Monitor reports that as using 82.4MB. But if I let the system itself report what its max_rss was for a process, it reports as 140KB. So I’m not sure if the MB number indicate actual memory usage, or just potential usage.







Moderates