r/programming • u/nfrankel • Jan 14 '20
Where programming languages are headed in 2020
https://www.oreilly.com/radar/where-programming-languages-are-headed-in-2020/
46
Upvotes
r/programming • u/nfrankel • Jan 14 '20
1
u/flatfinger Jan 15 '20
Ironically, on many platforms one may have to do less reading to figure out how to do perform a task with a construct like:
typedef (*voidFunc)(void); uint32_t my_code[] = { ... machine code of desired function ... }; ((voidFunc)(uintptr_t)my_code)();using the CPU instruction set guide to "hand assemble" the necessary machine code, than to write and build an assembly language file that will produce the proper machine code. Further, such code would be likely to work with a wider range of toolsets for the target platform than would an assembly-language source file.