The current state of project Loom in the JDK. Aka, user space threads, aka coroutines.
The Interruptible Programmer:
This describes me much more accurately than I’d like to admit.
I just spent the last few days optimizing some CUDA kernels to go super fast.
It's *so much* effort to worry about memory alignments, access patterns, getting the compiler to emit wide load instructions and other special things on the hot path, vector math, math intrinsics, register usage, warp schedulers, etc.
But it's also *super* rewarding to see the huge impact all that stuff has on performance. It feels like all that hard work pays off when your code literally gets 10x faster! =D
"Boy, when your I’m-outta-here essay goes viral, do you ever get a lot of input." - https://www.tbray.org/ongoing/When/202x/2020/05/06/Answers interesting follow-up by @timbray to his recent resignation blogpost
" I quit in dismay at Amazon firing whistleblowers who were making noise about warehouse employees frightened of Covid-19." - https://www.tbray.org/ongoing/When/202x/2020/04/29/Leaving-Amazon #kudos to @timbray “Never heard of the Streisand effect.” /cc @mmasick...
Tim Bray resigned from Amazon.
"Finally We May Have a Path to the Fundamental Theory of Physics… and It’s Beautiful":
Wow! I totally want one of these!
Some thoughts on #Kotlin https://softwaremaniacs.org/blog/2020/04/14/on-kotlin/en/
“ Build your own (insert technology here)“
This is the coolest thing I've seen in 3D printing in a while!
It's an automated filament splicing tool that sits inline with the stock. It lets you print in multiple colors/materials with just a single print head!
And here’s a good overview on the state of Project Panama, now called the Foreign Memory Access API, in Java 14. Courtesy of Ty Young.
I don’t immediately see why this is much better than ByteBuffers, but apparently it’s a stepping stone to better integration with C APIs. I’m all for better integration with C though. I use that all the time for GPGPU work on the JVM.
Here’s a nice summary from Azul Systems on what’s new in Java 14, which was just released a couple weeks ago.
Here’s a very thorough breakdown of an arbitrary form UI in intellij IDEA, and how to improve its visual consistency.
Is it just me, or does anyone else feel like this is the offspring of extreme OCD and bikeshedding?
I don’t really think the final version is much of an improvement, and feel like I’d rather spend that time fixing bugs or implementing new features than tweaking alignments and padding.
Entrepreneur, Developer, Scientist
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!