We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Mallort

From Esolang
Jump to navigation Jump to search

Mallort is a joke esolang created by User:Miui which is blatantly plagiarized from User:None1. All it can do is allocating memory except you have to drink a shot of Malört in the header comments.

Syntax

Mallort has two commands - drink As well as the original Malloc command - malloc. The syntax of the drink command is:

drink Malört

That will let you use the malloc command. Malloc CAN'T free the memory it allocated.

Example Programs

Allocate one byte of memory:

drink Malört
malloc 1

Allocate 1KiB of memory:

drink Malört
malloc 1024

Alternative:

drink Malört
malloc 512
malloc 512

Allocate the most memory possible in 1 line (2GiB?):

drink Malört
malloc 2147483647

(Be careful, running this will leak a lot of memory)

Damage the computer:

drink Malört
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647
malloc 2147483647

Allocates 128 GiB of memory, most computers don't have that much memory. How to fix it? Restart your computer and drink some Malort!

Interpreters

None1's malloc