TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Hot Reloading in Swift

99 pointsby mgraysonalmost 3 years ago

4 comments

musesumalmost 3 years ago
Ironically, I think Brad Cox had something like this in mind, after coming up with Objective C. Or at least, pluggable components [1]<p>I wonder what the threat model would be? Injectable binaries seem like a decent attack vector. But, if we&#x27;re talking 2040, maybe a signable Merkle tree would do the trick.<p>Meanwhile, have been experimenting with recompiling Metal code at runtime. Was kinda fun with ObjC&#x2F;C++&#x2F;OpenGL, a few years ago.<p>[1] <a href="https:&#x2F;&#x2F;thenewstack.io&#x2F;objective-cs-roots-in-the-life-of-brad-cox&#x2F;" rel="nofollow">https:&#x2F;&#x2F;thenewstack.io&#x2F;objective-cs-roots-in-the-life-of-bra...</a>
评论 #32102250 未加载
评论 #32104202 未加载
评论 #32102226 未加载
评论 #32102225 未加载
lisperalmost 3 years ago
This is one of the main reasons I like Common Lisp, and Clozure CL in particular, which has a blazing fast compiler: my debug cycles are measured in seconds. Over dozens or hundreds of cycles it really adds up.
评论 #32106422 未加载
leecommamichaelalmost 3 years ago
You can hot-reload any language that can load a dynamic library. Compile the hot-reloadable portion of your app to a dylib and use a hotkey to reload the lib.
评论 #32112155 未加载
markheloalmost 3 years ago
&quot;Microsoft has been killing it over the last decade regarding dev tooling and experience, so it is not a big surprise.&quot;<p>To be fair, for all the flack Microsoft got&#x2F;gets, the dev tooling for Windows ecosystem is miles ahead of anyone else and world class. Perhaps I am biased as I worked there at one point, but since I don&#x27;t anymore, I have also seen tooling from Apple and Google and they are a couple of decades behind. There is some truth to why Steve Ballmer went ballistic with his Developer chant, they really built great tooling for developers.
评论 #32101980 未加载
评论 #32105634 未加载
评论 #32102021 未加载
评论 #32102058 未加载
评论 #32102158 未加载
评论 #32101767 未加载