- 4 Posts
- 6 Comments
BB_C@programming.devto
Programming@programming.dev•Reversing a string in Rust (for no reason)
171·3 months agoI gave this a quick look at 2X speed with a lot fast seeking, and my brain still hurts.
First of all, and concerning Rust, please familiarize yourself with the mem module and its functions at least. You didn’t even get near a situation where using
unsafe{}was actually required.Second of all, and concerning the task at hand itself, for someone who knew to make the distinction between bytes and chars, you should have known about grapheme clusters too. There are a lot of multi-char (not just multi-byte) graphemes out there. You can make a “Fun With Flags” 😉 segment to show that off (no attribution required). Just don’t do anything silly, and make sure to just utilize the unicode-segmentation crate.
BB_C@programming.devto
Programming@programming.dev•Jean-Baptiste Kempf - Kyber: a new approach for real-time video and controls streaming based on Quic - YouTube
3·7 months agoThis is cool and lies within my area of interests.
One thing that is not clear is if there will be a way to do playback outside of custom players. If a stream can’t be trivially grabbed, and/or played directly in mpv (via ffmpeg library support or otherwise), this won’t be very useful for me.
It would also be interesting to see how the video streams are encoded, if the GOP size is forced to 1 and it’s all intra frames or not, and if it’s not, how synchronization after recovery (where FEC is not enough) is done.
Hopefully this gets posted again when the code is released.
BB_C@programming.devOPto
Programming@programming.dev•koto v0.16.0 released (koto is a scripting programming language)
1·7 months agoGood thing we can edit titles here.
BB_C@programming.devOPto
Programming@programming.dev•Koto: a simple and expressive programming language, usable as an extension language for Rust applications, or as a standalone scripting language
0·1 year agoI can’t tell if we are miscommunicating here, or if my leg is being pulled.
You are not aware of staunchly anti-OOP (object oriented programming) people existing? Anti-OOP is a majority position now (always was in my circles). And the holdout proponents would usually only defend one (limited or revisionist) way of doing it, usually referring to some specific language implementation. Long gone is the quintessential list of OOP talking points presented in C++/Java classes in the 90’s.
For people new to this, a quick search should lead to an endless stream of results. I found this one immediately which looks decent and covers good ground.
BB_C@programming.devto
Programming@programming.dev•"Ladybird announcement" by Andreas Kling (from SerenityOS)
1·2 years agoI for one am happy we’re getting an alternative to the Chrome/Firefox duality we’re stuck with.
Anyone serious about that would be sending their money towards Servo, which resumed active development since the start of 2023, and is making good progress every month.
I would say nothing but “Good Luck” to other from-scratch efforts, but It’s hard not to see them as memes with small cultist followings living on hope and hype.
@[email protected]
fun with flags (run it)