zlacker

[parent] [thread] 4 comments
1. moomba+(OP)[view] [source] 2010-07-07 20:08:31
I remember when I was taking an assembly class in college we always joked about how ridiculous it would be to write an OS in assembly. I'm surprised someone actually did it.

C is so close to assembly that these seems quite unnecessary. Although I do agree with one of the developer's points that Assembly has a kind of beauty about it.

replies(3): >>philwe+y3 >>tekham+je >>watmou+7l
2. philwe+y3[view] [source] 2010-07-07 21:07:02
>>moomba+(OP)
Back in the day, every OS was written in assembly. Writing Unix in C rather than assembly was actually a controversial innovation at the time.
replies(1): >>mahmud+x7
◧◩
3. mahmud+x7[view] [source] [discussion] 2010-07-07 22:22:44
>>philwe+y3
Unix was written in PDP-7 assembly and then ported to C.

The porting to C also cemented C's winning of the systems programming race, and fully liberated systems programmers from the underlying machine. C made the machine-word obselete by standardizing on a few types with relative widths.

If that wasn't the case, something like BLISS would have caught on, and BLISS didn't look the same on different platforms; its data types mapped 1:1 to underlying machine words and you had to deal with explicit alignment, allocation, and linkage. Explicit addressing modes and explicit heap and stack allocation modes. IOW, a royal pain in the butt, even though bliss was expression-based and well thought out (read all about Olin Shivers' praises for Bliss, though personally I don't see why: http://www.paulgraham.com/thist.html)

C is good.

4. tekham+je[view] [source] 2010-07-08 01:36:24
>>moomba+(OP)
As pointed out, this was normal. My favourite was RiscOS on the Acorn Archimedes. The GUI OS would boot (off ROM) quicker than the CRT monitor would take to warm up. And that was 20 years ago.
5. watmou+7l[view] [source] 2010-07-08 05:22:25
>>moomba+(OP)
What about writing a dtp package in arm assembler? My first job, check out:

http://www.cconcepts.co.uk/products/publish.htm

Lol. Looking at those dialogs brings it back. I probably laid most of those suckers out.

[go to top]