Small BF interpreter in Scala

Sunday, 13th January 2013 (4 months ago)
Comments

Edit (19th January 2013): As mentioned in the comments, the way this interpreter handles loops is more like a do-while instead of a while loop. Although this means more complex programs probably won’t work with this implementation, I won’t fix it. There’s a simple reason: It’s small, and I don’t want it to get any bigger (you’re free to fix it though, and perhaps I’ll do that myself, but not at the moment).

This is a small interpreter for BF I wrote about a month ago. Nothing new, but I thought I might share it anyway.

A small usage example:

I’ve tested it with the hello world program from Wikipedia and the “99 Bottles of Beer” program which I found on this page.

Hello world:

gfxCardStatus crashes Source engine games on OS X 10.8

Tuesday, 11th September 2012 (8 months ago)
Comments

Since the release of OS X Mountain Lion, Source engine games (like Team Fortess 2 or Garry’s Mod) haven’t worked for me at all. They always crashed as soon as the game launched.

Today, I recognized that when I close gfxCardStatus or set it to automatic, those games work again. I hope that this tip can help anyone.

About Valve, Steam and Linux: Linux on a Steam console?

Monday, 10th September 2012 (8 months ago)
Comments

A few minutes ago, I’ve been reading an article about Valve releasing the new Big Picture Mode for Steam (beta).

As you probably know, Valve’s porting Steam and the Source engine to Linux and there have been many assumptions about why Valve is doing this. Is it because of Windows 8 and its marketplace? Or is it just about expanding to other platforms?

Now there have been many rumors about Valve working on a Steam console.

But how are those related to each other?” you may think.

In my opinion, there’s a pretty good chance that Valve will use Linux on their console, because:

  • They won’t need to develop everything from scratch.
  • They won’t need to pay Microsoft for Windows licenses (there have been some rumors about that Valve could also use Windows on their console, because of the amount of games that run on it).
  • They could get the Linux community on their side (well that depends on how open the Steam console would be, but getting more games on Linux itself is also a nice thing).

I also think that this could get more developers for Linux games, because it won’t be just about “developing Linux games”, but also about “developing games for Valve’s console”.

I highly appreciate discussion about this topic. If I’m wrong at some point, please tell me.