#Zio

GripNewsGripNews
2025-10-27

🌘 我如何將 Zig 語言變成我撰寫網路程式的首選
➤ 從 Zig 的低階魅力到 Zio 的非同步飛躍:打造高效網路應用的開發者心路歷程
lalinsky.com/2025/10/26/zio-as
作者原先對 Zig 語言保持觀望,直到看到其創始人使用 Zig 重寫其演算法後引發興趣。作者決定利用重寫 AcoustID 索引專案的機會學習 Zig,並對其開發體驗讚譽有加,新版本在效能與擴展性上均超越 C++ 版本。然而,在為專案添加伺服器介面時,作者面臨挑戰,先前版本使用的 Qt 和 Go 在處理網路和並行方面較為便利。為瞭解決 Zig 在網路程式設計上的限制,作者大膽決定使用 Zig 實現叢集層,並編寫了 Zig 版的 NATS 客戶端,深入體驗了 Zig 的網路能力。基於這些經驗,作者推出了 Zio,一個為 Zig 設計的非同步 I/O 與並行處理函式庫,它模仿 Go 的風格,透過協程提供類似同步的編碼體驗,並在效能上展現出優異的表現,
IO 函式庫

2025-10-12

#SOTOHP home photo management software is almost ready after a long journey... Release 1.0 is available, will work on the packaging in the coming weeks. Thanks @adamwarski for #Tapir, my favorite way to provide API and @zioscala for #ZIO - github.com/dacr/sotohp

AstroMancer5G (she/her)AstroMancer5G@spore.social
2025-10-12

#TaylorSwift had so many obvious #RedFlags before the new #racist #album. But #Swifties dutifully ignored them all, just like they ignore her being a #billionaire, flying in a #PrivateJet, and supporting a #zio #cop for #president.

2025-09-30

i can't stand ZIO. i think this is the worst framework i worked with in my career. i just want to create an http route calling a simple function, and i have to dig into documentation like i'm learning a completely new language.
whoever thought this is a decent syntax is fucking delusional:
```
val admin =
Method.GET / "admin" / "users" -> handler { (_: Request) =>
Handler.fromZIO(ZIO.service[UserService]).flatMap { userService =>
Handler.fromZIO {
ZIO.serviceWithZIO[UserInfo] { info =>
if (info.roles.contains("admin")) userService.getUsers.map { users =>
val userList = users.map(u => s"${u.username} (${u.email}) - Role: ${u.roles}").mkString("\n")
Response.text(s"User List:\n$userList")
}
else
ZIO.fail(Response.unauthorized(s"Access denied. User ${info.username} is not an admin."))
}
} @@ jwtAuth(realm = "Admin Area")
}
}
```
#scala #zio #venting

2025-09-08

ZIO+Tapir+Quill combo template with CRUD operations, authentication, routing, pagination, monitoring and more. AKA type-safe, purely functional alternative to the Spring Boot ecosystem. #scala #zio github.com/softwaremill/realwo

Daniil Sivakseroperson
2025-09-03

To support the very first zio-http-pac4j release, I also wrote an article:

🔍 seroperson.me/2025/09/03/zio-h

It shows in details how to implement a JWT-based authorization for zio-http and also covers such features as token expiration, encryption, roles and custom payload.

Daniil Sivakseroperson
2025-08-31

I want to introduce to you my very recent library: zio-http wrapper for pac4j. pac4j is an easy and powerful security framework for authenticating users, getting their profiles, and managing authorizations to secure web applications and services.

There are wrappers for numerous frameworks and libraries, such as http4s, Play, Akka HTTP and Java-world frameworks. Now we also have an implementation for zio-http as well!

github.com/seroperson/zio-http

Wolfgang Stiefstiefkind
2025-08-17

In der zu Ende gehenden Woche habe ich mich musikalisch insbesondere mit dem Album »Flower Torania« der englischen Band Zio beschäftigt, erschienen 2020. Wird eingeordnet als Progrock, ich würde die meisten Teile in die Ecke "progressive Symphonic Rock" einsortieren, das Ende der Platte wird leider bisserl popmusikseicht.

Josep Bigorra (jjba23)jjba23
2025-07-21

Did some dependency updates to my for

codeberg.org/jjba23/zzspec

zzspec v1.0.12 is now available

easily perform unit, integration and black box tests, with some test too if needed

leveraging the expressive ZIO test framework and use helpers for and more

LaRampa.itlarampa
2025-04-19
2025-03-04

Как и почему эффекты помогают писать хороший код

В этой статье я рассказываю об эффектах. Несмотря на то, что эффект – понятие столь же простое, как обычная функция, для меня оказалось не так просто найти подходящее объяснение, но, я его нашел. Вы узнаете, в чем заключается идея использования эффектов и чем они отличаются от классических функций. Я делюсь своим опытом разработчика и показываю примеры кода с использованием эффектов. Вероятно вы найдете для себя что-то интересное. Если вы никогда не слышали об эффектах или термине "побочный эффект", рекомендую ознакомиться с этой темой для повышения вашего профессионального уровня и технического кругозора! Читать об эффектах

habr.com/ru/articles/882946/

#typescript #effect #type_safety #types #type #zio #functional_programming #object_oriented_programming #side_effects #function

2025-02-14

Almost done with converting a codebase from #Scala #ZIO 1 to ZIO 2. The ZIO part was not dramatic (and things are so much nicer now), but the changes in deriving the required typeclasses for the newer versions of zio-config and caliban are very painful.

This alone makes additionally upgrading the project to #Scala3 (with the new `derives` keyword) very appealing to me right now.

2024-12-31

Something interesting is happening in the zio ecosystem.
JdG contributed only one PR to zio core since november 2022 (on 27 December 2023, more than a year ago). And almost none in 2022 (github.com/zio/zio/commits?aut). He still review PR and comments through.
Adam Fraser went black in march 2024, and so the two historical tech leads were out.

In the last ~2 years, it looked like the framework was stalling and dying.

But in the last couple of months, new comiters emerged (kyri-petrou in particular).

Overall, I really hope that less jdg is a net positive and that some nice people can take over the framework over time.

#scala #zio

2024-12-20

Tuesday and Wednesday weren't fun with my first atrial fibrillation experience. Zero stars, would not recommend. I WOULD recommend the Samsung Watch... it identified what was going on. After 5 hours in the ER, I'm feeling better. I'll be wearing this heart monitor for 14 days, and I have more doctor appointments ahead, but I'm okay. Thank you to the doctors and nurses at St. Vincent's / Intermountain Health!

#Montana #Billings #heart #health #hearthealth #atrialfibrillation #Samsung #SamsungGalaxy #SamsungGalaxyWatch #Zio #heartmonitor #StVincents #hospital #ER #thankyou #thankful #grateful

2024-08-31

#Scala #ZIO also has .debug that you can add to any effect, printing the result value (or the error!) to the console (while still returning the original result). Very handy for quick troubleshooting sessions.

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst