You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2024-03_bus-iOS.md 997B

3 maanden geleden
123456789101112131415161718192021222324
  1. Title: Шина-iOS
  2. Date: 2024-03-10 00:00
  3. Category: News
  4. Slug: bus-iOS
  5. Lang: en
  6. # The first Bus pattern implementation for iOS
  7. I spent January and February making Bus pattern implementation in Swift for iOS.
  8. The end result looks nice to me.
  9. I have also done load testing. Turns out, the Bus is 92 times more expensive
  10. than a function call. Nonetheless, this doesn't mean the Bus is bad. On the
  11. contrary, the numbers highlight the Bus should be used in architectural
  12. glue code where it can save up to 30% of code
  13. This example demonstrates several states rendered through a single instance:
  14. <iframe width="560" height="315" src="https://www.youtube.com/embed/xviaEbSd54o?si=7oZRU4Sjp3Hc5mX3" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
  15. # March plans
  16. I'm going to spend March to have a draft of the portable code in C++ for OpenWrt 12.09 (Atheros AR9331).