KBD

Keith Devens .com

Wednesday, October 15, 2008 Flag waving
The three chief virtues of a programmer are: Laziness, Impatience and Hubris. – Larry Wall (Programming Perl)

Archive: October 02, 2005

← October 01, 2005October 03, 2005 →

Daily link icon Sunday, October 2, 2005

  1. Design Principles Behind Smalltalk (to read), via Keith.

       (3) Tags: [Programming]
  2. (the eff-bot guide to) The Standard Python Library

       (0) Tags: [Programming]
  3. Fire, Fly With Me - Flipping for Joss Whedon's Serenity... By David Edelstein, via Glenn:

    Well, now it's 10 days later and I'm afraid I've almost forgotten Serenity. In the interim, I've become a Firefly freak. What a show... What's heartbreaking is that if you know Buffy (or Angel), you can sense that Whedon had all kinds of surprises in store—dramaturgical jack-in-the-boxes wound and ready to spring in the coming seasons. Twisted trajectories. Mind-blowing back stories. Dark secrets of the universe. Whedon was obviously in it for the long haul. What a shame that the studio (Fox) never got on his wavelength.

    Smiley frowning

       (0) Tags: [TV/Movies]
  4. Orson Scott Card reviews Serenity:

    I'm not going to say it's the best science fiction movie, ever.

    Oh, wait. Yes I am.

    Via WHEDONesque.

    Oh, and just because, here are a couple pictures of Christina Hendricks from the Serenity premiere.

       (0) Tags: [TV/Movies]
  5. VisualWorks: Joy of Smalltalk (to read), via Keith. Also, here's what's essentially a syntax comparison between Java and Smalltalk, also via Keith.

       (1) Tags: [Programming]

Is Java's memory management really *this* asinine?

I noticed while reading this article on Java's garbage collection this note:

NOTE: The im object is set to null because there is no gurantee the stack slot occupied by it will be cleared when it goes out of scope. A later method invocation whose stack frame contains the slot previously occupied by im might not put a new value there, in which case, the garbage collector still considers the slot to contain a root... As a precaution, you can increase the probability that an object will become softly, weakly, finalizable, or phantomly reachable by clearing variables that refer to it.

So Java doesn't even guarantee when the scope of a method is exited that local variables are actually available to garbage collect? This seems really broken to me. That article is from 1998 -- does Java still work this way?

Update: I asked our Java expert at work and he said that, for one, Sun's VM never worked this way, but some other vendors' did for efficiency (essentially they'd just move the stack pointer without telling the garbage collector about it); that's the only reason the article mentioned it. He also said other vendors' VMs don't work this way anymore, so this should no longer be an issue in Java at all.

← October 01, 2005October 03, 2005 →
October 2008
SunMonTueWedThuFriSat
 1234
567891011
12131415161718
19202122232425
262728293031 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 4 posts

Recent comments XML

new⇒Girls, please don't get breast implants

you people implants are fine these​days but they are like body organs​not e...

kym: Oct 15, 5:25pm

Spider solitaire

I have now won, at the "Difficult"​level, 186 games of Spider​Solitaire.  I...

75.179.28.113: Oct 13, 9:34am

I hate PHP

Elliot Anderson,

Dude!! You the​man! The reverse replacement for​array_u...

Alex Ndungu: Oct 11, 1:35am

Generated in about 0.057s.

(Used 7 db queries)

mobile phone