Spent the week updating my #Swift #lambdas (for @NearlyDeparted) to Swift 6, and migrated the final two Ruby lambda to Swift.
Thank-you to @sebsto & friends for all your hard work on Swift lambda and the #AWS runtime libraries.
I can now build a single lambda natively, instead of needing to build all 15 in Docker (yay!), but have lost the ability to build for Arm.
Next job: try building on a raspberry pi, as it’s cheaper than buying a new Apple-silicon Mac.
=> More informations about this toot | More toots from matthew@mastodon.me.uk
@matthew @NearlyDeparted
Thank you for the feedback.
Why you can't build natively on Arm ? It works with docker on Apple silicon
=> More informations about this toot | More toots from sebsto@awscommunity.social
@sebsto
All of my Macs are Intel :)
=> More informations about this toot | More toots from matthew@mastodon.me.uk
@matthew Ah indeed. Then a Pi is indeed the cheapest option. If you have more budget you can start virtual machines in the cloud with Linux starting at $0.0042 / hour
https://aws.amazon.com/ec2/getting-started/
=> More informations about this toot | More toots from sebsto@awscommunity.social
@matthew @sebsto with new Swift tooling, you should be able to cross-compile across architectures
I am cross-compiling with Docker myself, but it’s allegedly possible to do it with straight Swift tooling now. I haven’t yet tried myself https://mastodon.social/@finestructure/113564727252932460
=> More informations about this toot | More toots from jaanus@iosdev.space
@jaanus @sebsto
Wow, that is very interesting!
I wonder if I can make an SDK bundle for AmazonLinux2/Arm which will run on my Intel Mac… 🤔
=> More informations about this toot | More toots from matthew@mastodon.me.uk
@matthew @jaanus Let us know if you do.
I’m curious too
=> More informations about this toot | More toots from sebsto@awscommunity.social This content has been proxied by September (3851b).Proxy Information
text/gemini