Linked by Thom Holwerda on Mon 31st Oct 2011 12:59 UTC, submitted by Martin H Hansen
Permalink for comment 495148
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
News
Linked by Thom Holwerda on 05/18/13 7:37 UTC
Linked by fran on 05/18/13 1:38 UTC
Linked by Thom Holwerda on 05/17/13 23:35 UTC, submitted by kragil
Linked by MOS6510 on 05/17/13 22:22 UTC
Linked by Thom Holwerda on 05/17/13 22:15 UTC, submitted by Tom
Linked by Thom Holwerda on 05/16/13 21:41 UTC
Linked by Thom Holwerda on 05/16/13 17:04 UTC
Linked by Thom Holwerda on 05/16/13 13:17 UTC
Linked by Thom Holwerda on 05/16/13 12:06 UTC
Linked by Thom Holwerda on 05/15/13 23:03 UTC
More News »
Sponsored Links



Member since:
2009-05-06
Python really isn't much more complicated than BASIC, and >much< more powerful. Where I work many Maya artists have been learning Python as their first language and they love it. It also gives them a spring board out of just Maya scripting. BBC BASIC was where I cut my teeth and I have no doubt a younger me would have equally been able to start with Python. Yes it's about the fundamentals but why not start out with a useful language to start with? BBC BASIC was a useful language on RiscOS after all. If it was just a toy language, it wouldn't have kept me interested. Seamed like everything was done in BBC BASIC and ARM code. Python is a modern day equivalent but is cross platform and used on a scale BBC BASIC never was. If you want to do assembler no doubt there is a module for that. There is a Python module for most things after all. Assembler on native Linux is easy enough anyway.
"
@filename: hw.S
.text
.align 2
.global _start
@ ssize_t sys_write(unsigned int fd, const char * buf, size_t count)
@ r7 r0 r1 r2
_start:
adr r1, msg @ Address
mov r0, #1 @ STDOUT
mov r2, #16 @ Length
mov r7, #4 @ sys_write
svc 0x00000000
@ int sys_exit(int status)
@ r7 r0
mov r0, #0 @ Return code
mov r7, #1 @ sys_exit
svc 0x00000000
.align 2
msg:
.asciz "Hello Android!\n\n"
"
Then:
as -o hw.o hw.S
ld -o hw hw.o
./hw