Computer Science Concepts in Actionscript

Actionscript isn’t exactly the language of choice among computer scientists. However, some of us who went through the algorithm-packed curriculum of the computer science major have somehow found ourselves enjoying Flash and it’s language. I believe there are a pretty decent number of artistically-inclined programmers out there with a creative side.

After seeing a bunch of sorting functions implemented in Actionscript today (you’ll see that in the list below), I took some time looking for some other concepts I studied in college. There’s something inherently interesting about seeing this stuff done in Actionscript. I’m not sure why. Maybe it’s because we’re not dealing with a hardcore language.

I spent several years diving head first into data structures, assembly language, finite state machines, and all sorts of interesting concepts like those. I tended to make it through some of the tough stuff by the seat of my pants. Sometimes I wish I had spent more time really getting to know some of these concepts better. Honestly, though, who’s gonna pass up all-night LAN parties and awesome house parties every weekend? Not me. Plus, I think I’ll enjoy this stuff more now that I’m learning it by choice rather than for the next exam.

About Josh Tynjala

Josh Tynjala is a frontend developer, open source contributor, bowler hat enthusiast, and karaoke addict. You might be familiar with his project, Feathers UI, an open source user interface library for Starling Framework that is included in the Adobe Gaming SDK.

Discussion

  1. Simon Wacker

    Hi Josh,

    the as2lib implementations are actually quite primitive (I know, ’cause I implemented some of them) ones (but they work so far). I’m right now delving a little bit into algorithm design (thanks to Robert Sedgewick). It seems to be a quite fascinating subject, actually (at least if you don’t write exams about it; I do not :P).

    Cheers,
    Simon

  2. Josh

    To be honest, Simon, I haven’t looked at those classes. If I didn’t have a gazillion and one personal projects I’m hoping to devote time to, I’d try to contribute.

    I remember seeing a physics library a while back (with some cool demonstrations). Does anyone know what I’m talking about? Did the author provide any source?