• Activity
  • Votes
  • Comments
  • New
  • All activity
    1. Ladybird chooses Swift as its successor language to C++

      I've copied the full tweet below (it's from August, I missed this news somehow): We've been evaluating a number of C++ successor languages for @ladybirdbrowser , and the one best suited to our...

      I've copied the full tweet below (it's from August, I missed this news somehow):

      We've been evaluating a number of C++ successor languages for @ladybirdbrowser , and the one best suited to our needs appears to be @SwiftLang 🪶

      Over the last few months, I've asked a bunch of folks to pick some little part of our project and try rewriting it in the different languages we were evaluating. The feedback was very clear: everyone preferred Swift!

      Why do we like Swift?

      First off, Swift has both memory & data race safety (as of v6). It's also a modern language with solid ergonomics.

      Something that matters to us a lot is OO. Web specs & browser internals tend to be highly object-oriented, and life is easier when you can model specs closely in your code. Swift has first-class OO support, in many ways even nicer than C++.

      The Swift team is also investing heavily in C++ interop, which means there's a real path to incremental adoption, not just gigantic rewrites.

      Strong ties to Apple?

      Swift has historically been strongly tied to Apple and their platforms, but in the last year, there's been a push for "swiftlang" to become more independent. (It's now in a separate GitHub org, no longer in "apple", for example).

      Support for non-Apple platforms is also improving, as is the support for other, LSP-based development environments.

      What happens next?

      We aren't able to start using it just yet, as the current release of Swift ships with a version of Clang that's too old to grok our existing C++ codebase. But when Swift 6 comes out of beta this fall, we will begin using it!

      No language is perfect, and there are a lot of things here that we don't know yet. I'm not aware of anyone doing browser engine stuff in Swift before, so we'll probably end up with feedback for the Swift team as well.

      I'm super excited about this! We must steer Ladybird towards memory safety, and the first step is selecting a successor language that we can begin adopting very soon. 🤓🐞


      Nitter link:

      https://nitter.poast.org/awesomekling/status/1822236888188498031

      Original post:

      https://x.com/awesomekling/status/1822236888188498031


      Some of Kling's replies in that thread are also pretty interesting:

      My general thoughts on Rust:
      - Excellent for short-lived programs that transform input A to output B
      - Clunky for long-lived programs that maintain large complex object graphs
      - Really impressive ecosystem
      - Toxic community

      In the end it came down to Swift vs Rust, and Swift is strictly better in OO support and C++ interop.


      The September monthly report for Ladybird released the day after I posted this. It provides basically the same information:

      This Month in Ladybird September 2024

      The section about Swift:

      Successor language search progress

      Over the past year, our core contributors have been exploring potential safe languages to complement or succeed C++. We evaluated several options, including Rust, Swift, Fil-C, and others. While some languages offered compelling features, many fell short in either C++ interoperability or providing the level of memory safety we needed.

      After extensive testing and discussion, Swift emerged as the top choice among our core developers, thanks to the new Swift 6 interoperability features and its growing cross-platform support. As a result, we’ve decided to adopt Swift as our C++ successor language.

      That said, this will be an incremental shift. The existing C++ codebase is deeply embedded in the project, and a complete rewrite would be impractical. Instead, we’ll be gradually introducing new components in Swift, carefully integrating them with our existing C++ code over time. Look forward to a dedicated blog post on the topic soon.

      30 votes
    2. In need of new bedding

      I’m looking for some new king size sheets, and likely a new duvet cover as one of the ties inside is ripped. My wife is intrigued by Brooklinen and other brands marketed on social media, but I’ve...

      I’m looking for some new king size sheets, and likely a new duvet cover as one of the ties inside is ripped. My wife is intrigued by Brooklinen and other brands marketed on social media, but I’ve read that those are terrible. Do any of you have brand recommendations that aren’t thousands of dollars?

      2 votes
    3. Save Point: A game deal roundup for the week of October 13

      Add awesome game deals to this topic as they come up over the course of the week! Alternately, ask about a given game deal if you want the community’s opinions: e.g. “What games from this bundle...

      Add awesome game deals to this topic as they come up over the course of the week!

      Alternately, ask about a given game deal if you want the community’s opinions: e.g. “What games from this bundle are most worth my attention?”

      Rules:

      • No grey market sales
      • No affiliate links

      If posting a sale, it is strongly encouraged that you share why you think the available game/games are worthwhile.


      All previous Save Point topics

      If you don’t want to see threads in this series, add save point to your personal tag filters.

      3 votes
    4. Scavengers Reign (2023) - Best sci-fi I have seen in years, aside from Dune

      "Scavengers Reign" eluded me when it released last year, but I was made aware of it after MAX canceled the show in May (Netflix has since picked it up but may or may not put in for more, is how I...

      "Scavengers Reign" eluded me when it released last year, but I was made aware of it after MAX canceled the show in May (Netflix has since picked it up but may or may not put in for more, is how I understand the situation).

      The trailer has been posted here but I wanted to check in and see how everyone else felt about it (keep it spoiler free!). Personally I was enthralled all the way through. It has such an interesting blend of Miyazaki-esque "creature-y" world building with more meditative displays of nature and the violence and balance that is integral to it. If that sounds at all interesting I would suggest watching the first of twelve episodes, you will probably know if you are interested or not after it's over.

      Here's hoping Netflix green lights more, assuming the creators want to continue. It really could stand as-is with where they left it.

      38 votes
    5. Midweek Movie Free Talk

      Warning: this post may contain spoilers

      Have you watched any movies recently you want to discuss? Any films you want to recommend or are hyped about? Feel free to discuss anything here.

      Please just try to provide fair warning of spoilers if you can.

      7 votes
    6. Community Check-In: How is everyone doing?

      Given the current cosmic circumstances – hurricanes, extreme weather, end of the year festivities, moon 2: intergalactic boogaloo, and the never-ending struggle against the forces of evil – it...

      Given the current cosmic circumstances – hurricanes, extreme weather, end of the year festivities, moon 2: intergalactic boogaloo, and the never-ending struggle against the forces of evil – it seems like a good time to delve into each others personal realms just a a bit, or perhaps too much.

      So... How's it going? How's life? Working on anything? How's the family? How's your friends and loved ones? Any worries? Any triumphs, failures, or any other radical (or not so radical) sensical nonsense? Writing or constructing your magnum opus? or are you just feeling like a massive dope, or even The Massive Dopeness?

      Rant, don't rant, just a check-in, choose-your-own-adventure, go to page 85, or go to page 20, your choice.

      We already have several recurring threads that scratch the surface of our present experiences, focusing primarily on tech and games and the like2. But, hows your individual journey going?1


      Footnotes 1. If this were 2014a I would have thrown a yolo in there, but it's 2024 so it belongs in the footnotes to signify the cognizant cringe of it all.

      1a. If this were pre-2012 I would have thrown an "inb4" in there, but its 2024 so I've added it to a sub-footnote, and made it smaller hoping most people stopped reading before now

      2. We have this recurring mental health thread, but I feel its a bit too targeted (more of a downage than a positive start of a conversation) and sort of dicey to talk about for most people in our public forum, especially on the permanent and entirely ephemeral superhighway of information.

      43 votes
    7. Should I go for a fun convertible I can drive every day to work, or a classic weekender?

      Hey! I know a couple Miata owners are hiding here, so I figured I'd ask a car question here. Bear with me, this is a non problem that I blow out of proportion. I get twitchy when I don't have a...

      Hey! I know a couple Miata owners are hiding here, so I figured I'd ask a car question here. Bear with me, this is a non problem that I blow out of proportion.

      I get twitchy when I don't have a fun manual car, so right now I have a high mileage 330i E46 ZHP sedan. For those out of the know they're fairly notorious BMWs that are pretty unreliable, but the E46 generation is fairly easy to work on yourself. This was the ideal performance model that I wanted for a while, but unfortunately this one gave me lots more things to work on over the last year and a half than my last one. (Who knew the one with 230k miles off the street would be more difficult to sort than my grandpa's pristine 50k example??) It is a great car, it brings fun to my commute, but I don't feel the love with it. After the last repair I did took a turn, I just wanted it out of my parking spot more than anything... So now that it's back in a solid state, I have it up for sale and I'm planning on replacing it.

      Here's the problem: bare minimum, if I'm going to drive something to work I want it to have side airbags. My pregnant wife and I almost got sidelined by a moving truck blowing a red light in my old NB Miata, and while I consider that kind of thing could happen regardless of the car I'm driving, I have a 60-mile highway commute and figured I shouldn't play those odds in a car with 80's safety sensibilities anymore. I sold the Miata and got the BMW, for safety and because it had back seats in case I needed to take the kid in it.But then I ended up never needing the back seats at all, and it doesn't seem like I really ever will in whatever I get. So now I'm looking to replace the bimmer with something less practical. And while my second kid is on the way - so we won't have a ton of time to go together for a bit - my wife agreed she misses the drop-top. So I'm looking at convertibles again. I feel like I've got two routes about this. (We have a minivan and a family sedan, so ignore any unmentioned notions of practicality going into this.)

      The NC Miata has side airbags, and as a benefit they're dead reliable. They're a bit faster, a bit more comfy, and all around a better car than my NB was. So I could save up for that... But I just don't feel a ton of heart for them? Despite all the revisionism going around the NC and how they're underappreciated, I just find them very, uh, bar of soap to look at. Some seat time might change my mind here. A Fiat 500 Abarth or a 986 Boxster would also work, and I find them more interesting, but they don't have the reliability points.

      On the other hand, if I'm looking to get something for my hobby... Shouldn't I get something I really want? There are a few things I'm interested in my price range, but what's really piquing my interest is an NA Miata or an MR2 of some generation. I had a bad NA before and would like to try again; I adore the styling, and the market cooled off a bit since the Covid bubble. With the MR2, I've never had a mid-engine car and they seem pretty simple, reliable, and aren't as unpredictable as a lot of other MR options. I could upgrade either of those down the line, and many I'm looking at are well taken care of with rust or pre-cat issues out of the way. There's also a huge influx of interesting kei cars and imports coming in that I'm really curious to drive and work on in the price range; Beats, Cappuccinos, Pajero Minis, and GC8 Imprezas are on my radar.

      Since I'm not going to be driving to work for a few months while my kid is coming, it won't matter if I won't take it. But when that time comes I'm not going to drive the thing 5/7 days of the week. A manual car really livens my commute up and makes it much more enjoyable, and I probably won't want to be working on an old something with two kids around.So I keep jumping between these two options. My brain tells me I should save for an NC2 Miata; my heart tells me to get something cooler. My gut says I'm clueless and I should just wait for he best thing that pops up. But I just don't know.

      Was anyone asking themselves the same question at some point, and what did you end up doing? Did you get the fun side dream car and keep it as the weekender, or did you get the compromise car and enjoy it every day?

      15 votes
    8. Weekly US politics news and updates thread - week of October 7

      This thread is posted weekly - please try to post all relevant US political content in here, such as news, updates, opinion articles, etc. Extremely significant events may warrant a separate...

      This thread is posted weekly - please try to post all relevant US political content in here, such as news, updates, opinion articles, etc. Extremely significant events may warrant a separate topic, but almost all should be posted in here.

      This is an inherently political thread; please try to avoid antagonistic arguments and bickering matches. Comment threads that devolve into unproductive arguments may be removed so that the overall topic is able to continue.

      10 votes
    9. How do you listen to your favorite obscure music that never made it onto any streaming platforms?

      One of my very favorite musicians of all time has apparently decided to not put any of his music on any streaming service other than one album from one side project that made it onto Apple music....

      One of my very favorite musicians of all time has apparently decided to not put any of his music on any streaming service other than one album from one side project that made it onto Apple music. I've even posted on his Facebook (a site I basically never use) and gotten likes from some of his best friends but he never uploaded anything :(

      I'm tempted to just put his music on Spotify, possibly with fake names in case he doesn't want the attention lol

      I'll be going to my parents' house this weekend and I'm hoping to grab my old CDs so I can at least rip his music...if I can find a CD drive! Hopefully I can grab my Sufjan Stevens Illinois vinyl for a friend who listens to vinyls but has never heard of him. as an aside, I have no idea how it's possible to be such a hipster that you still listen to vinyl but also don't know who Sufjan Stevens is, but I digress

      So how do you do it? I just want the music to be on Spotify 😢

      22 votes
    10. Is there actual long-term issues with teens watching movies that are rated out of their range?

      something I have been thinking about lately. like any kid being raised as the internet piracy was really taking off, I must have watched countless R-rated movies when I was still in high school. I...

      something I have been thinking about lately.

      like any kid being raised as the internet piracy was really taking off, I must have watched countless R-rated movies when I was still in high school.

      I can see an argument being made that maybe immediately after watching the movie, it excited me too much and maybe I didn't know how to internalize a sex scene or a violent scene. as for the cursing, I didn't need movies to teach me bad words, society took care of that already.

      but I have a hard time placing any issues I have now that are cause of watching movies that were not appropriate for me. I care about people, I place great significance on empathy and non-violence, I am a pacifist for goodness sake but I still enjoy a good shoot-em up movie. As for the sex scenes, honestly, the general misogyny and patriarchal nature of western society had a far greater influence on any incorrect assumptions I had made about the bedroom and porn. Imo porn is the only thing that really fucked me up, watched it too way too early and in a conservative-ish (at least with regards to sex) household so not like I could feel safe talking to an adult about it.

      But I have a hard time placing any permanent harms that watching R-rated movies in my teens had on me. Then again, I was raised by pretty moral women who instilled a very active conscience in me.

      which makes me think the rating system is mostly pointless and just done in response to activist conservative parents who get too worked up about that kind of thing?

      Or maybe it does have a long-term effect just only with certain folks?

      26 votes
    11. Tildes Minecraft Survival Weekly

      Server host: tildes.nore.gg Dynmap: https://tildes.nore.gg Playtime Tracker: https://tildes.nore.gg/playtimes.html Tildes website extension (shows online status & location): Firefox (Desktop and...

      Server host: tildes.nore.gg
      Dynmap: https://tildes.nore.gg
      Playtime Tracker: https://tildes.nore.gg/playtimes.html
      Tildes website extension (shows online status & location): Firefox (Desktop and Android) - Chrome
      Verification site: https://verify.tildes.nore.gg
      Patreon: https://www.patreon.com/TildesMC

      The server operates on a soft whitelist. Anyone can log in and walk around, but you need a Tildes account to gain build access.

      12 votes
    12. Tildes Video Thread

      Find yourself watching tons of great videos on [insert chosen video sharing platform], but also find yourself reluctant to flood the Tildes front page with them? Then this thread is for you. It...

      Find yourself watching tons of great videos on [insert chosen video sharing platform], but also find yourself reluctant to flood the Tildes front page with them? Then this thread is for you.

      It could be one quirky video that you feel deserves some eyeballs on it, or perhaps you've got a curated list of videos that you'd love to talk us through...

      Share some of the best video content you've watched this past week/fortnight with us!

      4 votes
    13. Which game themes inspired M83's DSVII?

      I've been listening to M83's Digital Shades Volume II (the album can be heard here on YouTube). I didn't think too much about it until I read that it was partially inspired by 80's video game...

      I've been listening to M83's Digital Shades Volume II (the album can be heard here on YouTube). I didn't think too much about it until I read that it was partially inspired by 80's video game sound tracks, according to Anthony Gonzalez.

      I started wondering if I could identify the game that inspired the song. For example, the song A Bit of Sweetness seems to me like it borrows from Zelda's Fairy Theme. Particularly, the descending arpeggiation that can be heard in the background of the M83 track bears an uncanny resemblance to the Zelda theme.

      Other tracks are harder to place, but if you are "game", take a listen and share the song you think was inspiration for one of the DSVII tracks.

      7 votes
    14. Is there an independent, cross-device cloud sync platform for ebooks?

      I used the Kindle ecosystem for a while before souring on Amazon. Now I’m bought into the Kobo ecosystem, which is great in some ways but frustrating in others. I’m curious if there’s a sort of...

      I used the Kindle ecosystem for a while before souring on Amazon. Now I’m bought into the Kobo ecosystem, which is great in some ways but frustrating in others.

      I’m curious if there’s a sort of DIY book cloud platform out there. I’ve come across a few, but they all seem to lack what, to me, is the killer feature of the Kobo/Kindle platforms:

      Cross-syncing between mobile (iOS), ereader, and web reader

      Most of the ones I’ve found can do this with some of those devices, but not all three.

      I ask because I regularly hop between reading on different devices to the point that I avoid reading books that I can’t do this with (e.g. all my DRM free books, physical books, etc.). I’ve even re-bought books I already own in other formats just so I can have them inside the “sync loop” because it’s so much easier for me. I’d rather not have to do that though.

      Are there any independent options out there that cover this use case? I primarily want to use it for DRM free books I got from bundles, as well as books that I de-DRMed from my Kindle. I would also happily buy a different ereader device that supports this (currently I use a Kobo Forma).


      Meta note: wasn’t sure if this topic was better in ~books or ~tech — feel free to move it if needed!

      17 votes