MENU

Fun & Interesting

Metaprogramming and JIT Compilers - A Brief Overview

VoxelRifts 32,811 6 months ago
Video Not Working? Fix It Now

Despite being treated differently, Code and Data are surprisingly similar. This idea is the basis behind Metaprogramming as well as Compilers and JIT Compilers, and is very powerful and useful for many projects. Big thanks to @Mr4thProgramming as well as @yasserarguelles6117 for proofreading the script! TIMESTAMPS 00:00 Intro 01:26 Part 1 - Strings (Generative Metaprograms) 04:58 Part 2 - The AST (Introspective Metaprograms) 06:39 Part 3 - Assembly 07:06 Part 4 - Machine Code (JIT Compilers) 15:07 999 - Temperance Links: Windows C ABI Reference: https://learn.microsoft.com/en-us/cpp/build/x64-software-conventions?view=msvc-170#register-volatility-and-preservation Linux C ABI Unofficial (probably) Reference: https://kernelnewbies.org/ABI Other Interesting Metaprogramming Method: https://www.rfleury.com/p/table-driven-code-generation Discord: https://discord.gg/8rtYjQkqDF Wasn't that example of converting functions to GLSL shaders a bit too specific? Yes, and the only reason I mentioned it is because I made that system for JAI: https://github.com/PixelRifts/Jai-Shader-Transpiler Animations were made using: https://motioncanvas.io/ Yes, I should really invest in better audio.

Comment