General Discussions

JavaScript Animation Libraries – Quick Survey

Originally posted on PH Bytes:
JavaScript is so much powerful that everything can be animated with ease among-st numerous available libraries. Being tried with a few libraries, here is a small survey. The list is never ending. There are 100’s with specific properties. Here are a few which i have used! Collie Can create highly…

General Discussions

Dynamic Memory Allocation API’s – Quick Glance

malloc – allocates and reserves a block of memory, specified in bytes and returns a pointer to the first byte of allocated space. Example: malloc(size) char *str; str = (char *)malloc(10); calloc – allocates multiple block of same size, initializes all locations to zero and returns a pointer to the first byte of allocated space… Continue reading Dynamic Memory Allocation API’s – Quick Glance

General Discussions

Static V/S Dynamic Memory Allocation

  Si. No Static Memory Allocation Dynamic Memory Allocation 1 Memory allocation happens at compile time Memory allocation happens at Run time 2 It applies to global variables, file scope variables, and variables qualified with static defined inside functions It applies to variables that allocate memory during runtime using memory allocation API’s 3 The size is… Continue reading Static V/S Dynamic Memory Allocation

General Discussions

Should one Learn Functional Programming?

Originally posted on PH Bytes:
Functional originates from mathematics. Languages are about expressing the statements of a program in a formal way. The languages stress on the evaluation and using the resulting value. They will get you some strong foundation on computer science programming concepts. I say that one must and should enjoy learning functional…