7

Anyone ever tried Embedded Swift?

I should have posted this as a joke but, guess what Apple does NOT use when developing Embedded Swift stuff for their Secure Enclave firmware...

Yep, they don't use Xcode! 🤣🤣🤣🤣

(ok, I know, not surprising, but love the irony!)

Comments
  • 3
    No dogfooding at apple, I guess.
  • 2
    @spongessuck in one of the sessions they told that they use embedded swift for their own chips or something.

    Xcode doesn’t have templates for embedded swift, that’s probably why they use something else.

    Xcode is for gui apps and cli apps.
  • 3
    @Lensflare vim is for CLI apps young man. While I master dem vim for a long time, it's just since a few months that I actually do prefer it above all others. Really, would've not expect that I would ever say that. I became good at it for two reasons, like most who became good at it, wanted to be part of the elite and skip arch. But at a certain moment I only had a netbook at home and I had to go hard on it. Oh, I just see now two things, my site is heavy under attack, check the molo repository. I have automated the cleanup to run every 5 minutes but it seems broken. Also, they noticed and went hardcore. Fine by me. Their remote process can't win from a local one and when I have time I'll just recognize the pattern of usernames. Random.molodetz.nl uses exactly the same library for username generation. The other thigh i saw, is that I forgot to push my new shortcut trainer. My vim trainer is used a lot. Now I've upped the game, and this trainer is bad for confidence :p
  • 1
    Why? What's wrong with C and C++ to be using Swift of all things?
  • 3
    @iiii actually, @Lensflare did convince me. I tried it. But I was a bit too busy for learning a new language. It's designed very well if you read the docs. Some defensive programming iirc. Go had also such thing iirc. I really did too much. Don't remember shit. I spend so much time on AI and now, I'm starting to really love it. There is no source from my side that leaves without being optimized by AI. Take this wordle bot for example: https://devrant.molodetz.nl/Screens... I programmed it for 90% in two hours or so, but then I use my own vim AI select tool to apply enhancements on things and now I have this beautiful squares with colors to indicate stuff. It's just so much better. And also, I always program 100% happy flow, that thing completely finishes it for me. But reminder, I do write myself 90%. And if you do that, AI will produce perfect code matching yours. AI rarely surprises me. Really understand it now and it took so much time :p
  • 3
    Learning how to really use AI for real benefit was frustrating on the level on C, but also the way to go was as hard as it is for C. AI was also very good for my backup skills. I need a simple note taking app that looks like Google keep. It's like really not important part of this project consumer wise, only the backend has to be top notch. But I'm sure I'll finish this tonight. Before AI this wouldnt be a thing. Especially not reasonable looking what never was the case before AI.
  • 2
    @retoor do you write posts with AI now? What's that stream of consciousness?
  • 2
  • 1
    @Lensflare actually it technically (with plenty of thorns) does embedded. I'm adopting it to bare metal coding for a hardware project. It is no easy task and definitely shows the insanely buggy nature of Xcode... but it is in theory a generic IDE that executes against external tool chains.

    (what?! Xcodesucks sticking up for Xcode? Sign of the apocalypse; what's next? dogs and cats living together?)
  • 0
    @iiii Re: What's wrong with C and C++ to be using Swift of all things?

    My C conventions have carried through C++ and ObjectiveC. If I am going to convert them over to Swift, I would rather not try to maintain them in two very different languages, especially one that does not generally allow you to use pointers / hardware addresses
  • 0
    @kiki Re I only like common swift

    Have to agree, lovely.
  • 1
    @xcodesucks because it was made by apple. They always do things in the most weird way. Objective C was an abomination.
Add Comment