KBD

Keith Devens .com

Friday, May 16, 2008 Flag waving
C++ is history repeated as tragedy. Java is history repeated as farce. – Scott McKay

Archive: June 10, 2002

← June 09, 2002June 11, 2002 →

Daily link icon Monday, June 10, 2002

XML-RPC on Scripting News

Hey, awesome, I just noticed that Dave linked to my XML-RPC implementation for PHP. Thanks!

DOM Inspector

Via Mozillazine: One of Mozilla's features you probably don't know about is the DOM Inspector. Check out this tutorial. I've used the DOM Inspector before, but I didn't know you could do all this with it!

Threads in Python

In yet another link gleaned from LtU, IBM developerWorks: Charming Python: Implementing "weightless threads" with Python generators.

In an earlier "Charming Python" installment, David introduced a way of simulating full-fledged coroutines with generators and a simple scheduler. It is possible to extend this scheduler in straightforward ways to allow extremely lightweight threading of multiple processes. Much as with Stackless Python microthreads, pseudo-coroutine "weightless threads" require almost none of the context switch and memory overhead of OS -- or even userland -- threads. Here David introduces weightless threads as an elegant solution for problems whose natural solutions involve large numbers of cooperating processes.

Just what is a microthread? Basically, a microthread is a process that can run with minuscule inherent resource requirements -- and that runs within a single instance of the Python interpreter (in a common memory space, and so on). With microthreads, it is possible to run tens of thousands of parallel processes on a moderately capable modern PC, and to switch between contexts hundreds of thousands of times every second. Calls to fork() or standard OS threading calls do not even come close to this! Even so-called "lightweight" threading libraries have threads that are orders of magnitude "heavier" than those presented here.

Interview with GvR

Via LtU, Linux Magazine: Python's Creator Guido van Rossum's Take on Open Source's Favorite Serpent. Ehud says this interview is actually interesting, so I'll trust him on that. I just noticed that this interview isn't actually new (it's from December), but I haven't read it yet, so that's ok Smiley Printed.

C#

I think this is the first thing I've ever linked to about C#. I almost feel dirty, but at least I'm not actually planning on using it yet. This link is here for me to look back on in case I ever do need to use it.

Via LtU, Mark Shields: A compiler-writer’s guide to C#.

Flash and Databases

Obviously, using Flash with a database is the most intriguing application of Flash to me. An overview of integrating Macromedia Flash with a database.

42

I just checked and Google has me listed as the 42nd Keith. Not too bad Smiley

XML-RPC

I just finished my XML-RPC library tonight. It's already been included in the list of implementations of XML-RPC. Thanks!

← June 09, 2002June 11, 2002 →
May 2008
SunMonTueWedThuFriSat
 123
45678910
11121314151617
18192021222324
25262728293031



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

Recent comments XML

"IMDB for music"

IMDB for Music? It looks to be a​couple of years old...​http://MusicTell.co...

Ken Empie: May 14, 9:57pm

Generated in about 0.18s.

(Used 7 db queries)