Skip to content

A collection of short programs that I've written to satisfy some curiosities and get some insights into compilers/OS/Architecture.

Notifications You must be signed in to change notification settings

priyankpalod/Curiosity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Curiosity

A collection of short programs written to get some insights.

1. pipe_read_write.cpp

Found out that a process can write something and then read the same from a pipe.

2. sizeof.c

When is sizeof computed - compile time or runtime? What about VLAs?

3. branch_prediction.cpp

Demonstrates performance penalty for bad branch prediction.

4. huge_malloc.c

Learnt that linux does lazy allocation.

About

A collection of short programs that I've written to satisfy some curiosities and get some insights into compilers/OS/Architecture.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published