| « november 2009 | ||||||
| må | ti | on | to | fr | lö | sö |
|---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | ||||||
| Today | ||||||
maj 03, 2007
This blog just got a new design. What do you think? Isn't it pretty? I wanted a calm and reasonably clean design that looks more like print. It's still pretty untested so if you spot any bugs, please let me know.
On another note, I gave a lecture on multi-language development and scripting the JavaVM at Stockholm University last week. The response was pretty good, I thought, and I finally got my Scriptable Calculator demo right. I had enough time to go in to some good examples and have a little fun with it as well. Of course, what I really should have, is a scenario that will involve a lot of languages to solve some sort of mathematical or engineering problem. That would be the most fun.
If you haven't seen my calculator demo, it's a re-hash of the Scripting Framework projects old calculator demo where a desk calculator had four scriptable buttons. My calculator has 32 scriptable buttons, a stack and a large multi-line display. You can add as many scripts as you like in any of the language implementations you have in your CLASSPATH and then assign them to any button. The fun thing with the calculator is that it allows me to demo things like pushing a Haskell-lambda on the stack and evaluating it from Python.
I will publish the calculator demo, as soon as I come up with a way of packaging it. The problem is that it relies on a lot of language interpreters and JSR-223 script engines, which in total amounts to around 50 .jar-files, and obviously that is a problem. Personally, I set up a huge CLASSPATH, but I would like to include it all in one great package. Java Web Start, would be one way, but I don't know if anyone would be willing to download 50 jars.
apr 27, 2007
This will be the blog for the Project Polyglot, but in the mean time, I want to show you the draft of the Pledge of the Polyglot Programmer. What do you think? Do you agree? Want to take a stab at the wording?
I am a programmer; I write programs.
I am not a <Language> programmer,
but I do write programs in <Language>.
I swear to use the right tool for the job,
that my code will be clear and expressive
—that my code will obvious when read.
Today's Page Hits: 1