katster: (Default)
[personal profile] katster
Here I am, attempting to figure out the MIPS stack and bubblesorts for a program due Wednesday. I was going to spend all weekend on the problem, but I woke up Saturday morning with the flu I've been whining about, and spent all weekend with it. I'm feeling a bit better today, but not totally.

It's not like it's difficult, it's just dealing with two new paradigms of programming that we never had in Scheme. You didn't need a stack in scheme, you just recursed and recursed, and cursed a bit too. And I don't recall...wait I second, I do. It's just a hell of a lot easier when everything's a list and you could car and cdr to your heart's delight.

I miss car and cdr. They were friendly.

Anyway, I need to figure out how to bubblesort and stuff before Wednesday. Anybody wanna help?

Date: 2001-10-29 02:08 pm (UTC)
From: [identity profile] zorbathut.livejournal.com
I'll help. Bubble sort's not as tough as some. ^^

lob off an AIM message or something if you want :)

Date: 2001-10-29 02:24 pm (UTC)
From: [identity profile] phenyx.livejournal.com
Bubblesorting on a stack?

Or bubblesorting on a list?

What kind of stack ops do you have available (do you have ROLL/ROLLD?)

I'm kinda used to working on a stack... all hail the HP48, it teaches RPN and stack programming. =9

Note

My main blog is kept at retstak.org. I mirror posts to this Dreamwidth account, so feel free to read and comment either here or there.

November 2020

S M T W T F S
1234 567
891011121314
15161718192021
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 18th, 2026 06:24 pm
Powered by Dreamwidth Studios