Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Optimising preprocessor for strict subset of Visual Basic 6

License

Notifications You must be signed in to change notification settings

visual2000/VB6-optim

Open more actions menu

Repository files navigation

VB6-optim

This is an 🚧 extremely alpha-stage 🚧 piece of software. It works for certain narrow use cases the authors have, and might be interesting to you, but it's very likely to explode in your face, or return a clown instead of an integer.

Wat do

For the impatient - this package uses Stack. You'll probably want to brew install haskell-stack.

$ stack install alex happy
$ make
# you can also run tests:
$ make test

What even is this?

We had a desire to write a ray tracer in Visual Basic 6, the easiest way to create a retro GUI. The thing is, performance was awful. So we did some benchmarks and thought we could probably reshuffle our code. It was very function-call-heavy of course, and in VB that's pretty slow. Unfortunately it turned out to be quite a rabbit hole, and so we first had to write a parser, then a pretty printer, then a bunch of optimisation phases, all of which were a bit more involved than we'd hoped.

About

Optimising preprocessor for strict subset of Visual Basic 6

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.