popcar2

joined 1 year ago
63
Announcing Swift 6 (www.swift.org)
submitted 1 week ago* (last edited 1 week ago) by popcar2@programming.dev to c/programming@programming.dev
 

The big thing about this release is it is a huge leap forward to making Swift a cross-platform language, and not something only built for Mac/iOS

Swift 6 unifies the implementation of Foundation across all platforms. The modern, portable Swift implementation provides consistency across platforms, it’s more robust, and it’s open source. macOS and iOS started using the Swift implementation of Foundation alongside Swift 5.9, and Swift 6 brings these improvements to Linux and Windows.

Swift is designed to support development and execution on all major operating systems, and platform consistency and expansion underpins Swift’s ability to reach new programming domains. Swift 6 brings major improvements to Linux and Windows across the board, including support for more Linux distributions and Windows architectures. Toolchains for all of the following platforms are available for download from Swift.org/install.

[–] popcar2@programming.dev 15 points 1 month ago (3 children)

Why? Automod is just a tool, the issues people have with it is how overzealous the mods using it are. If you're moderating a community with 10,000+ people you can't expect to filter and manage everything yourself, so a bot scheduling posts and filtering potential spam/low effort content is necessary.

[–] popcar2@programming.dev 11 points 1 month ago

Very good stuff in this update! The new page quickly showing all the changes is also a lot easier to digest than a 5,000 word essay blog post.

I've already been on 4.3 since the dev previews, so more than anything I'm excited for this release so the team can finally get to merging all those PRs that were shelved for 4.4. Lots of performance optimizations and big changes I'm excited for are coming in that next update. The wait continues!

[–] popcar2@programming.dev 25 points 1 month ago (3 children)

inexperienced big brain developer see nested loop and often say "O(n^2)? Not on my watch!"

complexity demon spirit smile

This hits too close to home.

[–] popcar2@programming.dev 4 points 3 months ago (1 children)

Finally, audio cackling in web builds should be fixed!

[–] popcar2@programming.dev 5 points 3 months ago

I've been on Nobara for almost a year now and am really happy with it. The only distro I'd probably switch to is Bazzite just to try out immutability, but aside from that I'm good where I am.

[–] popcar2@programming.dev 22 points 4 months ago* (last edited 4 months ago) (1 children)

There are two good options: Host your own blog yourself, or join a blogging platform that isn't corporate. I personally use BearBlog but I've heard good things about Write.as as well. These two have free blogging options and don't sell your data. If you want to host it yourself (which is safer), check out Hugo.

Ultimately, bots scrape the entire internet and there's no guarantee they will honor robots.txt of a particular website (which tells bots what they are and aren't allowed to do). If it's on the internet, people can scrape your content and there isn't much you can do about it. That shouldn't stop you from writing or blogging, just don't post very personal data.

Also, feel free to join us on !blogging@programming.dev!

[–] popcar2@programming.dev 28 points 4 months ago (2 children)

Compiling to bash seems awesome, but on the other hand I don't think anyone other than the person who wrote it in amber will run a bash file that looks like machine-generated gibberish on their machine.

[–] popcar2@programming.dev 8 points 4 months ago

Based on the feedback we received at the GDC from partners and friends, we know that we need a way to reduce the size of our exports. Currently, the 4.3 release Web build .wasm is around 40 MB uncompressed, and 5 MB compressed with Brotli. We have a few ideas in mind to address this, and it could even help optimize builds for other platforms!

This is very exciting! It's my #1 issue by far with the engine. With custom export templates I managed to keep it around ~25MB uncompressed, but there's definitely a lot of room for improvement in binary size.

[–] popcar2@programming.dev 6 points 4 months ago* (last edited 4 months ago)

Most variables have setters for situations like this. Rather than using get_tree().paused = false, try get_tree.set_pause(false). There's also Input.set_mouse_mode(), you'll see them under the variable names in the docs.

[–] popcar2@programming.dev 5 points 4 months ago (1 children)

"Merge pull request #8 from [branch name]"

Not the most exciting but hey, someone has to do it.

[–] popcar2@programming.dev 7 points 5 months ago

It's also a lot easier to manage via code since you could just get children and have each layer have its own group.

view more: next ›