4 ms·
So, many dynamic languages have a C API that allows you to write methods in C, and for those methods to do things to objects of the higher level language. This
by aardvark179 4y ago
So, many dynamic languages have a C API that allows you to write methods in C, and for those methods to do things to objects of the higher level language. This is normally a big optimisation boundary because you have to assume any value could have been altered during a C call. However if you run your C extensions through the same framework as you implement your hogh level language then you can remove that optimisation boundary entirely.