Offchain worker and transactions in polkadot substrate
Explore the basic idea of function overloading based on number of arguments in rust. For this purpose we make use of declarative macros to implement a basic overloaded add function.
Rust Workshop - iBriz academy 2022
This was the reference to which I presented an hour long workshop within iBriz Academy. This contains broad introduction ( not too depth ) to introduce anyone who is familiar with programming in general. I also showcased my ytui-music project.
include! macro in rust
If you happen to learn rust, it would take no time to realize that macro are something that is worth spending a while. From te macro group, you may not often see include!
being used that much (not surely as println!
of course). But to digest it easy, this macro just reades whatever file path it is given and put the …
Fundamental Idea locality of reference in compiler optimization
Locality of reference also termed as principle of locality is the common idea in area of compiler optimization. In a nutshell, It means that program execution are faster when they are written in such a way that memory access is made within the small range of previous memory access. This process is done because …