Remix.run Logo
randomNumber7 5 hours ago

I think swift is a really great language from the design perspective.

What makes it unusable outside the apple ecosystem imho is that while the C interop is amazing on paper, it sucks hard in practice due to the abomination of pointer types they build in.

The "all pointers are evil" attitude doesn't help when you want to use a C library and noone will write rewrite all these libraries.

tracymiranda 5 hours ago | parent | next [-]

Some recent fixes went into 6.2.3 which really help with C interop, this post shows what that looks like in practice https://www.swift.org/blog/improving-usability-of-c-librarie...

frizlab 4 hours ago | parent [-]

yup, it got much better recently

jumploops 4 hours ago | parent | prev [-]

Not to be that agentic coding guy, but I think this will become less of a problem than our historic biases suggest.

For context, I just built a streaming markdown renderer in Swift because there wasn’t an existing open source package that met my needs, something that would have taken me weeks/months previously (I’m not a Swift dev).

Porting all the C libraries you need isn’t necessarily an overnight task, but it’s no longer an insurmountable mountain in terms of dev time.

MattDamonSpace 4 hours ago | parent | next [-]

My favorite part is the AI will still estimate projects in human-time.

“You’re looking at a multi-week refactor” aaaaand it’s done

nothinkjustai 2 hours ago | parent [-]

Yeah lol. “I estimate this will take 15-20 days” I do it in like 5 hours lol

buzzerbetrayed an hour ago | parent | prev [-]

Very high quality comment that is being downvoted unfairly because it defends AI. HN is on the wrong side of history on this one.