Marcin
246 posts


New Boss 😎
🔹Wiele lat przy klubie
🔹Naturalny następca
🔹Droga awansu
P.S. A jak będzie chciał budować większą oglądalność, to niech się skontaktuje ze mną 😁
#plkpl

Polski
Marcin retweetledi

Behind every iPhone. His compiler.
Behind every Android. His compiler.
Behind every NVIDIA GPU. His compiler.
One American. Billions of devices. 🤯
Meet Chris Lattner 🇺🇸
> Started LLVM in late 2000 at UIUC as part of his graduate research.
> LLVM is a compiler infrastructure ~ the software that turns code into machine instructions.
> Apple hired him in 2005. He stayed 12 years.
> His toolchain now powers iPhone, iPad, Mac, PlayStation, Android NDK, and NVIDIA's CUDA.
> Also built Clang ~ the C/C++ compiler used by Google, Microsoft, and Sony.
> Built Swift in secret. Nights and weekends. While leading a 40+ person Apple team by day.
> Apple leadership was skeptical. He shipped it anyway. 🚀
> Swift now powers the vast majority of iOS apps on earth.
> Won the ACM Software System Award ~ same as Unix, Java, and TCP/IP.
> 2017 ~ Tesla VP of Autopilot. Worked in Elon's orbit. Left in 5 months.
> Joined Google Brain. Built MLIR ~ the compiler infrastructure behind TensorFlow.
> 2020 ~ joined SiFive to build open-source chips competing with Intel and ARM.
> 2022 ~ left Big Tech entirely. Founded Modular AI.
> Built Mojo ~ a new AI language that runs Python up to 35,000x faster.
> LLVM, Clang, Swift — all open-source. Mojo follows in 2026.
> Targeting NVIDIA's $4.8 trillion CUDA dominance. Raised $380M. Valued at $1.6B.
> Still writes code. Still answers GitHub issues himself.
He spent over 25 years building the compilers Big Tech is built on.
Now he's openly building the one that could break NVIDIA.
What a mind. Compiler GOAT. 🧠🐐


English
Marcin retweetledi

Advanced Swift Concurrency: Atomics vs Actors vs Mutex
I wanted to find out whether the new iOS 18 Synchronisation primitive, Atomic, was any good compared to Actors and the new Mutex.
I put them head-to-head counting concurrently to 10 million to get a benchmark for the fastest approach. The winner was… surprising.
See the full comparison here: blog.jacobstechtavern.com/p/the-synchron…


English

Wracają po roku przerwy! 👀
Po porażce z Szczecinie, krośnianie stracili szansę na utrzymanie w #plkpl 🏀
Hej, @BasketKrosno, #1lkosz też jest jest fajna! 😉
@BankPekaoSA @AerowatchPolska
Polski

Nie interesuję się motoryzacją i nie wiem czy to normalne
Szukamy auta i okazuje się, że:
-sedanów jest jak na lekarstwo
-kombi wymarło, chyba że jakieś Audi w wersji Avant za absurdalnie wysokie pieniądze do których trzeba doliczyć 50-75 tysięcy jak dodasz ładne felgi i zmienisz lakier
-do wyboru pozostają tylko mini SUV-y, mikro SUV-y, SUV-y klasy C itd..
-wszędzie dziwnie zorganizowana tabletoza z prawie zawsze beznadziejnym UX
-niskiej jakości plastiku jest znacznie więcej niż kiedyś i to w BMW, Mazdach, Alfa Romeo, Formentorze… również w wyższych wersjach wyposażenia
-ceny za tak tandetne i niepraktyczne wnętrza często tylko troszkę większe od Golfa to jakiś kosmos
-wiele aut jest dzisiaj ładniejszych z zewnątrz niż kiedyś, ale są dużo gorsze w środku
-zdaje się że komfort wyboru zaczyna się gdzieś od 400k za samochód, inaczej idziesz na mnóstwo kompromisów
Jak żyć? 🤷♂️
Polski

Możemy śmieszkować, ale od tego szefa proszę się odczepić.
Trust the process.
Foto: ja
#plkpl

Polski

@eeziomek @seyonara_ @s_staszewski Ale czaisz że politycy mają znacznie większy wpływ na budżet państwa który jest rzędu wielkości większy niż takie akcje? Ponadto zawodowy poseł choćby minister zarabia dobrze ale nie na tyle żeby wydać na strzała 500k z dobroci serca.
Polski

@seyonara_ @s_staszewski Najśmieszniejsze jest to, że żaden POLSKI POLITYK nie wpłacił powyżej 500 tysięcy, kraść jest komu i żyć za pieniądze państwa, ale do pomocy nie ma nikogo !
JEBAĆ POLITYKÓW ! #ŁATWOGENG #CancerFighters #Polska
Polski

🚨🔴 SZOK
Podczas ostatniej godziny streama #CancerFighters nastąpił przełom!
Jimmy znany jako "MrBeast" zadklerował ZDUBLOWAĆ kwotę którą będzie widniała na zbiórkach o godzinie 20.00 ❗❗❗
Thank you Jimmy ❤️🩹❤️🩹❤️🩹
[ źródło: @s_staszewski ]


Polski
Marcin retweetledi

Swift Talk 489
Rewriting Recursive Expressions
We try a different approach to syntax trees. By separating recursion into a generic map function, we can write operations in a simple way—with some complexity elsewhere.
This is a public episode, enjoy! 😊
talk.objc.io/episodes/S01E4…
English
Marcin retweetledi
Marcin retweetledi

`[unowned self] is more performant` --- NO IT ISN'T!!!!
Not always.
Weak references introduce pointer indirection, and so are computationally less efficient than strong/unowned, but unowned references actually take up more memory.
To ensure the runtime memory integrity mechanisms behave correctly, deallocated objects with unowned references are not freed (until all the unowned references go out of scope). This zombie object means unowned references are far less memory-efficient than weak references, which only keep around a relatively tiny side table.
To understand how reference counting really works, read this 🚀
blog.jacobstechtavern.com/p/swift-refere…

English

🏀Debiutu w barwach @LKSCoolPackLodz może nie będzie, ale przecież pytania o Maćka Lampe możemy Wam zadawać 😉⤵️
#1LKosz

Polski
Marcin retweetledi
Marcin retweetledi

Whenever you have data you might need to access in the near future, caching it locally is a common pattern to boost performance. You might use a dictionary for this, but it's incredibly easy to write a naïve cache that crashes when written to from concurrent threads.
iOS 18 introduces a new Mutex primitive that offers blocking thread-safe access to the protected section via locks, for free!
I wrote a lot about them here: blog.jacobstechtavern.com/p/the-synchron…


English

@PersonalAbdon @Owca89 Tam jakaś mała tabela się zrobiła, 3 drużyny z bilansem 2:1
Polski

@lolowpierdoloo A wystarczyło najpierw spytać się w klubie co oznacza ten skrót, pisany już chyba od 5 sezonów.
Polski
Marcin retweetledi

autoreleasepool is a leftover bit of Objective-C cruft, but you look like a total genius when you use it to solve OOM crashes.
My original SwiftData database foolishly stored images as raw binary in rows, which was insanely slow and ruined my app performance. So I migrated it to the standard file-path references by fetching each image and processing it into a file [screenshot 1]
But when I migrate my existing data, the app crashes: out of process memory. [screenshot 2]
By adding a simple autoreleasepool wrapper [screenshot 3], we drop the heavy inflated UIImage bitmaps from the function call stack with each loop pass, the heavy migration runs smoothly [screenshot 4].
Read my full SwiftData optimisation process here 🛠️
blog.jacobstechtavern.com/p/high-perform…




English








