Linked by Thom Holwerda on Sat 19th Aug 2006 16:11 UTC
Microsoft MSDN's Channel 9 has two videos in their 'Going Deep' series which dive, well, deeper into Singularity, the operating system in development at Microsoft's research department. The first of the two is about, among other things, Software Isolated Processes (SIPs). The second of the two actually shows Singularity in action.
Permalink for comment 153976
To read all comments associated with this story, please click here.
RE[3]: R&D
by grayrest on Sat 19th Aug 2006 19:54 UTC in reply to "RE[2]: R&D"
grayrest
Member since:
2006-03-14

I've read about 'side-effects' in imperative languages before (possibly in your posts), but what is exactly meant by them?

A side-effect is something that changes the state of the system. Simple example (javascript):

pure_functional = function(a){return a+2;}

side_effect = function(a){a += 2; return a;}

In the first case, you get back a+2 but a remains the same, in the second you get back the same thing but the value of a is changed.

This is a rather trivial example, but more significant things like I/O are also side effects. Wikipedia has a rather extensive treatment of functional programming, side effects, etc if you're interested.

Reply Parent Score: 3