Jul 16, 2011

A Diary-like Series? Metaprogramming and Cython for ToDaY

    I'm planning on starting a diary-like series so my general writing skills can be improved. The main problem here is that I spent most of my summer time coding, reading books, exercising and sometimes have my wisdom tooth removed XD, so there might no topics that worth writing about. But I'll try my best to come up with something everyday or at least every other day.



    Yesterday I found a brand new(at least for me) idea called: metaprogramming, and it basically means writing programs that can generate/modify programs or other complex files(for instance, configuration files). This is pretty inspiring since both programmer and programs coded can achieve state-of-the-art performance, and still remains abstract for high-level interpretation. Gonna dig out more info on this topic after reading this paragraph from IBM: The art of metaprogramming, Part 1: Introduction to metaprogramming

    Besides, I used Cython for the 1st time in my personal lab project to boost the performance of my program and I'm impressed! It makes everything I modified at least 3x faster even for trivial stuff! Brutal speed from the CPU directly :)

    Damn! This post is starting to become a nerdy review on the new toys I've been playing so I should probably stop now! See ya tomorrow!

No comments:

Post a Comment

Just leave a message :)