Neil's News

+ 2010
+ 2009
+ 2008
+ 2007
+ 2006
+ 2005
- 2004
 Silence
 Snowflakes
 Paranoia Pays
 Microsoft Help
 Polyglot 11: More C
 Polyglot 11: C
 Polyglot 10: Smalltalk
 Toronto Wisdom
 Exterminated
 The Last Straw
 BT Broadband Trap
 Polyglot 9: Moo
 Polyglot 8: SVG
 Polyglot 7: POV-Ray
 Polyglot 6: Python
 Polyglot 5: PHP
 Polyglot 4: Euphoria
 Polyglot 3: JavaScript
 Polyglot 2: Java
 Polyglot 1: VB
 POV-Ray
 Etch A Sketch
 Slashdotting
 Flashy Lies
 Scientific Illiteracy
 Creeping Featurism
 VidScope
 Saturn V
 Perspectives
 Slide Rule
 eBay Sale
 Iron Filings
 Gimble
 VBA Security
 Random Morsels
 Exact Change
 Easter Egg
 Diametral Pitch
 mod_deflete
 Ethical Spam?
 Deadlines
 CPU Power
 Fosdem 2004
 Academic Reversal
 Mars Memorial
 Culture Clash
 Watching the Users
+ 2003
+ 2002

Polyglot 1: VB

14 August 2004

A year and a half ago I wrote a Perl script to generate images using GD. For me that was the last major unknown in Perl. After that the Perl learning curve approached a horizontal asymptote. Consequently I swore that I'd not use Perl again unless I was merely tweaking an existing program. Since then I've been systematically exploring other languages. Over the next few weeks I'll be reimplementing the earlier image script using other techniques. By the end I hope to have a good reference for painting images in multiple languages.

[Visual Basic] First is Visual Basic. Yes yes, you can quit laughing. I haven't touched this language in years, and I hope to never do so again. Never the less, it was the original implementation of this program; according to the time-stamp I wrote it in the summer of 2000. It only runs on Windows, it requires a commercial compiler, it requires a 1.3MB runtime library, and it is an ugly illogical language that runs pathetically slow. Did I miss anything ... nope, don't think so.

Here's the VB6 source code and an executable (which requires the massive VB6 runtime DLLs).

< Previous | Next >

 
-------------------------------------