Djam
Djam
@djams.bsky.social
moving pixels around, rarely publish things at djamshed.github.io
Reposted by Djam
Introducing Moonshine Web: real-time speech recognition running 100% locally in your browser!
🚀 Faster and more accurate than Whisper
🔒 Privacy-focused (no data leaves your device)
⚡️ WebGPU accelerated (w/ WASM fallback)
🔥 Powered by ONNX Runtime Web and Transformers.js

Demo + source code below! 👇
December 18, 2024 at 4:51 PM
Reposted by Djam
React v19 is now stable!

react.dev/blog/2024/12...
React v19 – React
The library for web and native user interfaces
react.dev
December 5, 2024 at 7:05 PM
Reposted by Djam
JetBrains just merged my contribution to the Kotlin standard library. It's a rewrite of String.toFloatOrNull() to eliminate all allocations (~940 per call!) and go 225x faster on a Pixel 6. If you want to see how it was done: github.com/JetBrains/ko...

tl;dr regex out, hand-written parser in
Optimize String.toFloatOrNull() by romainguy · Pull Request #5364 · JetBrains/kotlin
The existing implementation used a regular expression which caused memory allocations, which are expensive on mobile devices. In addition, a custom parser can outperform regular expressions. The ne...
github.com
November 22, 2024 at 6:06 PM