Custom Memory Arena in C++
ฝัง
- เผยแพร่เมื่อ 3 พ.ค. 2024
- Recently I've been writing a small C++ container library and decided to use a custom memory allocator. This video is aimed to give an overview on how to implement a memory arenas in C++. Keep in mind that this approach is not bullet proof, and there are many other, probably more efficient and accurate solutions on how to do this. But anyway, I'm happy to share mine :)
The implementation of memory arena can be found here: github.com/isnastish/mylib/bl... - วิทยาศาสตร์และเทคโนโลยี
thanks for taking the time to explain and run through everything :D very interesting
great work keep up the vids! you are brilliant
Very cool video! Do you think you could make some videos on win32 & opengl initialization (windows, events, drawing, etc.)?
Definitely, I will put it on my todo list. In fact, I have done that already, it's not documented well, but this project is exactly what you're looking for: github.com/isnastish/EventDrivenInputSystem. It is a prototype of even driven input system which supports mouse/keyboard and a gamepad. It uses OpenGL for testing the input (moving some geometrical primitives in a window). Just run build.bat file and that will produce an executable inside a build folder. I will dedicate some time and document it better in the future.
@@isnastish Awesome, thanks!
Did you maybe modify the project? The build script gives me these couple errors:
platform.cpp
c1xx: fatal error C1083: Cannot open source file: '..\platform_abstraction_layer\code\platform.cpp': No such file or directory
w32_main.cpp
c1xx: fatal error C1083: Cannot open source file: '..\platform_abstraction_layer\code\w32_main.cpp': No such file or directory
nice video! subbed. plz do more golang
Thank you. I will try my best to find time for Golang as well.