As we prepare to attend iFest 2018, we’re happy to share the result of ongoing research at Float to pursue safer and more predictable code. The Float xAPI library is written in F#, a functional-first programming language that helps to produce code that minimizes unintended side effects. As F# targets the .NET runtime, our xAPI library can be used by applications built on Xamarin or ASP.NET just like any other .NET library.
The current implementation is still very early but defines the standard xAPI types such as statements, verbs, actors, and a variety of objects on which statements can act. We use structs to enforce value semantics, provide and use interfaces wherever possible to prevent leaking implementation details, and use immutable types to prevent unintended behavior. Strict type requirements help ensure that all objects are valid at the time of construction, and we use library types to prevent loosely defined properties. While work on the library is still ongoing, we hope that the current codebase will show the intentions behind the library and give an indication of the future.
We value your feedback on the library and look forward to working with the community to provide a modern and safe xAPI implementation.
Latest posts by srichey (see all)
- Introducing the Float xAPI Library for F# - August 27, 2018
- 4 Challenges Designing Augmented Reality Applications for Smart Glasses - May 4, 2015
- 9 Ways Smart Glasses Can Increase Employee Productivity - April 27, 2015