Raspberry BASIC

Author Topic: SALC Rasbian 32  (Read 14107 times)

John Spikowski

  • BASIC Developer
  • ***
  • Posts: 234
    • View Profile
    • ScriptBasic
Re: SALC Rasbian 32
« Reply #30 on: December 15, 2019, 01:26:12 AM »
Looks like 32 bit is hosed. I wonder how Swift would run on a non-RPI in 32 bit.
ScriptBasic Project Manager/Facilitator

AIR

  • BASIC Developer
  • *
  • Posts: 16
  • Code Jockey
    • View Profile
Re: SALC Rasbian 32
« Reply #31 on: December 15, 2019, 01:55:04 AM »
I'm wondering if it's the build flags associated with armf....

I ran the glib submission, and it is truly smoking in 64 bit:

riveraa@dpi:~/Projects/glib$ timex ./mil64
r LEN: 999986
Front: ZYXWVUTSRQPONMLKJIHGFEDCBA
Back:  ZYXWVUTSRQPONMLKJIHGFEDCBA
UBVal: 1000000
0.02user 0.01system 0:00.04elapsed 100%CPU (0avgtext+0avgdata 6512maxresident)k
0inputs+0outputs (0major+1332minor)pagefaults 0swaps


AIR.

John Spikowski

  • BASIC Developer
  • ***
  • Posts: 234
    • View Profile
    • ScriptBasic
Re: SALC Rasbian 32
« Reply #32 on: December 15, 2019, 02:19:03 AM »
I still have a couple 256 GB SD cards I haven't used. Where can I get the 64 bit OS you used for the RPi 4B?

Found it.

https://ubuntu.com/download/raspberry-pi
« Last Edit: December 15, 2019, 05:07:24 AM by John Spikowski »
ScriptBasic Project Manager/Facilitator

John Spikowski

  • BASIC Developer
  • ***
  • Posts: 234
    • View Profile
    • ScriptBasic
Re: SALC Rasbian 32
« Reply #33 on: December 15, 2019, 06:37:39 AM »
This is running the string / array language challenge on my Lenovo laptop running Ubuntu 19.10. A lot better than the 50 seconds I started off with.


ubuntu@ubuntu:~/sbrt/examples$ timex scriba 1mil3.sb
t LEN: 999986
Front: ZYXWVUTSRQPONMLKJIHGFEDCBA
Back:  ZYXWVUTSRQPONMLKJIHGFEDCBA
UBVal: 1000000
2.12user 0.13system 0:02.26elapsed 99%CPU (0avgtext+0avgdata 277936maxresident)k
408inputs+2008outputs (3major+69233minor)pagefaults 0swaps
ubuntu@ubuntu:~/sbrt/examples$

« Last Edit: December 15, 2019, 06:41:56 AM by John Spikowski »
ScriptBasic Project Manager/Facilitator