Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You know, how awesome would it be if a RPi booted up directly into Python in the same way old 8-bits booted up into BASIC? This could really help it better achieve the goal of being an educational instrument for young students.


I'm curious how it would be more educational to boot directly into Python instead of logging in and starting a Python REPL.


It's the same reason BASIC used to be burned into the system ROMs of old 8-bits instead of making you load it off of a disk.

Turn your question around, why would logging in and then starting Python be more educational than just booting directly into Python?


Because you have access to a web browser/document viewer/ text editor.

Because it takes longer to reboot than it does to restart a Python interpereter.

Because you can learn more than Python with it.


I don't think BASIC being loaded on old systems had anything to do with education and was really just a convenience factor. I think qbrass makes some valid points in the sibling comment.


First thing I thought about - though if you're looking to do this with a Raspberry Pi as a purely educational tool, it may be easier just to create the pure-python tool as a layer on top of linux.


Depends on what you're trying to do; both are useful. Booting to Python under Linux gives you an exploratory environment with access to operating system services, but not necessarily one that lets you poke directly at hardware, unless you put Python in the kernel. (And even then, the kernel and drivers are doing things behind your back.) BITS gives you direct access to hardware and firmware, and it's intentionally single-tasking, running only what you tell it to.

So if you want a comfortable Python environment with more services and the ability to use the full power of Linux, you would want to boot to Linux and run Python (possibly with some extra modules); if you want raw access to hardware and firmware, but without any OS (with all the advantages and disadvantages that implies), you want BITS.


Was that not what OLPC was about, before MS and other corporates got involved?

A small rugged laptop, booting Linux as the kernel, and a UI built entirely out of Python that the kids could modify at whim.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: