typ
04.10.2025 13:56 β π 1 π 0 π¬ 1 π 0@thalesfragoso.bsky.social
Encantador de areia e apreciador de structured concurrency.
typ
04.10.2025 13:56 β π 1 π 0 π¬ 1 π 0Natural languages are incredible informal and ambiguous.
30.09.2025 17:51 β π 0 π 0 π¬ 0 π 0From the people who brought you "Free Monads" comes a new challenge: Freer Monads.
29.09.2025 02:48 β π 1 π 0 π¬ 0 π 0Mutable alias with references is UB. It's basically the textbook use of unsafe.
22.09.2025 22:14 β π 0 π 0 π¬ 1 π 0Does it really need to be safe though?
I would rather have it marked unsafe with proper `Safety` comments than have it "safe, but not really".
Ok, you got me worried for a sec.
26.05.2025 20:09 β π 1 π 0 π¬ 0 π 0Did bluesky just pulled a link preview from your spelled-out url?
26.05.2025 20:04 β π 0 π 0 π¬ 1 π 0Who decides which parts are the goodies and which aren't?
17.05.2025 04:55 β π 1 π 0 π¬ 0 π 0As vezes faltam as metas concretas tambΓ©m.
16.05.2025 16:36 β π 1 π 0 π¬ 0 π 0I'm currently using choc sunsets, a bit more difficult to find but I'm really liking them.
16.05.2025 16:33 β π 2 π 0 π¬ 0 π 0Mas precisa disso tudo? A proteΓ§Γ£o vale pra criatura tambΓ©m? Minha interpretaΓ§Γ£o era que sΓ³ protege o jogador.
14.05.2025 16:49 β π 1 π 0 π¬ 1 π 0Can you give an example of the last sentence?
11.05.2025 16:30 β π 0 π 0 π¬ 1 π 0Pra deixar claro, interpretei "o mexe quase nada em documentaΓ§Γ£o" como mudanΓ§as pequenas/insignificantes na documentaΓ§Γ£o.
Mas agora nΓ£o tenho certeza se interpretei certo .-.
"LGTM, thanks." (Clicks merge).
Sou preguiΓ§oso, qualquer outra coisa seria esforΓ§o sem benefΓcio.
TambΓ©m comecei no Malboro depois de aprender python.
06.05.2025 00:19 β π 0 π 0 π¬ 0 π 0rustls already covers a good chunk of openssl use cases.
It doesn't do its own crypto however, but that isn't necessarily bad. People usually roll with assembly for that still anyways.
You might even be able to do with references and safe code, but the resulting type won't be very flexible to use, since it will be borrowed for the whole time it exists. You might be interested in reading:
doc.rust-lang.org/nomicon/drop...
You can do with raw pointers and care. Also, you probably want to pin `xs` before creating the pointers because a lot of methods in Vec can invalidate its original memory.
01.05.2025 20:09 β π 0 π 0 π¬ 1 π 0I use async even for stupid CLI tools. Easily selecting concurrency abstractions is a game changer.
28.04.2025 16:19 β π 1 π 0 π¬ 0 π 0Do you mean that they end up erasing the underlying type even if they don't need to?
24.04.2025 14:47 β π 0 π 0 π¬ 0 π 0@sseraphini.bsky.social isso Γ© verdade?
20.04.2025 14:02 β π 2 π 1 π¬ 0 π 0All is good until you accidentally convert a concrete error to an error interface.
14.04.2025 16:36 β π 1 π 0 π¬ 0 π 0In which way go is more type-safe than C#? Genuine question.
09.04.2025 20:50 β π 0 π 0 π¬ 0 π 0People say that allocations never fail on linux, and that it kills your process instead.
08.04.2025 23:56 β π 0 π 0 π¬ 1 π 0Weird question, but which OS?
08.04.2025 23:20 β π 0 π 0 π¬ 1 π 0Concordo com o conselho na situaΓ§Γ£o que foi dado.
Mas com o tempo Γ© sempre bom tentar achar um equilΓbrio.
"Na indΓΊstria" Γ© comum que o "sempre pode melhorar depois" seja uma grande ilusΓ£o.
"OO is about hardend boundaries, self containment, modeling the problem domain, &c."
That just sounds like any other abstraction. Can you be more precise on what OOP in specific brings to the table?
Just be careful to not accidentally convert the value to an error interface. That might take a bit to debug...
02.04.2025 19:54 β π 0 π 0 π¬ 0 π 0TΓ‘ com a mulesta.
02.04.2025 17:33 β π 0 π 0 π¬ 0 π 0An example would be using it with any type that might have padding.
My recommendation is to use crates that already have that thought out, like zerocopy or bytemuck.