Saturday 5 November 2022

Virtual threads in JVM vs FP, How to keep up with learning, Netflix likes FreeBSD

 I had a run through several conference talks quite recently and some of them could be interesting for you.


Virtual threads - while in Scala world we may be deep diving into the beauty of FP styles, Project FearLoom is making its way to prod in JVM, with JDK19 having it as a preview feature. You may start thinking about the need to unlearn current prod-quality coding approaches like thread pools and start questioning what is exactly the value of FP styles (there is still a lot of value - composability and avoiding race conditions), trying to be efficient with few valuable OS threads and event loops, like those in cats-effect IO, powering fs2, while you can be just completely inefficient with imperative style? https://devoxx.be/talk/?id=57405


What could be a next step in your career? How to keep up with the running technological landscape? Some nice hints and tips - https://devoxx.be/talk/?id=2252


For those who love to congest all available network capacity - FreeBSD could be your platform of choice and you probably have used it already it if you watched Netflix. It was also a platform of choice for me ~20 years ago for a very heavy-used ftp/http server, with non-blocking IO and traffic shaping to keep multiple connections alive and not overload uplink https://www.youtube.com/watch?v=36qZYL5RlgY Btw, who knows these days the feeling of dopamine when you discovered and logged in to some new public FTP server - that was like discovering an unknown cave system or a good restaurant with free tables on Friday evening, the true feeling of internet exploration.