For the last week I've been writing an experimental cloud-based programming language in the evenings (as you do). The language has just reached the point where it can actually do something... So I’ve ported my ASCII Mandelbrot drawing program from C, take look at these screenshots:
That's the source code, and ...
... that's the output it gives.
Not bad, I think. The language syntax needs lots more work, as does the parser, but it’s good enough to prove *something*. I’ve set it to do timeslices; the code runs for so many milliseconds (whilst rendering the page on the webserver) and then returns the results, with the program state hidden inside the html. The next page request picks up where it left off, so you can actually watch the Mandelbrot as it is being drawn. It’s not fast, but it does actually work. I’m sure I’ll optimise it. Well it’s an idea ... I'm still not sure if it’s a good idea though! But it has been fun, so I'll spend a bit more time on it at least.
For a while I have been fiddling around with session-less MVC3, the type of thing that can be easily load balanced. When you do this it would still be nice to be able to remember values between pages, and you'd think that some hidden html form fields would do trick nicely, but how could this be integrated with MVC? That is what I have been messing about with. Adding a bit of JSON magic should make it even better.
So, I decided to release the result of my efforts somehow. A good chance to try out this NuGet thing :-) I guess.
I've called it 'PostWizard' and you can find it on NuGet here. I hope that it proves useful to somebody.