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.

bus-iOS.html 3.6KB

9 months ago
9 months ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!DOCTYPE html>
  2. <html>
  3. <meta charset="utf-8">
  4. <head>
  5. <link rel="stylesheet" href="../../style.css">
  6. </head>
  7. <body>
  8. <script data-goatcounter="https://services.opengamestudio.org:443/count" async src="//services.opengamestudio.org:443/count.js"></script>
  9. <div id="header">
  10. <div>
  11. <strong id="title">Open Game Studio</strong>
  12. <div id="lang">
  13. <a href="../../en/news/bus-iOS.html">EN</a>
  14. <a href="../../ru/news/bus-iOS.html">RU</a>
  15. </div>
  16. </div>
  17. <div class="header2">
  18. <div class="menu">
  19. <a href="../../en/news/index.html">News</a>
  20. <a href="../../en/game/index.html">Games</a>
  21. <a href="../../en/tool/index.html">Tools</a>
  22. <a href="../../en/page/about.html">About</a>
  23. </div>
  24. <a class="discord" href="https://t.me/Tail_and_shadow">
  25. <img src="../../images/telegram.png"></img>
  26. </a>
  27. <div class="clear"></div>
  28. </div>
  29. </div>
  30. <h3 class="left_item_title">In the news...</h3>
  31. <center>
  32. <div class="news_item">
  33. <h2 class="news_item_title">
  34. <a href="bus-iOS.html">Шина-iOS</a>
  35. </h2>
  36. <p class="news_item_date">
  37. 2024-03-10 00:00
  38. </p>
  39. <div class="news_item_contents">
  40. <h1 id="thefirstbuspatternimplementationforios">The first Bus pattern implementation for iOS</h1>
  41. <p>I spent January and February making Bus pattern implementation in Swift for iOS.
  42. The end result looks nice to me.</p>
  43. <p>I have also done load testing. Turns out, the Bus is 92 times more expensive
  44. than a function call. Nonetheless, this doesn't mean the Bus is bad. On the
  45. contrary, the numbers highlight the Bus should be used in architectural
  46. glue code where it can save up to 30% of code</p>
  47. <p>This example demonstrates several states rendered through a single instance:</p>
  48. <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>
  49. <h1 id="marchplans">March plans</h1>
  50. <p>I'm going to spend March to have a draft of the portable code in C++ for OpenWrt 12.09 (Atheros AR9331).</p>
  51. </div>
  52. </div>
  53. <div id="disqus_thread"></div>
  54. <script>
  55. var disqus_config = function () {
  56. this.page.url = "https://opengamestudio.org/en/news/bus-iOS.html";
  57. this.page.identifier = "bus-iOS.html";
  58. };
  59. (function() { // DON'T EDIT BELOW THIS LINE
  60. var d = document, s = d.createElement('script');
  61. s.src = 'https://opengamestudio.disqus.com/embed.js';
  62. s.setAttribute('data-timestamp', +new Date());
  63. (d.head || d.body).appendChild(s);
  64. })();
  65. </script>
  66. <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
  67. <div id="footer">
  68. The site has been generated by <a href="http://opengamestudio.org/pskov">PSKOV</a>
  69. from <a href="http://github.com/ogstudio/site-opengamestudio">this source code</a>.
  70. </div>
  71. </center>
  72. </body>
  73. </html>