Skip Navigation

High memory consumption in a hello world on Raku

fbmac.net Memory consumption of a web application in different programming languages | fbmac.net

You probably have your opinion on which programming language to use for a larger project, but imagine you have a very small project, and you want it to consume as little memory as possible.

I did comparison of a hello world web service in a few programming languages to get an idea of how much memory each of them consumes from the start.

Raku started consuming 345MiB. Is it expected, or is it something wrong on my test?

I used this dockerfile:

FROM rakudo-star
RUN apt-get update
RUN apt-get install -y libssl-dev
RUN zef install Cro::HTTP --force-test
COPY . /app/
ENTRYPOINT ["perl6", "/app/app.raku"]
1

You're viewing a single thread.

1 comments