BTW Here’s a modern open-source, regularly updated, portable image editor written in Visual Basic 6 that runs on XP and up and outperforms GIMP: https://photodemon.org/

#retrocomputing #VB6

Home

the fast, free, portable photo editor

PhotoDemon: the fast, free, portable photo editor

I’m building a #VB6-style interpreter in #FreePascal! 🎉
It parses & runs `.BAS`-like code with support for classic keywords like `Dim`, `If`, `For`, `Sub`, `Goto`, `Print`, and more.

✅ Done:
`If/Then/Else`, `Goto`, `Sub`, `Call`, `Input`, `Print`, `For/Next`, `Do While`, etc.

🔧 In progress: `ElseIf`, `Select Case`, `Exit Sub`, `Const`, loops
🚧 Next: `Function`, `Return`, `Gosub`, `File I/O`, `Type`, `Error Handling`

@babble_endanger #FreePascal runs on #MSDOS, 9x, XP and up, #PowerPC MacOS and lots more. Heck, VisualBasic 6 #VB6 runs on 9x thru Win11 and is more stable an ABI on #Linux via Wine than Linux apps have. #Rust ’s problem is a matter of will; a turning up of the nose of anything that isn’t “current” — a moniker they haven’t realised they don’t control; that’s in the hands of Microsoft, Apple, Google etc.

I hate to tell you, but there were probably more "non-programmers" writing #VB6 programs in the early 2000s than there ever were #C / #Cpp programmers at the time.

#programming

Не, я знаю, что For Each, не смотря на использование варианта, работает быстрее, чем просто For с индексом, но чтобы настолько... Коллекция, 240 тысяч элементов типа Long, с которым в цикле производятся действия (коллекция перегоняется в массив). For с индексом пережёвывает коллекцию за тридцать-сорок секунд. For Each проносится по коллекции за 0.12 секунд. #программизм #vb6

amazing day at work today!!!

setup vb6 enterprise in a virtual machine (💀) so myself and my coworkers can actually make bug fixes for one of our apps we maintain

because im so cool, i got it working in 6hr and fixed the CI/CD scripts because someone deleted them by accident

(for context, that piece of software is extremely important at my work and is at least a few years older than me. and it's so god damn fucking cursed)

#devops #programming #vb6

Я тут пишу кое-что, и снова столкнулась с такими мерзкими, но неизбежными вещами, как байтовые буферы, в том числе запихнутые в строки. Всвязи с чем два наблюдения.
1. У VB нет встроенных механизмов, чтобы скопировать часть одного байтового буфера в другой. CopyMemory().
2. Строки в VB – юникодные, но могут быть ANSI, если хорошо попросить. Понять, в каком формате строка, очень трудно, но сам VB знает, что там внутри. #программизм #vb6
Say my name: The Evolution of Shared Libraries | Joche Ojeda

At this point, I could write a program in Visual Basic 6 and it'd be more portable than anything I could hope to do with #C.

Compiling suites have become these constantly moving, hulking behemoths that gain more bloat whilst dropping older platforms, making it practically impossible to compile modern code on retro platforms.

I just want to include a small binary in my repo that can compile a small #C89 program so that the user can get going on anything from a Penitum onwards without downloading gigabytes of dependencies that won't even run.

#VB6 #retroprogramming