I tried Swift and came out a different person

preview_player
Показать описание
Enable Subtitles for Twitch Chat

References:

Support:
- BTC: bc1qj820dmeazpeq5pjn89mlh9lhws7ghs9v34x9v9
Рекомендации по теме
Комментарии
Автор

1:47:50 swift cant find the CLITERAL which is quite relatable

tianned
Автор

Honestly, as somebody quite involved with Swift, I have to thank you for this stream! It was great, very good feedback. I hope the community takes this opportunity to fix and improve things. Swift is OSS so I'm sure we can make documentation and tooling better to get the Raylib speedrun down to a more reasonable time! ❤

alexitosworld
Автор

Imagine multiple year experienced swift developers just getting to know about the existence of swiftc after that video

mntylf
Автор

Named parameters in functions are very handy because you usually can tell at a glance what the function uses those parameters for without having to look inside the function or into documentation

Also inclusion of classes in pretty much non negotiable because Swift has to interop with Objective-C and Apple's SDKs written in objc

Fakheet
Автор

It's interesting to hear Chris Lattner talking today about Swift and about all the regrets he has. (For instance in a recent conversation with the creator of Roc) Of course, he has a new language to plug (Mojo)

neqkk
Автор

to ship a binary written in Swift you're supposed to wrap it in a docker container 😆

julkiewicz
Автор

Swift:
- Good language
- Trash toolchain
- Diabolic company behind

Mth-Ryan
Автор

You know it's gonna be fun when byte translator compressed weights more than the entire linux kernel.

rogo
Автор

This is not even LLVM wrapper, it's clang wrapper 😭

kala-telo
Автор

Containers are nice because we fucked up how installing software works, I want my system to stay virgin so I never end up with a weird/broken OS.

owlmostdead
Автор

"I ain't using a freaking Docker container for a byte translator" Holy Based

bayzed
Автор

i see the vision. make the language as hard as possible to get running on your machine so you instantly get sunk cost fallacy so now you have to finish the project in swift. bravo tim

Cmanorange
Автор

Compilers in Docker containers are great because now we can switch to any version at any time. We can also collaborate with the exact same setup through our teams, and it improves CI/CD pipelines a lot. that's why.

chouyangv
Автор

I think the reason it has bad documentation for c interop is because Apple intends for people to use it in their ecosystem (xcode) which handles the language bridging by itself and provides an easier interface. Btw i think you missed the function param labeling, you looked at 'x:' and '_ x:', but it also does 'posX x:' kind of stuff too, it has its usecases. Also the use case for function param labels e.g. 'x:' that i used back when i did iOS dev was that it lets you overload functions, e.g. color(hex: string), color(r: int, g: int, b: int), color(r: int, g: int, b: int, a: int) etc.

Taimoorabdullah
Автор

well, before I was prejudiced with swift, now I'm just judicied

caiocouto
Автор

That last part made swift extremely better than C3 to interfacing with C!!? I hate Apple and its culture but that interfacing with C was awesome.
I love that you don't need to rename C functions and not do that extern bs, but call them directly, like it should be.
Please for the love of God, C3 compiler developers, you should have a better C interface than swift, that language is not even trying to be "a better C" you guys are!
So be a better C by all means but make working with old C libraries a breeze!

Argoon
Автор

It is quite trivial, that a language designed for apple products is dynamically linked when it is meant to run on a finite set of devices probably coming with the libraries necessary to run Hello World

BachenBenno
Автор

the first 5 minutes are a perfect example of swift.

thunderstein
Автор

9:45 now he gets why Linux version of Swift is distributed as docker, because you need the whole 1gb image to run your hello world server

JLarky
Автор

One reason why I got into Odin way back in 2018 was because I downloaded the compiler and it just worked. I also tried Zig around that time and it gave me some LLVM error instead of an executable.

MagpieMcGraw