Featured post

Source code in movies

1) Terminator [1984]: Your future is in his hands.


On the T-800’s head-up display, the assembly code is based on the 6502 8-bit microprocessor so either James Cameron wanted the Terminator from 2029 to be running on Apple II or perhaps Cyberdyne Systems itself chose Apple II for their model 101 series 800 Terminators which probably seemed cool back in 1984 but not anymore and certainly it cannot be running on vintage Apple II in 2029 unless Steve Jobs reincarnated himself and launched upgraded series of Apple computers to beat OS X using 6502. The scene occurs about 60 minutes into the movie.

Continue reading: Source code in movies ▶▶

Monitors in concurrent computing – 2 of 3

Monitor usage:

acquire(m); // Acquire this monitor's lock.
while (!p) { // While the condition/predicate/assertion that we are waiting for is not true...
wait(m, cv); // Wait on this monitor's lock and condition variable.

// ... Critical section of code goes here ...

signal(cv2); //-- OR -- notifyAll(cv2); cv2 might be the same as cv or different.
release(m); // Release this monitor's lock.

Continue reading: Monitors in concurrent computing – 2 of 3 ▶▶

Quick bite on Java programming language

Java logo In this post we will glance through my study notes on overview of Java programming language which is primarily sourced from Wikipedia. The intent of sharing this post is to make my study notes available to everyone for a quick reference.

• Java programming language is a concurrent, class-based, object-oriented language and is specifically designed to have lesser implementation dependencies. Continue reading: Quick bite on Java programming language ▶▶

Page 1 of 41234