When I was writing a coursework on basics of programming (it was a text editor running in a console like vim or nano) I used a wide character array linked list to store the contents of a text file in utf-8 encoding. To work with the elements of the list, I used the initialization and deinitialization functions (I wrote in C90, because C ++ is a fucking piece of shit without normal OOP, Python is too slow, and I didn’t know Java at that time), so the file reading function in the loop calls the initializer, which calls malloc to allocate memory for the structure. For deinitialization, all elements of the list are traversed, for each element a deinitializer is called, which calls free.
Python: *laughs*
Like 99% of the actually useful Python libraries are written in C++ lol
@@intifadayuri facts
This is a fucking gem!
The real question is why you have used malloc in a loop
videogames?
When I was writing a coursework on basics of programming (it was a text editor running in a console like vim or nano) I used a wide character array linked list to store the contents of a text file in utf-8 encoding. To work with the elements of the list, I used the initialization and deinitialization functions (I wrote in C90, because C ++ is a fucking piece of shit without normal OOP, Python is too slow, and I didn’t know Java at that time), so the file reading function in the loop calls the initializer, which calls malloc to allocate memory for the structure. For deinitialization, all elements of the list are traversed, for each element a deinitializer is called, which calls free.
@@_nit Maybe. I do not know the specifics of writing game engines, but most likely there are situations when malloc is needed in a loop
lol
Wow!!
Too real
nice
Where are you?
This is boomerang building in Andheri East , chandivali road this premise is famous for office like FedEx, wehire and sitel (bpo) etc
Nice
hello
amazing
Beautiful!
Nice
P
th-cam.com/video/lxuOpTUqLAo/w-d-xo.html
nice video
Nice
👍🏻
nice
Awesome
nice
Good luck
بليب
nice
nice
National
wow
cool
hola
too good
natural place
Nice
wow nice
:)
cooool
hi
cooooooooooooooool
❤️
nice
Nice..
awesome
Cool !
amazing
nice
Nice
Nice video
Nice
Nice
hello
nice park, keep it always clean