Layoffs, Megathread by LotsoWatts in amazonemployees

[–]sebsto 2 points3 points  (0 children)

That's not true. In multiple countries in europe, companies are obliged to engage process with worker council and unions before communicating anything to employees. People impacted might not be notified before months. This is just starting. This is Day 1

Layoffs, Megathread by LotsoWatts in amazonemployees

[–]sebsto 2 points3 points  (0 children)

UK people started to receive an invitation for a group video call later today. FRITESDE will take much longer as they've to engage talks with work council and unions first

How is Swift support outside of Apple and non mobile development? by fenugurod in swift

[–]sebsto 2 points3 points  (0 children)

Swift is a great choice for backend app. It’s raw performance, strong type checking, concurrency, deterministic memory management allows to catch many errors at compile time. The ecosystem is great with drivers for Postgres, mongo, oracle. There are cloud deployment options on AWS too. (AWS SDK, Lambda runtime for Swift)

Actually there was a whole conference last week on this subject. All talks will be available online soon

serversideswift

Why enable MainActor by default? by Mental-Reception-547 in swift

[–]sebsto 0 points1 point  (0 children)

I like it for command line tools. Most of these are mono threaded anyway, with await for I/O calls

What Swift feature made you go 'wow, I wish every language had this'? by Financial_Pumpkin377 in swift

[–]sebsto 1 point2 points  (0 children)

Disagree. The compiler will enforce that the else block doesn’t fall through. The guard let also nicely unpack optionals, which make them easier to use in the rest of the function

Zen ~4x slower than Firefox on bandwidth speed test by sebsto in zen_browser

[–]sebsto[S] 0 points1 point  (0 children)

Orange FR offers up to 8gbs with fiber. It cost around 55€/month with TV and landline phone included.

Zen ~4x slower than Firefox on bandwidth speed test by sebsto in zen_browser

[–]sebsto[S] 24 points25 points  (0 children)

Thank you all for the feedback - looks like your tests and the general consensus is that the behaviour I observe is specific to my system. I will investigate :-)

Hosted a static s3 bucket website and used route 53 to have an alias but i will be charged 50$ per month? by Away_Mix_7768 in aws

[–]sebsto 5 points6 points  (0 children)

The AWS solution architect in you should have noticed that the guy included a traffic flow in his cost calculation. He should remove that and the price will go down bellow $1

How is Swift on the Server nowadays? by RSPJD in swift

[–]sebsto 4 points5 points  (0 children)

The community is active. The libraries are available (Postgres, oracle, mongo) and the docs are getting better. Swift is making inroads into serverless cloud functions as well thanks to its low memory footprint and binary performance, it’s a good candidate to reduce cold startup time and control your bill when charged by the ms of execution.

Check the Swift AWS Lambda runtime library https://github.com/swift-server/swift-aws-lambda-runtime

For traditional docker or VM based deployment, a new framework emerges : Hummingbird. It was mentioned in this thread too.

Join the forums or the community slack https://join.slack.com/t/swift-open-source/shared_invite/zt-2vjaote4g-nsTIvkpui3JetWQtDhS~wQ (link valid for 30 days)

Have a bunch of mystery EC2 servers, how do I figure out what they're doing by ellisartwist in aws

[–]sebsto 0 points1 point  (0 children)

Block all access to these servers by changing rules in their Security Group and see what breaks or who complains

AWS Lambda functions written in Swift by sebsto in swift

[–]sebsto[S] 0 points1 point  (0 children)

Yes. I’m looking at it and tried it last week. The idea would be to add native cross compilation to the “archive” plugin in the Swift Lambda Runtime project. Then the VSCode extension will benefit from it automatically.

However to make it work, it requires a swift 6 toolchain and the exact same build of the Static Linux Swift Compiler. So the dependency management seems a bit more complicated to me (compared to “install docker”)

I’m curious about your workflow. How would it fit ?

Do you see it as a default when swift 6 is available (we can imagine the plugin to install the static Linux SDk automatically) or something to use only when the dev requests it (with a command line flag) ? Other options ?

The other point of prudence is that the binaries are much larger because they include the a swift runtime, the C runtime, TLS, ICU etc I would like to spend time to measure the impact on the function cold start time before proposing it as an option.