Swift is a programing language based on C that has grown very rapidly in mobile development as well as has a thriving community for server applications. As this language is very fast and compiles similar to C it is a great replacement for some cases. Swift was designed to be used everywhere as it is an extremely robust and versatile language.
μSwift is Swift.
Microcontrollers are a very valuable piece of hardware with their own unique advantages and use cases. Microcontrollers are most commonly programmed in C. C is a wonderful language, however it is not always the easiest to use or understand especially for people new to software development. Swift offers a modern syntax where the compiler does a lot of the heavy lifting. Because of this Swift can be a great replacement for some cases.
Why μSwift? The Swift Standard Library is large and designed with very different systems in mind. With a small 8 bit microcontroller and many of the dedicated hardware functions standard in embedded systems it is prudent to have a standard library that is more suited to this task.
μSwift.io is currently my place to dump my learning about microcontrollers. I have worked as an iOS developer making iPad and iOS apps for the financial industry, enterprise clients, government, and social media. I have long sense had a fascination with objects in the physical world and have a strong belief that more needs to be done outside of the digital space. As I go on this journey to improve my understanding of electrical engineering and physical hardware I wanted a space to record my thoughts. This will be an evolving site and hopefully a resource for others but currently the primary purpose is to provide an outlet for my thoughts and help me learn.
If you found this website please reach out to me or join our community at SwiftForArduino.com. Carl Peto has been doing great work with Swift4Arduino, an IDE and a bunch of contributions to the Swift compiler.
Timers