Join us on Discord!
You can help CodeWalrus stay online by donating here.

8/16/32 or 64 bit?

Started by Keoni29, December 10, 2014, 11:39:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Keoni29

What is your favorite word size / bus width / cpu type?
I personally like 8 bit for its simplicity. I also like 64 bit because it's really fast.
If you like my work, why not give me an internet?

Dream of Omnimaga

I like 64 bits because it seems to run most of my programs, but I like 8 bit because it's simple. However, I would probably need to try ASM on various CPU types to really judge what is more convenient to develop on.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Keoni29

I never wrote software in asm for 16 bit systems. I should get one of those 16 bit PIC microcontrollers and mess around with it.
If you like my work, why not give me an internet?

Dream of Omnimaga

You could get a TI-80 calculator and flash the ROM chip :trollface: . IIRC it uses some proprietary 16-bit CPU from TI that TI-Planet documented once. It's 980 kilohertz, though.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

novenary

Well technically you could make a 64bit cpu that's as simple as the z80. :P It's just that modern ISAs are much more evolved to fulfill modern needs.

Duke "Tape" Eiyeron

32 bits because SuperH (and because setting up 32 bit game on a 64bit system can be a PITA sometimes)
  • Calculators owned: A lot.

Hooloowalrus

I like 8 bits for it's small size and easy programmability for things like a calculator, but I like higher bit counts (32 and 64) for a computer which I use to do things. 64 bit has the advantage of lotsa memory, but who needs that :P
  • Calculators owned: TI-83, TI-83+ purple, TI-83+SE, TI-83+.fr USB, TI-84+ SE, TI-84 pocket.fr, Commodore PR-100, 4xTI-73, a couple TI-82s, TI-XXXXXXXXXXX, [blank] (nspire prototype), Nspire CAS+, Nspire Clickpad non-CAS, Nspire CX, HP Prime (lost in space), HP 50G, TI-92+

Dream of Omnimaga

By the way, is it true that a 8 bit processor is really not suited for a language like C, to the point where it will be even slower and larger than compiled Axe Parser code in comparison?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Keoni29

Modern microcontrollers can be programmed in C just fine. I programmed AVR's in C. Ofc assembly can be more optimized.
If you like my work, why not give me an internet?

novenary

Quote from: Hooloowalrus on December 11, 2014, 05:02:54 PM
I like 8 bits for it's small size and easy programmability for things like a calculator, but I like higher bit counts (32 and 64) for a computer which I use to do things. 64 bit has the advantage of lotsa memory, but who needs that :P
Hard drive users who want a responsive system. :P

Also at the C thing, it's just that 1) the z80 was made to be programmed only in asm and 2) no compiler actually tries to optimize a lot so the code is around the speed and size of the older versions of Axe. As Keoni said, AVR's and PIC's can be programmed in C perfectly fine.

Duke "Tape" Eiyeron

Quote from: StreetquoteAlso at the C thing, it's just that 1) the z80 was made to be programmed only in asm and 2) no compiler actually tries to optimize a lot so the code is around the speed and size of the older versions of Axe. As Keoni said, AVR's and PIC's can be programmed in C perfectly fine.

I just got the reason HBE won't be done in C for TI. Thanks.
  • Calculators owned: A lot.

novenary

Welp, SirCmpwn is forking sdcc for KnightOS so there might be some improvements on optimization. :) Remember, the z80 was designed in the 80's when c didn't even exist. :P

Dream of Omnimaga

Ah that's cool then. Hopefully this also makes it easier to make cross-OS programs that way too.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Powered by EzPortal