zhenboli, to rust

This article is amazing! While implementing a binary search may be considered elementary (Introduction to Algorithms Chapter 2), but writing a truly efficient and reliable one is challenging, especially when you factor in branch prediction.

This article nails it with a real-world example that kept me engaged from start to finish. Even though I have little experience on the topic, I thoroughly enjoyed reading it and learned a lot.

https://rustmagazine.org/issue-2/optimize-binary-search/

tek, to php

RT @phptek
Get ready for a unique and informative talk at 2023! @enunomaduro will be presenting "Rust For PHP Developers." Don't miss out – register now at https://tek.phparch.com

alexelcu, to rust
@alexelcu@social.alexn.org avatar

does many things right.

Underappreciated are the curly brackets for delimiting lexical blocks, and the semicolons required for separating statements. Others, like , might seem old-fashioned, yet here's a language from the 2010s adopting conservative syntax.

It removes confusion for the compiler, AND for people reading the code, being easy to type due to IDEs. Like in natural language, punctuation is not clutter.

givemefoxes, to rust

How's the development experience on Windows? It was too much trouble last time I tried years ago.

My ideal is the way golang is with a package in VSCode that installs all the tools you need.

jbzfn, to rust
@jbzfn@mastodon.social avatar

「 Microsoft is rewriting core Windows libraries in the Rust programming language, and the more memory-safe code is already reaching developers.

David "dwizzle" Weston, director of OS security for Windows, announced the arrival of Rust in the operating system's kernel at BlueHat IL 2023 in Tel Aviv, Israel, last month 」

— The Register

https://www.theregister.com/2023/04/27/microsoft_windows_rust/

janriemer, to rust

Obscure Rust: reborrowing is a half-baked feature - by Thoughts with wings (2022-06)

https://haibane-tenshi.github.io/rust-reborrowing/

daanderson, to rust

I’ve been watching out for languages that could encroach on JavaScript’s power domain (the browser) for awhile. Since Node, it’s been able to play on other language’s turf, but not the other way around.

The idea that could compete with on its home turf is one that I’ve watched carefully. The blocker seemed to be WASM bindings; that is, JS was still fastest at working the DOM.

That may no longer be the case.

https://joshmo.bearblog.dev/can-rust-beat-javascript-in-2023/

dc, to rust
@dc@social.advancedsoftware.engineering avatar

" is rewriting core libraries in the programming language, and the more memory-safe code is already reaching developers.
David 'dwizzle' Weston, director of OS security for Windows, announced the arrival of Rust in the operating system's kernel at BlueHat IL 2023 in Tel Aviv, Israel, last month."
https://www.theregister.com/2023/04/27/microsoft_windows_rust/

jtk, to rust
chrisg, to rust
@chrisg@fosstodon.org avatar

Today was my last day at Neo4j.

For now i will be focusing on my YT channel full time. I have many ideas for it and now that i'm free i can dedicate all my attention to showing the creative side of programming, just as i wish it had been shown to me.

I'll be doing more , hacking, NVMe and SSD work and, of course, animation and art for my videos. Who knows where it'll lead?

I'll be honored if you tag along with me on this adventure. I think we'll build some pretty things.

sonny, (edited ) to linux
@sonny@floss.social avatar

Snapshot, the new Camera (photo/video) app is available on Flathub 🎉 📷

It looks fantastic, here is a picture of Hermine sleeping next to my desk.

https://flathub.org/apps/org.gnome.Snapshot

Made by @maximiliano and @jamie . 🎩

appelgriebsch, to random
@appelgriebsch@fosstodon.org avatar

With more than 2 years working on this project.... and lot of learnings for deploying software on embedded devices.... happy to see it hitting various markets and getting adopted...
https://www.youtube.com/watch?v=KPjgOUcytCE

appelgriebsch,
@appelgriebsch@fosstodon.org avatar

@janriemer thanks 😊️. Indeed results can vary based on distance of rows and growth state of the crop, but field trials have shown promising results with up to 60% savings in herbicides. One technical aspect to note in addition: yes it runs on code 😉️

chrisg, to rust
@chrisg@fosstodon.org avatar

Last week i run a poll asking how comfortable people are with "?" in . That sent me down the rabbit hole of Try/FromResidual.

So, i made a video about it. If you want to understand exactly what "?" does to Result, or a practical example of how to use Try types, give this one a look:

https://www.youtube.com/watch?v=NSqN2r0h8DE

I had a lot of fun making this one, took some research and coding. I hope you'll enjoy it.

kirbylife, to rust Spanish
@kirbylife@mstdn.mx avatar
seanmonstar, to rust
@seanmonstar@masto.ai avatar

A report (COE) on hyper's surprise CVE a couple weeks ago: https://seanmonstar.com/post/715784167270596608/coe-surpise-hyper-cve

rml, to programming
@rml@functional.cafe avatar

"The focus of my research is applying , in particular , to low-level problems — the type of situations that usually call for or #c"

— highly recommended talk on programming with serialized data from @vollmerm @

https://www.twitch.tv/videos/1803057942

robinlovelace, to opensource
@robinlovelace@fosstodon.org avatar

Looks like a world first to me 🚀 New functionality developed as part of collaboration between @activetraveleng and @turinginst 🔥
contributions welcome 🙏👇

RT @CarlinoDustin
Introducing the world's first? open source tool to sketch areas bounded by streets! Give it a shot at https://dabreegster.github.io/route_snapper/ and feedback at https://github.com/dabreegster/route_snapper/issues

https://twitter.com/CarlinoDustin/status/1651555058897625088

video/mp4

haskman, to programming
@haskman@functional.cafe avatar

So I have a few thoughts on why Haskell is not more popular.

Haskell sort of dropped the ball by not being more user friendly. This is not about "keeping Haskell simple" - I like the fancy types and advanced features in Haskell and I wish it would get more such features - this is specifically about the community and the new user onboarding experience and how to fix it.

The problem is two fold -

1/n

https://functional.cafe/@haskman/110263531801953025

sco1, to programming

On today's internet exploration I came across a fun little Doom maps project with a very nice writeup. Poked around some of the other blog posts and I love the presentation style!

https://theor.xyz/doom-maps-laser-cut/

boilingsteam, to linux
@boilingsteam@mastodon.cloud avatar

Now for a different take on decentralization and mastodon: Mastodon Is Doomed: https://justingarrison.com/blog/2023-04-24-mastodon-is-doomed/

Revertron,
@Revertron@zhub.link avatar

@boilingsteam Yep, we need a good ActivityPub app written in , but not like lemmy.

chrisg, to programming
@chrisg@fosstodon.org avatar

I have picture lock 🙂

Editing timeline for the next video. Some clip names give up the topic i cover.

This one was heavy on research and i learned a bunch of stuff. I think it will be useful to many.

And yeah, it's all

sotolf, to programming

and has this thing in common, people excited about them manage to drag it in to every discussion, and will derail it to talk about their pet thing talking down at others and just kill the good discussion that was there.

aeveltstra, to programming
@aeveltstra@mastodon.social avatar

https://youtu.be/8T6ClX-y2AE to rewrite core libraries in .

imperio, to programming

I have some improvements and fixes for the sysinfo crate that I've been wanted to do for weeks but can't find the time for it... T_T

One of them I discovered thanks to @slomo is that some C functions could error with "EINTR", which means you should call it again and not return with an error. The more you know...

https://github.com/guillaumegomez/sysinfo

TehPenguin, to programming
@TehPenguin@hachyderm.io avatar

Are there any contributors/reviewers on here? I'm making some changes to improve Windows (CodeView) debug info and would love for someone to have a look. First change is here: https://reviews.llvm.org/D148761

TehPenguin,
@TehPenguin@hachyderm.io avatar

And the second change that adds CodeView debug info for jump tables: https://reviews.llvm.org/D149367/new/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • megavids
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • JUstTest
  • All magazines