GIMP# and Visual Basic.NETFebruary 8, 2007 at 12:41 pm | Posted in C#, GIMP, Ramblings | 6 Comments
About 10 years ago I had Fortran on my resume but I always felt a bit embarrassed about that. I didn’t really like the language, to put it very mildly. When people inquired about my Fortran knowledge I always mumbled something like `just the basics’ and tried to steer the conversation into another direction. There was this other language I had the same feelings about. It is called Visual Basic. Why? Mainly because I associate Basic with people educated in any topic but computer science. Often these people seem to be hired by software houses that don’t care about the quality of their employees, as long as they can make money out of them. And as long as there are customers that don’t really care about the quality of the software that is written, they get away with it. Mind you, I’m not saying that you need a degree in computer science to become a good programmer. One of the best programmers I’ve ever met had an unfinished degree in sociology.
Ok, enough of this ranting. Despite my dislike for Visual Basic I downloaded and installed Mono 1.2.3 and the VB compiler yesterday evening. The goal, as usual, is to support yet another programming language for GIMP#. We already have C#, Java, IronPython and now VB is next. I already did some initial experiments and I expect to have a working GIMP plug-in written in VB pretty soon. Some minor problems so far:
- as advertised, the vnbc compiler is pretty basic yet. Error messages are very cryptic which makes it sometimes hard to find the real error.
- it seems that VB doesn’t have the yield keyword. So writing a custom Enumerator takes a bit more code 😦
- I felt kinda dirty after having written a few lines of Visual Basic…
I hope to report on the performance of the Average Blur plug-in written in VB, compared to C#, IronPython and Java soon.