Mark
just remember to 1) not call free() twice on same pointer and 2) use memory after free-ing it
Mark
wdym how does that work
Mark
it just works
Mark
xd
BinaryByter
how does memory paging work?
BinaryByter
wait
BinaryByter
iirc @qneko implemented it like a filesystem
BinaryByter
except for LMA paging
BinaryByter
he implemented that with an O(1) allocation and deallocation
klimi
Maxi
BinaryByter
kulimi?
Mihail
Climi?
klimi
klimi
i am first again
BinaryByter
NICE
klimi
klimi
i have so many things i should do xD
klimi
some good music?
klimi
piano / organ
Mihail
Why no trophy?
Mark
how does memory paging work?
by paging you mean using alternative memory storage, right?
BinaryByter
by paging you mean using alternative memory storage, right?
no, its the mechanism that creates pages and gives little chunks of memories out of those pages to processes
klimi
BinaryByter
there is a huge implementation of it in CLINL
BinaryByter
i'll have to refactor it
klimi
MAxi 3brown 1 blue
Mark
but i've read a bit about openbsd memory management
olli
But this is done by the OS to determine the physical location of the memory. The application is in general not aware of that
BinaryByter
yea
olli
And a memory management does not need to be aware of paging either
Mark
CLINL?
BinaryByter
the kernel a few of us develop
BinaryByter
we want to replace linux with modern C++
Mark
i'm generally anti-C++, so that'd not work out; however thanks for offering :)
Mihail
/bän
ÑöÙ
Mark
/bän
fök öff
Mihail
fök öff
Ç çäñ
BinaryByter
BinaryByter
however, why antic++?
Mark
wait i'm writing smh
Thespartann
"Starts typing the entire bible"
klimi
maxi
klimi
im so happy
BinaryByter
you should be!
klimi
but i have a lota work
klimi
on one task
klimi
they have written info
klimi
"WARNING this is extremly hard task so we decided to count only 5 poitns and the rest (5 ) points are bonus"
klimi
and they only want pdf
Mark
Why tho?
1) i've had so many goddamn issues with C++ and static linking 2) getting C++ working on non-glibc linux systems is major pain in the ass 3) binaries are bloated as fuck
Mark
tl;dr version
BinaryByter
aight
Mark
take it or leave it
Mark
i'm not sure how the hell you did even implement proper c++ support into kernel
BinaryByter
wat?
Mark
i mean
Mark
how does that work lol
Mark
yeah
Mihail
not rewriting linux
Mark
doesn't that mean they have to write a c++ stdlib from scratch?
BinaryByter
yes
Mark
oof
BinaryByter
same for C and any other language
Mark
same for C and any other language
if i'm not mistaken; to support C++ features, you actually have to write proper implementations for them (like exception handling etc.)
Mark
okay
Mark
i figured out the answer before i could finish writing the question lol
Lyrics
Basic calculas yeah it does
Mark