Yes, it's technically still possible to write a plain C iOS app in 2025 (and beyond). While Apple pushes developers towards Swift and SwiftUI, and Objective-C is slowly fading, the underlying iOS APIs are still C-based. This means you can use C, potentially with some Objective-C bridging for UI elements or higher-level functionalities, to create a functional app. However, this approach is significantly harder and less efficient than using Swift or Objective-C, lacking modern tools, libraries, and simplified memory management. Maintaining and updating a C-based iOS app would also be a considerable challenge compared to using more modern, officially supported languages and frameworks. Therefore, while possible, it's not generally recommended for practical development.
Storing data on the moon is being explored as a potential safeguard against terrestrial disasters. While the concept faces significant challenges, including extreme temperature fluctuations, radiation exposure, and high launch costs, proponents argue that lunar lava tubes offer a naturally stable and shielded environment. This would protect valuable data from both natural and human-caused calamities on Earth. The idea is still in its early stages, with researchers investigating communication systems, power sources, and robotics needed for construction and maintenance of such a facility. Though ambitious, a lunar data center could provide a truly off-site backup for humanity's crucial information.
HN commenters largely discuss the impracticalities and questionable benefits of a moon-based data center. Several highlight the extreme cost and complexity of building and maintaining such a facility, citing issues like radiation, temperature fluctuations, and the difficulty of repairs. Some question the latency advantages given the distance, suggesting it wouldn't be suitable for real-time applications. Others propose alternative solutions like hardened earth-based data centers or orbiting servers. A few explore potential niche use cases like archival storage or scientific data processing, but the prevailing sentiment is skepticism toward the idea's overall feasibility and value.
Summary of Comments ( 53 )
https://news.ycombinator.com/item?id=43682984
Hacker News users discussed the practicality and challenges of writing a plain C iOS app in 2025. Several commenters pointed out that while technically possible, using only C would be incredibly difficult and time-consuming, requiring significant workarounds to interact with essential iOS frameworks (mostly written in Objective-C and Swift). Some suggested leveraging existing C libraries and frameworks like SDL or raylib for cross-platform compatibility and easier graphics handling. Others questioned the motivation behind such an endeavor, given the availability of more suitable languages and tools for iOS development. The general consensus was that while a pure C app is theoretically achievable, it's a highly impractical approach for modern iOS development. Some pointed out that Apple's increasing restrictions on low-level access make a pure C app even more challenging going forward.
The Hacker News post "Is it possible to write plain C iOS app in 2025?" generated a fair number of comments discussing the feasibility and practicality of using C for iOS development.
Several commenters pointed out that it's technically possible but likely not practical or advisable. One commenter explained that while the entry point of an iOS app might be compiled C, interacting with any iOS frameworks would necessitate using Objective-C or Swift wrappers. They highlighted that even if some parts could be written in pure C, integrating with the iOS ecosystem would be challenging, requiring significant bridging work.
Another commenter explored the potential use of a cross-compiler targeting a suitable runtime like WASM/Wasmer, allowing for more C code. However, this approach was acknowledged as having potential performance limitations. This led to a discussion about whether such an approach would even be allowed on the App Store, given Apple's restrictions on interpreters and JIT compilers.
Some commenters offered alternative perspectives, suggesting that using C for specific performance-critical components within a larger Swift/Objective-C application might be a more realistic scenario. They argued that rewriting an entire app in C wouldn't be worth the effort, given the mature tooling and frameworks available for Swift/Objective-C development.
A few users mentioned existing projects and tools that allow for C development on iOS, such as the SDL library and Beeper (an iMessage client largely written in C++). These examples served to demonstrate that C can indeed be used, but often in conjunction with other languages and primarily for specific use cases.
A recurring theme in the comments was the trade-off between performance and developer productivity. While C might offer potential performance gains in some scenarios, the increased development time and complexity involved in interfacing with the iOS ecosystem were generally seen as outweighing those benefits.
Finally, some commenters discussed Apple's policies and their potential impact on C-based iOS development. The possibility of Apple further restricting or disallowing certain approaches was raised, reinforcing the notion that relying solely on C for iOS development is a risky proposition.