Live data from Hacker News

Operating System Development Tutorials in Rust on the Raspberry Pi

github.com

1–10 of 31 posts

Re: Operating System Development Tutorials in Rust on the Raspberry Pi

#2
I hope they can make the Pi boot faster ... It's the one thing keeping the Pi from being useful in most of my embedded projects.

I like to compare it to webpage load time. In the beginning of the web, 5 seconds used to be ok, but nowadays the user wants sub-second load times or they literally walk away. Similarly, devices that don't turn on instantly lose points on UX as well.

Re: Operating System Development Tutorials in Rust on the Raspberry Pi

#3
post #2

I hope they can make the Pi boot faster ... It's the one thing keeping the Pi from being useful in most of my embedded projects. I like to compare it to webpage load time. In the beginning of the web, 5 seconds used to be ok, but nowadays the user wants sub-second load times or they literally walk away. Similarly, devices that don't turn on instantly lose points on UX as well.

I'm not super familiar with RP, what is the typical boot time?

Re: Operating System Development Tutorials in Rust on the Raspberry Pi

#4
post #3
post #2

I hope they can make the Pi boot faster ... It's the one thing keeping the Pi from being useful in most of my embedded projects. I like to compare it to webpage load time. In the beginning of the web, 5 seconds used to be ok, but nowadays the user wants sub-second load times or they literally walk away. Similarly, devices that don't turn on instantly lose points on UX as well.

I'm not super familiar with RP, what is the typical boot time?

It depends on who you ask, but usually it's more than 10 seconds, which is too much if you want to embed it into a device that must have an "instantly on" experience.

Even the 4 seconds mentioned by the sibling commenter would be too much (e.g. if a page load of 4 seconds is considered "long", then turning on a device should be shorter as well).

Re: Operating System Development Tutorials in Rust on the Raspberry Pi

#5
post #3
post #2

I hope they can make the Pi boot faster ... It's the one thing keeping the Pi from being useful in most of my embedded projects. I like to compare it to webpage load time. In the beginning of the web, 5 seconds used to be ok, but nowadays the user wants sub-second load times or they literally walk away. Similarly, devices that don't turn on instantly lose points on UX as well.

I'm not super familiar with RP, what is the typical boot time?

hardware/bootloader stage take around ~2s. After that it's on the OS, a stripped down Linux can get down to also ~2s on top of that if you don't need all the hardware. The more IO you need ready, the longer it takes.

Re: Operating System Development Tutorials in Rust on the Raspberry Pi

#6
post #2

I hope they can make the Pi boot faster ... It's the one thing keeping the Pi from being useful in most of my embedded projects. I like to compare it to webpage load time. In the beginning of the web, 5 seconds used to be ok, but nowadays the user wants sub-second load times or they literally walk away. Similarly, devices that don't turn on instantly lose points on UX as well.

Clearly you're after a suspend/deep sleep mode rather than power-off. Have you looked at the alternatives such as the i.MX family?

Re: Operating System Development Tutorials in Rust on the Raspberry Pi

#8
post #2

I hope they can make the Pi boot faster ... It's the one thing keeping the Pi from being useful in most of my embedded projects. I like to compare it to webpage load time. In the beginning of the web, 5 seconds used to be ok, but nowadays the user wants sub-second load times or they literally walk away. Similarly, devices that don't turn on instantly lose points on UX as well.

It honestly sounds like you shouldn't be using a raspberry pi if this level of responsiveness is what you need. Get an ESP32 instead if you want instant response times, or leave the Pi running at all times.

Re: Operating System Development Tutorials in Rust on the Raspberry Pi

#9
post #4
post #3

Earlier quoted context omitted.

I'm not super familiar with RP, what is the typical boot time?

It depends on who you ask, but usually it's more than 10 seconds, which is too much if you want to embed it into a device that must have an "instantly on" experience. Even the 4 seconds mentioned by the sibling commenter would be too much (e.g. if a page load of 4 seconds is considered "long", then turning on a device should be shorter as well).

I very much doubt another OS on the Pi is going to save you then. (and what the best solution is depends very much on your actual use case and problem)
Post reply on HN