It took a bit of digging, but it seems that encrypted wifi is not supported: https://github.com/gokrazy/gokrazy/issues/13 And if you read the issue, it's a bit understandable to not want to reimplement wpa_supplicant.
A native Go userland for your Raspberry Pi 3 or 4 appliances
31–37 of 37 posts
Re: A native Go userland for your Raspberry Pi 3 or 4 appliances
#32Re: A native Go userland for your Raspberry Pi 3 or 4 appliances
#33Earlier quoted context omitted.
I guess, but this argument is basically just saying "RPi is basically just a normal computer now so why be conservative with anything?"
It is basically just a normal computer and I feel you’re optimising the wrong thing here too given we’ve already established the OP was wrong when they threw around what they believed to be the applications file sizes.
Re: A native Go userland for your Raspberry Pi 3 or 4 appliances
#34Earlier quoted context omitted.
What's the max/typical read bandwidth from an SD card on a Pi? Even if the storage space is there, you might still get perceptible latency improvements with order-of-magnitude smaller binaries.
If that’s an issue just cache the file in RAM. 500MB is still less than the system memory on a Pi (and as I’ve pointed elsewhere, the OP was reading the partition table not the application file sizes).
Am assuming that the reference to Raspberry Pi 3 and 4 might have been made without considering the above Model since otherwise there would be no need to exclude the Zero models, which also have 512MB of RAM.
[0] https://www.raspberrypi.com/products/raspberry-pi-3-model-a-...
Re: A native Go userland for your Raspberry Pi 3 or 4 appliances
#35Earlier quoted context omitted.
If that’s an issue just cache the file in RAM. 500MB is still less than the system memory on a Pi (and as I’ve pointed elsewhere, the OP was reading the partition table not the application file sizes).
The Raspberry 3 Model A+ only has 512MB of RAM, so whilst the above might be 'technically correct', it doesn't seem like that would work in practice, at least on this one (the other types of Model 3 (and the 4s) do have 1GB RAM or more. Am assuming that the reference to Raspberry Pi 3 and 4 might have been made without considering the above Model since otherwise there would be no need to exclude the Zero models, whic…
Your application is not going to be 500MB!!
The OP completely misunderstood this entire premise of this project and every comment that has followed has been just as misinformed.
It’s almost comical just how badly you all have misunderstood this project yet still proceeded to lecture everyone about how unsuitable it and Go is. So let me explain one last time:
500MB is just a partition for you to put YOUR own application on. That application might only be 5 (five) megabytes or it could be 50MB but the partition needs to be large enough to offer some breathing room (eg logs, external assets if required, etc) and frankly for a non-embedded mini-PC, a 500MB partition isn’t a ridiculously high suggestion.
Clearly none of you guys bitching about the unsuitability of Go for the Pi have never actually used Go on a Pi or even bothered to read this GitHub readme. I’ve done both and frankly you’re all being ridiculous. Go works fine on the Pi (even the very first model) and no Go executable is going to be half a gigabyte(!!!) - I know Go binaries are large but stop for a moment to thing about the actual file size you are all talking about for a moment. Even Electon doesn’t inflate that big in most cases.
Honestly, it’s ridiculous the way you’ve all carried on. Did nobody stop to think for a moment before posting?
Re: A native Go userland for your Raspberry Pi 3 or 4 appliances
#36If you want to go deeper, there is also bare-metal Go runtime for rpi (among others): https://github.com/f-secure-foundry/tamago