Blog: https://rm4n0s.github.io/
Cross-compiling C and Go via cgo with Bazel
#golang
popovicu.com/posts/cross...
Cross-compiling C and Go via cgo with Bazel
#golang
popovicu.com/posts/cross...
Playground: go.dev/play/p/FThEw...
Mutability of the caller's data is soo important, which is why #rustlang has a `mut` keyword. Without it, and without interior mutability, you can't.
#footgun
Playground: go.dev/play/p/FThEw...
Mutability of the caller's data is soo important, which is why #rustlang has a `mut` keyword. Without it, and without interior mutability, you can't.
#footgun
Playground: go.dev/play/p/cw_HO...
Playground: go.dev/play/p/cw_HO...
Greg Kroah-Hartman pitching moving to #Rust programming language in the #Linux OS kernel.
I like that he highlights the benefits not for programming but for reviewing and maintaining the #opensource codebase.
@linuxfoundation.org @cncf.io #rustlang
Greg Kroah-Hartman pitching moving to #Rust programming language in the #Linux OS kernel.
I like that he highlights the benefits not for programming but for reviewing and maintaining the #opensource codebase.
@linuxfoundation.org @cncf.io #rustlang
For ex:
// after putting [from]
enum Function2Error{
Function1Error(#[from] Function1Error)
}
// then we can replace this line
let res = function1().map_err(Function2Error::Function1Error)
// with this line
let res = function1()?
For ex:
// after putting [from]
enum Function2Error{
Function1Error(#[from] Function1Error)
}
// then we can replace this line
let res = function1().map_err(Function2Error::Function1Error)
// with this line
let res = function1()?
The reason is that I don't have to use Tokio and the documentation + examples are very easy to understand.
ntex.rs
Now it is time to learn full-stack in #rustlang, like async/await, HTTP, DBs, frontend, websocket and WebRTC.
After small demos for each one of them, I will be able to work on an MVP project that will combined and designed with what I was promoting the last 3 months.
Now it is time to learn full-stack in #rustlang, like async/await, HTTP, DBs, frontend, websocket and WebRTC.
After small demos for each one of them, I will be able to work on an MVP project that will combined and designed with what I was promoting the last 3 months.
emschwartz.me/async-rust-c...
emschwartz.me/async-rust-c...
I didn't realize it before because no Rust documentation says that it has Discriminated Unions, and yet it has.
Its Discriminated Unions are its Enums.
Why the Rust's creator named it Enum, when OCaml and F# name it DU?
github.com/rm4n0s/error...
I didn't realize it before because no Rust documentation says that it has Discriminated Unions, and yet it has.
Its Discriminated Unions are its Enums.
Why the Rust's creator named it Enum, when OCaml and F# name it DU?
github.com/rm4n0s/error...
Here you have one: #csharp is a BRAIN SUCKER!
It requires thinking about things (here: specifying TPs) that a good language should already know - thus keeping me away from thinking of more important things and disrupting my flow (no, disruption isn't always good).
#fsharp
#fsharp