An exploration of Kotlin and coroutines to have a Spring reactive application written in direct style| iO tech_hub
This 2-part article is about going from a traditional MVC-style Spring Boot application written in Java to a modern, functional, reactive Spring Boot application using Kotlin and Coroutines.| iO tech_hub
You may know I’m a big fan of OpenTelemetry. I recently finished developing a master class for the YOW! conference at the end of the year. During development, I noticed massive differences in configuration and results across programming languages. Even worse, differences exist across frameworks inside the same programming language. In this post, I want to compare the different zero-code OpenTelemetry approaches on the JVM, covering the most widespread: Spring Boot with Micrometer Tracing| A Java geek
TLDR: godbolt links: Clang Gcc Intro If there is one thing that it’s easy to do with C style loops and not as easy with modern C++, it’s keeping the loop variable around while we are accessing the elements of a container. The C way, and arguably the best way, is the usual On the […]| ReachableCode
This is part five of a five part series on coroutines in C++.| The Hacks of Life
This is part for of a five part series on coroutines in C++.| The Hacks of Life
This is part three of a five part series on coroutines in C++.| The Hacks of Life
This is part two of a five part series on coroutines in C++.| The Hacks of Life
This is part one of a five part series on coroutines in C++.| The Hacks of Life
Learn some Kotlin basics and how to easily use coroutines to write parallelized code cleanly according to structured concurrency.| iO tech_hub
In my first blog post about C++20 Coroutines I introduced the concepts behind a synchronous or generator style coroutine and developed a template class to support coroutines for any data type. In this post I’ll add an iterator to the template to support the range-for loop and iterative algorithms. You may want to review that post before reading this one but the following code should act as a reminder about how to write and use a coroutine to read two floating [...]| Sticky Bits - Powered by Feabhas
Database calls, network calls, heavy-computing calls, all are such functions that pretty much every app...| Eric the Coder
In this blog post, I delve into the comparison of memory consumption between asynchronous and multi-threaded programming across popular languages like Rust, ...| pkolaczk.github.io
In this Jetpack Compose tutorial, you'll learn how to create an expandable list. It's the equivalent of the Expandable RecyclerView that we do in XML.| John Codeos
In RxJava, PublishSubject [http://reactivex.io/RxJava/3.x/javadoc/io/reactivex/rxjava3/subjects/PublishSubject.html] (or PublishRelay [https://github.com/JakeWharton/RxRelay] if you’re a cool kid) is a gizmo for manually pumping data into streams like in this contrived example: private val socketSubject = PublishSubject.create() fun| Dan Lew Codes
At Trello Android, we’ve been considering switching from RxJava to coroutines. We’ve already been using coroutines here and there, but it wasn’t something that we could consider replacing RxJava with until recently because of missing functionality. Now, with the addition of StateFlow and SharedFlow [https://blog.jetbrains.| Dan Lew Codes