This article is obviously a beginner's tutorial to deploying a Zig app to the PinePhone.
This article is obviously a beginner's tutorial to deploying a Zig app to the PinePhone.
??? What does "deploy to the Pinephone" mean? Ctrl+F "deploy" returns nothing.
AFAIK, It looks like all of the development/coding/compiling is all done on the Pinephone over SSH, so I am not sure what makes it Pinephone specific.
> VSCode Remote/debugging to the PinePhone
That's just how to use SSH with VSCode? That's not Pinephone specific.
> This article is obviously a beginner's tutorial to deploying a Zig app
I get that, my point is aside from a small screen and a modem that can Call/send SMS, there isn't anything special about developing for the Pinephone vs. an ARM linux distribution. That's why I was curious.
But I don't think you're actually curious, I think you're just angry about something, when you should be moving onto the next post.
Not sure how useful it is to compile on the phone instead of doing a cross-compile on a “proper” dev box but I guess to just get up and running it works.
Makes me want a PinePhone because I have an idea or two and have no idea how to program a simple app for my iPhone. I’d probably just use C though because I gasp like programming in C/simple C++.
True, that just isn't specific to Zig, which is why I was confused. It is neat that building the GUI isn't too hard, building a GUI in C/GTK involved a lot of boilerplate and isn't easy to start.
For GTK: I just end up using this: https://gitlab.com/sadiq/my-gtemplate/ As my start point.
> Not sure how useful it is to compile on the phone instead of doing a cross-compile on a “proper” dev box but I guess to just get up and running it works.
That depends. I tend to develop on the phone so I am aware of the screen size limitation, but you can emulate that. I also develop on the phone because the apps I make need access to the Modem (calls/SMS/MMS/VVM) for me test. I have thought about putting an EG-25 into my laptop to develop on my laptop, but that's been a low priority since using the Pinephone is easy enough.
> Makes me want a PinePhone because I have an idea or two and have no idea how to program a simple app for my iPhone. I’d probably just use C though because I gasp like programming in C/simple C++.
You should! The community is very friendly and helpful. All of the programs I developed are in C, so you aren't alone.