Generic programming resources
- greenlet - user space threading library for Python.
- Implementing a programming language - a 7 line lambda calculus interpreter
Processes and Threads
http://en.wikipedia.org/wiki/NPTL
Linux verkar använda en 1:1 thread implementation som även OpenBSD har gått över till. Både Linux och OpenBSD har tidigare haft en N:1 modell dvs. många user space trådar i samma process.
http://en.wikipedia.org/wiki/Thread_(computer_science)#Models
Greenlets och goroutines är exempel på user threads (N:1) som implementeras av respektive kompilator.
http://greenlet.readthedocs.org/en/latest/
"A goroutine has a simple model: it is a function executing concurrently with other goroutines in the same address space. It is lightweight, costing little more than the allocation of stack space. And the stacks start small, so they are cheap, and grow by allocating (and freeing) heap storage as required."
http://golang.org/doc/effective_go.html#goroutines
Links
- http://pagekite.net/ - A tool to make a local webserver available on the public internet.
- Competetive Programmers Handbook