Memory layout in Swift
Explains how Swift manages memory for data types, covering layout, alignment, and safe access using MemoryLayout.
Tibor Bödecs — Swift developer and technical writer sharing in-depth articles on Swift, Swift 6, server-side Swift, and frameworks like Hummingbird and Vapor, with a focus on clean architecture, type safety, and modern language features.
142 articles from this blog
Explains how Swift manages memory for data types, covering layout, alignment, and safe access using MemoryLayout.
A tutorial on using C libraries in Swift, covering Swift Package Manager setup and interoperability for beginners.
A tutorial on building static and dynamic Swift libraries directly with the Swift compiler, without using the Swift Package Manager.
A beginner's guide to using the Swift compiler (swiftc), covering basic compilation, flags, and working with multiple source files.
Guide to setting a custom working directory in Xcode for Vapor projects to resolve missing file and resource issues.
A tutorial on building a simple file upload API server using Vapor 4 and Swift, including code examples and configuration.
A tutorial on implementing AJAX calls using Vapor 4 and Leaf templates for server-side Swift web development.
A tutorial on implementing a basic HTML file upload form using the Vapor 4 framework and Leaf template engine, written in Swift.
A guide to implementing a basic event processing system for modular Swift applications, covering dependencies, protocols, and runtime flexibility.
An introduction to SwiftIO, a microcontroller board that runs Swift natively for building IoT projects and learning embedded programming.
A guide to building macOS applications using only the Swift Package Manager, bypassing Xcode project files.
A beginner's guide to logging in Swift, covering print, debugPrint, dump, NSLog, and the os.log API for debugging.
A beginner's tutorial on defining strings, using escape sequences, and string interpolation in the Swift programming language.
An overview of using Swift for server-side development in 2020, covering its benefits, the Swift Server Work Group, and available frameworks.
Practical tips for Vapor developers to avoid common pitfalls, including Xcode setup, server management, and database migrations.
A tutorial on storing and loading base64-encoded secret keys in .env files for Vapor 4 applications.
A tutorial on performing table joins and querying database models using the Fluent 4 ORM framework in Vapor for Swift.
A beginner's tutorial on building a multiplayer game using Websockets with Vapor 4 (Swift) and Vanilla JavaScript for real-time communication.
A guide to creating a dynamic plugin system in Swift using runtime library loading for modular server-side applications.
Highlights new features in Swift 5.3, including Swift Package Manager updates and language enhancements like multiple trailing closures.