←back to thread

311 points melodyogonna | 1 comments | | HN request time: 0s | source
Show context
torginus ◴[] No.45137794[source]
I think Mojo's cool and there's definitely a place for a modern applications programming language with C++ class(ish) performance, aka what Swift wanted to be but got trapped in the Apple ecosystem (designed by the same person as Mojo).

The strong AI focus seems to be a sign of the times, and not actually something that makes sense imo.

replies(4): >>45137956 #>>45137960 #>>45138057 #>>45142148 #
tomovo ◴[] No.45137960[source]
While I appreciate all his work on LLVM, Chris Lattner's Swift didn't work out so well for me, so I'm cautious about this.

Swift has some nice features. However, the super slow compilation times and cryptic error messages really erase any gains in productivity for me.

- "The compiler is unable to type-check this expression in reasonable time?" On an M3 Pro? What the hell!?

- To find an error in SwiftUI code I sometimes need to comment everything out block by block to narrow it down and find the culprit. We're getting laughs from Kotlin devs.

replies(3): >>45138539 #>>45139513 #>>45148875 #
1. melodyogonna ◴[] No.45139513[source]
I think Swift is really successful in that there are so many new Apple developers who would use Swift now but wouldn't have used ObjC.